CVE-2022-50274

media: dvbdev: adopts refcnt to avoid UAF

HIGH
7.8
CVSS Score
Published: September 15, 2025 at 02:21 PM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.14.3032.6.12 ≤ v < 4.14.3032.6.12 ≤ v < 4.19.2702.6.12 ≤ v < 5.10.1632.6.12 ≤ v < 5.15.862.6.12 ≤ v < 5.4.2292.6.12 ≤ v < 6.0.162.6.12 ≤ v < 6.1.22.6.12 ≤ v < 6.24.15 ≤ v < 4.19.2704.20 ≤ v < 5.4.2295.11 ≤ v < 5.15.865.16 ≤ v < 6.0.165.5 ≤ v < 5.10.1636.1 ≤ v < 6.1.21da177e4c3f41524e886b7f1b8a0c1fc7321cac22.6.12
Vendor states this is fixed in 0fc044b2b5e2d05a1fa1fb0d7f270367a7855d79 (fixed)
Vendor states this is fixed in 219b44bf94203bd433aa91b7796475bf656348e5 (fixed)
Vendor states this is fixed in 2abd73433872194bccdf1432a0980e4ec5273c2a (fixed)
Vendor states this is fixed in 6d18b44bb44e1f4d97dfe0efe92ac0f0984739c2 (fixed)
Vendor states this is fixed in 88a6f8a72d167294c0931c7874941bf37a41b6dd (fixed)
Vendor states this is fixed in 9945d05d6693710574f354c5dbddc47f5101eb77 (fixed)
Vendor states this is fixed in a2f0a08aa613176c9688c81d7b598a7779974991 (fixed)
Vendor states this is fixed in ac521bbe3d00fa574e66a9361763f2b37725bc97 (fixed)
Vendor states this is fixed in 2.6.12 (unaffected)
Vendor states this is fixed in 4.14.303 (unaffected)
Vendor states this is fixed in 4.19.270 (unaffected)
Vendor states this is fixed in 5.10.163 (unaffected)
Vendor states this is fixed in 5.15.86 (unaffected)
Vendor states this is fixed in 5.4.229 (unaffected)
Vendor states this is fixed in 6.0.16 (unaffected)
Vendor states this is fixed in 6.1.2 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0fc044b2b5e2d05a1fa1fb0d7f270367a7855d79
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/219b44bf94203bd433aa91b7796475bf656348e5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2abd73433872194bccdf1432a0980e4ec5273c2a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6d18b44bb44e1f4d97dfe0efe92ac0f0984739c2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/88a6f8a72d167294c0931c7874941bf37a41b6dd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9945d05d6693710574f354c5dbddc47f5101eb77
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a2f0a08aa613176c9688c81d7b598a7779974991
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ac521bbe3d00fa574e66a9361763f2b37725bc97

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card