CVE-2022-49982 Details
Description
In the Linux kernel, the following vulnerability has been resolved: media: pvrusb2: fix memory leak in pvr_probe The error handling code in pvr2_hdw_create forgets to unregister the v4l2 device. When pvr2_hdw_create returns back to pvr2_context_create, it calls pvr2_context_destroy to destroy context, but mp->hdw is NULL, which leads to that pvr2_hdw_destroy directly returns. Fix this by adding v4l2_device_unregister to decrease the refcount of usb interface.
A memory leak vulnerability has been identified in the Linux kernel's pvrusb2 media driver. The issue arises in the error handling process of the pvr2_hdw_create function, which fails to unregister the v4l2 device. This oversight leads to a memory leak, as the reference count for the USB interface is not properly managed. The vulnerability has been addressed by adding a call to v4l2_device_unregister, ensuring that the reference count is correctly decreased.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/2fe46195d2f0d5d09ea65433aefe47a4d0d0ff4d | kernel.org | Patch |
| https://git.kernel.org/stable/c/466b67c0543b2ae67814d053f6e29b39be6b33bb | kernel.org | Patch |
| https://git.kernel.org/stable/c/491762b3250fb06a0c97b5198656ea48359eaeed | kernel.org | Patch |
| https://git.kernel.org/stable/c/945a9a8e448b65bec055d37eba58f711b39f66f0 | kernel.org | Patch |
| https://git.kernel.org/stable/c/ba7dd8a9686a61a34b3a7b922ce721378d4740d0 | kernel.org | Patch |
| https://git.kernel.org/stable/c/bacb37bdc2a21c8f7fdc83dcc0dea2f4ca1341fb | kernel.org | Patch |
| https://git.kernel.org/stable/c/c02d2a91a85c4c4d05826cd1ea74a9b8d42e4280 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f2f6e67522916f53ad8ccd4dbe68dcf76e9776e5 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | < 4.9.327 >= 4.10, < 4.14.292 >= 4.15, < 4.19.257 >= 4.20, < 5.4.212 >= 5.5, < 5.10.141 >= 5.11, < 5.15.65 >= 5.16, < 5.19.7 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 14, 2025 | Initial Analysis | [email protected] |
| Jun 18, 2025 | New CVE Received | kernel.org |