CVE-2022-49982
media: pvrusb2: fix memory leak in pvr_probe
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
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.
| Vendor | linux |
| Product | linux |
| Ecosystems | |
| Industries | Technology |
| Published | Jun 18, 2025 |
| Last Updated | May 11, 2026 |
Stay Ahead of the Next One
Get instant alerts for linux linux
Be the first to know when new unknown vulnerabilities affecting linux linux are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Linux / Linux
b72b7bf5cbb2ae77b3bf748456655fc284baf04c < 2fe46195d2f0d5d09ea65433aefe47a4d0d0ff4d b72b7bf5cbb2ae77b3bf748456655fc284baf04c < ba7dd8a9686a61a34b3a7b922ce721378d4740d0 b72b7bf5cbb2ae77b3bf748456655fc284baf04c < 491762b3250fb06a0c97b5198656ea48359eaeed b72b7bf5cbb2ae77b3bf748456655fc284baf04c < 466b67c0543b2ae67814d053f6e29b39be6b33bb b72b7bf5cbb2ae77b3bf748456655fc284baf04c < bacb37bdc2a21c8f7fdc83dcc0dea2f4ca1341fb b72b7bf5cbb2ae77b3bf748456655fc284baf04c < f2f6e67522916f53ad8ccd4dbe68dcf76e9776e5 b72b7bf5cbb2ae77b3bf748456655fc284baf04c < c02d2a91a85c4c4d05826cd1ea74a9b8d42e4280 b72b7bf5cbb2ae77b3bf748456655fc284baf04c < 945a9a8e448b65bec055d37eba58f711b39f66f0
Linux / Linux
2.6.30
References
git.kernel.org: https://git.kernel.org/stable/c/2fe46195d2f0d5d09ea65433aefe47a4d0d0ff4d git.kernel.org: https://git.kernel.org/stable/c/ba7dd8a9686a61a34b3a7b922ce721378d4740d0 git.kernel.org: https://git.kernel.org/stable/c/491762b3250fb06a0c97b5198656ea48359eaeed git.kernel.org: https://git.kernel.org/stable/c/466b67c0543b2ae67814d053f6e29b39be6b33bb git.kernel.org: https://git.kernel.org/stable/c/bacb37bdc2a21c8f7fdc83dcc0dea2f4ca1341fb git.kernel.org: https://git.kernel.org/stable/c/f2f6e67522916f53ad8ccd4dbe68dcf76e9776e5 git.kernel.org: https://git.kernel.org/stable/c/c02d2a91a85c4c4d05826cd1ea74a9b8d42e4280 git.kernel.org: https://git.kernel.org/stable/c/945a9a8e448b65bec055d37eba58f711b39f66f0