# CVE-2022-50274: media: dvbdev: adopts refcnt to avoid UAF

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-09-15T14:21:10.383Z
- Modified: 2026-08-05T08:58:01.283Z
- Weaknesses: CWE-416
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before ac521bbe3d00fa574e66a9361763f2b37725bc97; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 219b44bf94203bd433aa91b7796475bf656348e5; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 6d18b44bb44e1f4d97dfe0efe92ac0f0984739c2; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2abd73433872194bccdf1432a0980e4ec5273c2a; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 88a6f8a72d167294c0931c7874941bf37a41b6dd; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a2f0a08aa613176c9688c81d7b598a7779974991; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 9945d05d6693710574f354c5dbddc47f5101eb77; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 0fc044b2b5e2d05a1fa1fb0d7f270367a7855d79; 2.6.12 (not affected: before 2.6.12; from 4.14.303 up to 4.14.*; from 4.19.270 up to 4.19.*; from 5.4.229 up to 5.4.*; from 5.10.163 up to 5.10.*; from 5.15.86 up to 5.15.*; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: before 4.14.303; from 4.15 before 4.19.270; from 4.20 before 5.4.229; from 5.5 before 5.10.163; from 5.11 before 5.15.86; from 5.16 before 6.0.16; from 6.1 before 6.1.2

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/ac521bbe3d00fa574e66a9361763f2b37725bc97> (patch)
- <https://git.kernel.org/stable/c/219b44bf94203bd433aa91b7796475bf656348e5> (patch)
- <https://git.kernel.org/stable/c/6d18b44bb44e1f4d97dfe0efe92ac0f0984739c2> (patch)
- <https://git.kernel.org/stable/c/2abd73433872194bccdf1432a0980e4ec5273c2a> (patch)
- <https://git.kernel.org/stable/c/88a6f8a72d167294c0931c7874941bf37a41b6dd> (patch)
- <https://git.kernel.org/stable/c/a2f0a08aa613176c9688c81d7b598a7779974991> (patch)
- <https://git.kernel.org/stable/c/9945d05d6693710574f354c5dbddc47f5101eb77> (patch)
- <https://git.kernel.org/stable/c/0fc044b2b5e2d05a1fa1fb0d7f270367a7855d79> (patch)

## Sources

- CVE List: [CVE-2022-50274](https://www.cve.org/CVERecord?id=CVE-2022-50274), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-50274](https://nvd.nist.gov/vuln/detail/CVE-2022-50274), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-50274 · Whole record: https://cve.day/CVE-2022-50274.json · Rebuilt by cve.day 2026-11-25T22:58:21.142Z
