CVE-2022-50274 json
media: dvbdev: adopts refcnt to avoid UAF
published 2025-09-15 13 mo ago modified 2026-08-05 3 mo ago also EUVD-2022-55581
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 5%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 4.14.303, 4.19.270, 5.4.229, 5.10.163, 5.15.86, 6.0.16, 6.1.2, 6.2
- linux Debian 14, Debian 13, Debian 12 6.1.4-1
debian advisories DEBIAN-CVE-2022-50274
- linux Ubuntu 18.04 LTS 4.15.0-208.220
- linux Ubuntu 20.04 LTS 5.4.0-144.161
- linux Ubuntu 22.04 LTS 5.15.0-69.76
- linux-aws Ubuntu 18.04 LTS 4.15.0-1153.166
- linux-aws Ubuntu 20.04 LTS 5.4.0-1097.105
- linux-aws Ubuntu 22.04 LTS 5.15.0-1033.37
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1101.110
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1031.38
ubuntu advisories UBUNTU-CVE-2022-50274
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 8 4.18.0-553.el8_10
- perf RHEL 8 4.18.0-553.el8_10
- bpftool RHEL 8 4.18.0-553.el8_10
- kernel-core RHEL 8 4.18.0-553.el8_10
- kernel-tools RHEL 8 4.18.0-553.el8_10
- python3-perf RHEL 8 4.18.0-553.el8_10
- kernel-modules RHEL 8 4.18.0-553.el8_10
- kernel-zfcpdump RHEL 8 4.18.0-553.el8_10
red hat advisories RHSA-2024:3138RHSA-2023:7398
- kernel Rocky Linux 8 4.18.0-553.123.1.el8_10.cloud.0.1
rocky linux advisories RXSA-2024:3138
- git.kernel.org/stable/c/ac521bbe3d00fa574e66a9361763f2b37725bc97 commit
- git.kernel.org/stable/c/219b44bf94203bd433aa91b7796475bf656348e5 commit
- git.kernel.org/stable/c/6d18b44bb44e1f4d97dfe0efe92ac0f0984739c2 commit
- git.kernel.org/stable/c/2abd73433872194bccdf1432a0980e4ec5273c2a commit
- git.kernel.org/stable/c/88a6f8a72d167294c0931c7874941bf37a41b6dd commit
- git.kernel.org/stable/c/a2f0a08aa613176c9688c81d7b598a7779974991 commit
- git.kernel.org/stable/c/9945d05d6693710574f354c5dbddc47f5101eb77 commit
- git.kernel.org/stable/c/0fc044b2b5e2d05a1fa1fb0d7f270367a7855d79 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-50274 updated cvss 6.0
kernel: media: dvbdev: adopts refcnt to avoid UAF
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +6 moreaffected: no fix available “Fix deferred”
-
Red Hat CodeReady Linux Builder EUS (v.8.6) kernel-debuginfo-common-x86_64 4.18.0-372.80.1.el8_6, kernel-debuginfo-common-aarch64 4.18.0-372.80.1.el8_6, kernel-debuginfo-common-ppc64le 4.18.0-372.80.1.el8_6fixed: vendor fix RHSA-2023:7398
-
Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-553.el8_10, kernel 4.18.0-553.el8_10, bpftool 4.18.0-553.el8_10, kernel-core 4.18.0-553.el8_10, kernel-tools 4.18.0-553.el8_10, python3-perf 4.18.0-553.el8_10, +15 morefixed: vendor fix RHSA-2024:3138
-
Red Hat Enterprise Linux BaseOS EUS (v.8.6) perf 4.18.0-372.80.1.el8_6, kernel 4.18.0-372.80.1.el8_6, bpftool 4.18.0-372.80.1.el8_6, kernel-core 4.18.0-372.80.1.el8_6, kernel-tools 4.18.0-372.80.1.el8_6, python3-perf 4.18.0-372.80.1.el8_6, +15 morefixed: vendor fix RHSA-2023:7398
-
Red Hat Enterprise Linux CRB (v. 8) kernel-debuginfo-common-x86_64 4.18.0-553.el8_10, kernel-debuginfo-common-aarch64 4.18.0-553.el8_10, kernel-debuginfo-common-ppc64le 4.18.0-553.el8_10fixed: vendor fix RHSA-2024:3138
-
Red Hat Virtualization 4 Hypervisor for RHEL 8 perf 4.18.0-372.80.1.el8_6, kernel-debuginfo-common-x86_64 4.18.0-372.80.1.el8_6fixed: vendor fix RHSA-2023:7398
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.16% chance of exploitation in the next 30 days, higher than 5% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
-
git.kernel.org
/stable/c/ac521bbe3d00fa574e66a9361763f2b37725bc97
patch
-
git.kernel.org
/stable/c/219b44bf94203bd433aa91b7796475bf656348e5
patch
-
git.kernel.org
/stable/c/6d18b44bb44e1f4d97dfe0efe92ac0f0984739c2
patch
-
git.kernel.org
/stable/c/2abd73433872194bccdf1432a0980e4ec5273c2a
patch
-
git.kernel.org
/stable/c/88a6f8a72d167294c0931c7874941bf37a41b6dd
patch
-
git.kernel.org
/stable/c/a2f0a08aa613176c9688c81d7b598a7779974991
patch
-
git.kernel.org
/stable/c/9945d05d6693710574f354c5dbddc47f5101eb77
patch
-
git.kernel.org
/stable/c/0fc044b2b5e2d05a1fa1fb0d7f270367a7855d79
patch
Sources
- CVE List CVE-2022-50274
- NVD CVE-2022-50274
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.