CVE-2024-27043

media: edia: dvbdev: fix a use-after-free

HIGH
7.8
CVSS Score
Published: May 1, 2024 at 12:54 PM UTC
Updated: August 5, 2026 at 12:04 PM 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.3%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: media: edia: dvbdev: fix a use-after-free In dvb_register_device, *pdvbdev is set equal to dvbdev, which is freed in several error-handling paths. However, *pdvbdev is not set to NULL after dvbdev's deallocation, causing use-after-frees in many places, for example, in the following call chain: budget_register |-> dvb_dmxdev_init |-> dvb_register_device |-> dvb_dmxdev_release |-> dvb_unregister_device |-> dvb_remove_device |-> dvb_device_put |-> kref_put When calling dvb_unregister_device, dmxdev->dvbdev (i.e. *pdvbdev in dvb_register_device) could point to memory that had been freed in dvb_register_device. Thereafter, this pointer is transferred to kref_put and triggering a use-after-free.

Affected

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

2.6.21 ≤ v < 4.19.3112.6.21 ≤ v < 5.10.2142.6.21 ≤ v < 5.15.1532.6.21 ≤ v < 5.4.2732.6.21 ≤ v < 6.1.832.6.21 ≤ v < 6.6.232.6.21 ≤ v < 6.7.112.6.21 ≤ v < 6.8.22.6.21 ≤ v < 6.94.20 ≤ v < 5.4.2735.11 ≤ v < 5.15.1535.16 ≤ v < 6.1.835.5 ≤ v < 5.10.2146.2 ≤ v < 6.6.236.7 ≤ v < 6.7.116.8 ≤ v < 6.8.22.6.21b61901024776b25ce7b8edc31bb1757c7382a88e
Vendor states this is fixed in 096237039d00c839f3e3a5fe6d001bf0db45b644 (fixed)
Vendor states this is fixed in 0d3fe80b6d175c220b3e252efc6c6777e700e98e (fixed)
Vendor states this is fixed in 35674111a043b0482a9bc69da8850a83f465b07d (fixed)
Vendor states this is fixed in 437a111f79a2f5b2a5f21e27fdec6f40c8768712 (fixed)
Vendor states this is fixed in 779e8db7efb22316c8581d6c229636d2f5694a62 (fixed)
Vendor states this is fixed in 8c64f4cdf4e6cc5682c52523713af8c39c94e6d5 (fixed)
Vendor states this is fixed in b7586e902128e4fb7bfbb661cb52e4215a65637b (fixed)
Vendor states this is fixed in d0f5c28333822f9baa5280d813124920720fd856 (fixed)
Vendor states this is fixed in f20c3270f3ed5aa6919a87e4de9bf6c05fb57086 (fixed)
Vendor states this is fixed in 2.6.21 (unaffected)
Vendor states this is fixed in 4.19.311 (unaffected)
Vendor states this is fixed in 5.10.214 (unaffected)
Vendor states this is fixed in 5.15.153 (unaffected)
Vendor states this is fixed in 5.4.273 (unaffected)
Vendor states this is fixed in 6.1.83 (unaffected)
Vendor states this is fixed in 6.6.23 (unaffected)
Vendor states this is fixed in 6.7.11 (unaffected)
Vendor states this is fixed in 6.8.2 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/096237039d00c839f3e3a5fe6d001bf0db45b644
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0d3fe80b6d175c220b3e252efc6c6777e700e98e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/35674111a043b0482a9bc69da8850a83f465b07d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/437a111f79a2f5b2a5f21e27fdec6f40c8768712
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/779e8db7efb22316c8581d6c229636d2f5694a62
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8c64f4cdf4e6cc5682c52523713af8c39c94e6d5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b7586e902128e4fb7bfbb661cb52e4215a65637b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d0f5c28333822f9baa5280d813124920720fd856

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

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