CVE-2022-49982

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49982
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49982.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49982
Downstream
Related
Published
2025-06-18T11:15:25Z
Modified
2025-08-09T20:01:25Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

media: pvrusb2: fix memory leak in pvr_probe

The error handling code in pvr2hdwcreate forgets to unregister the v4l2 device. When pvr2hdwcreate returns back to pvr2contextcreate, it calls pvr2contextdestroy to destroy context, but mp->hdw is NULL, which leads to that pvr2hdwdestroy directly returns.

Fix this by adding v4l2deviceunregister to decrease the refcount of usb interface.

References

Affected packages