CVE-2022-50274

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-50274
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50274.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50274
Downstream
Published
2025-09-15T15:15:38Z
Modified
2025-09-15T20:01:26Z
Summary
[none]
Details

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

media: dvbdev: adopts refcnt to avoid UAF

dvbunregisterdevice() is known that prone to use-after-free. That is, the cleanup from dvbunregisterdevice() releases the dvbdevice even if there are pointers stored in file->privatedata 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.

References

Affected packages