CVE-2022-50274 Details
Description
In the Linux kernel, the following vulnerability has been resolved: media: dvbdev: adopts refcnt to avoid UAF dvb_unregister_device() is known that prone to use-after-free. That is, the cleanup from dvb_unregister_device() releases the dvb_device even if there are pointers stored in file->private_data still refer to it. This patch adds a reference counter into struct dvb_device and delays its deallocation until no pointer refers to the object.
A use-after-free vulnerability has been identified in the Linux kernel's DVB (Digital Video Broadcasting) device management. The issue arises in the 'dvb_unregister_device()' function, which releases the 'dvb_device' object even when there are still active references to it in 'file->private_data'. This patch addresses the vulnerability by introducing a reference counter in the 'dvb_device' structure, ensuring that the device is not deallocated until all references have been cleared. The vulnerability affects several versions of the Linux kernel.
Users can apply the patch included in the upstream commit '0fc044b2b5e2d05a1fa1fb0d7f270367a7855d79' to address this vulnerability.
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/0fc044b2b5e2d05a1fa1fb0d7f270367a7855d79 | kernel.org | Patch |
| https://git.kernel.org/stable/c/219b44bf94203bd433aa91b7796475bf656348e5 | kernel.org | Patch |
| https://git.kernel.org/stable/c/2abd73433872194bccdf1432a0980e4ec5273c2a | kernel.org | Patch |
| https://git.kernel.org/stable/c/6d18b44bb44e1f4d97dfe0efe92ac0f0984739c2 | kernel.org | Patch |
| https://git.kernel.org/stable/c/88a6f8a72d167294c0931c7874941bf37a41b6dd | kernel.org | Patch |
| https://git.kernel.org/stable/c/9945d05d6693710574f354c5dbddc47f5101eb77 | kernel.org | Patch |
| https://git.kernel.org/stable/c/a2f0a08aa613176c9688c81d7b598a7779974991 | kernel.org | Patch |
| https://git.kernel.org/stable/c/ac521bbe3d00fa574e66a9361763f2b37725bc97 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | < 4.14.303 >= 4.15, < 4.19.270 >= 4.20, < 5.4.229 >= 5.5, < 5.10.163 >= 5.11, < 5.15.86 >= 5.16, < 6.0.16 >= 6.1, < 6.1.2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 3, 2025 | Initial Analysis | [email protected] |
| Sep 15, 2025 | New CVE Received | kernel.org |