CVE-2022-49982: media: pvrusb2: fix memory leak in pvr_probe
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.
Security readout for executives and security teams
Plain-English summary
This Linux kernel issue is a memory leak in the pvrusb2 media USB driver during device probing error handling. The provided sources do not show remote exploitation, active exploitation, CVSS scoring, or business-impact detail. Treat it as a kernel maintenance item for systems that may load this driver.
Executive priority
Handle through normal kernel patch management unless pvrusb2 is used on sensitive or highly available Linux systems. There is no source evidence of active exploitation or severe impact, but stale kernels should still be remediated.
Technical view
pvr2_hdw_create failed to unregister the v4l2 device on an error path. pvr2_context_destroy then returned early because mp->hdw was NULL, leaving the v4l2 device reference unreleased. Kernel stable commits add v4l2_device_unregister to reduce the USB interface reference count.
Likely exposure
Exposure appears limited to Linux systems with affected kernel versions where the pvrusb2 media USB driver can be loaded or used. The bundle lists Linux kernel versions from 2.6.30 through 6.0 as affected, with stable commit references for fixes.
Exploitation context
The supplied sources do not identify active exploitation, public exploit code, remote attack paths, required privileges, or practical impact beyond a memory leak. CISA KEV status is false in the bundle, so active exploitation should not be assumed.
Researcher notes
The record lacks CVSS, CWE, exploitability details, and distribution-specific package mapping. Analysis should focus on affected kernel lineage, pvrusb2 driver reachability, and whether vendor kernels have backported the v4l2_device_unregister fix.
Mitigation direction
Update to a Linux distribution kernel containing the referenced stable fix.
Prioritize affected systems that use USB media capture hardware or load pvrusb2.
Check your Linux vendor advisory for fixed package versions and backports.
Where unused, prevent pvrusb2 from loading only if vendor guidance permits.
Validation and detection
Inventory kernel versions across Linux assets.
Check whether the pvrusb2 module is present or loadable.
Confirm installed kernels include one of the referenced stable fixes or vendor backport.
Review vendor package changelogs for CVE-2022-49982 or the pvrusb2 fix.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2022-49982 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
0CVSS vectors
3Timeline events
0ADP providers
9Source links
Vulnerability timeline
Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.
CVE reservedCVE Program
The CVE ID was reserved by the assigning CNA.
CVE publishedCVE Program
The CVE record was published.
Jun 18, 2025, 11:00 UTC (UTC+00:00)
CVE updatedCVE Program
The CVE record metadata indicates this as the latest update time.