CVE-2024-27043 json
media: edia: dvbdev: fix a use-after-free
published 2024-05-01 2 y ago modified 2026-08-05 3 mo ago also EUVD-2024-24305
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 22%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 4.19.311, 5.4.273, 5.10.214, 5.15.153, 6.1.83, 6.6.23, 6.7.11, 6.8.2, 6.9
- linux Debian 12 6.1.85-1
- linux Debian 14, Debian 13 6.7.12-1
debian advisories DEBIAN-CVE-2024-27043
- linux Ubuntu 20.04 LTS 5.4.0-189.209
- linux Ubuntu 22.04 LTS 5.15.0-112.122
- linux Ubuntu 24.04 LTS 6.8.0-35.35
- linux-aws Ubuntu 20.04 LTS 5.4.0-1128.138
- linux-aws Ubuntu 22.04 LTS 5.15.0-1063.69
- linux-aws Ubuntu 24.04 LTS 6.8.0-1009.9
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1132.141
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1062.70
ubuntu advisories UBUNTU-CVE-2024-27043
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
- perf RHEL 8 4.18.0-553.30.1.el8_10
- kernel RHEL 8 4.18.0-553.30.1.el8_10
- bpftool RHEL 8 4.18.0-553.30.1.el8_10
- kernel-core RHEL 8 4.18.0-553.30.1.el8_10
- kernel-tools RHEL 8 4.18.0-553.30.1.el8_10
- python3-perf RHEL 8 4.18.0-553.30.1.el8_10
- kernel-modules RHEL 8 4.18.0-553.30.1.el8_10
- kernel-zfcpdump RHEL 8 4.18.0-553.30.1.el8_10
red hat advisories RHSA-2024:10281RHSA-2024:10282
- kernel-source Linux Micro 6.1, Linux Micro 6.0 6.4.0-24.1
- kernel-default Linux Micro 6.1, Linux Micro 6.0 6.4.0-24.1
- kernel-kvmsmall Linux Micro 6.1, Linux Micro 6.0 6.4.0-24.1
- kernel-default-base Linux Micro 6.1, Linux Micro 6.0 6.4.0-24.1.21.4
- kernel-livepatch-MICRO-6-0_Update_4 Linux Micro 6.1, Linux Micro 6.0 1-1.2
- kernel-rt Linux Micro 6.1, Linux Micro 6.0 6.4.0-22.1
- kernel-source-rt Linux Micro 6.1, Linux Micro 6.0 6.4.0-22.1
- kernel-livepatch-MICRO-6-0-RT_Update_4 Linux Micro 6.1, Linux Micro 6.0 1-1.1
suse advisories SUSE-SU-2025:20164-1SUSE-SU-2025:20247-1SUSE-SU-2025:20163-1SUSE-SU-2025:20246-1SUSE-SU-2025:20028-1SUSE-SU-2025:20008-1
- perf AlmaLinux 8 4.18.0-553.30.1.el8_10
- kernel AlmaLinux 8 4.18.0-553.30.1.el8_10
- bpftool AlmaLinux 8 4.18.0-553.30.1.el8_10
- kernel-core AlmaLinux 8 4.18.0-553.30.1.el8_10
- kernel-tools AlmaLinux 8 4.18.0-553.30.1.el8_10
- python3-perf AlmaLinux 8 4.18.0-553.30.1.el8_10
- kernel-modules AlmaLinux 8 4.18.0-553.30.1.el8_10
- kernel-zfcpdump AlmaLinux 8 4.18.0-553.30.1.el8_10
almalinux advisories ALSA-2024:10281ALSA-2024:10282
- kernel-rt Rocky Linux 8 4.18.0-553.30.1.rt7.371.el8_10
- kernel Rocky Linux 8 4.18.0-553.30.1.el8_10
rocky linux advisories RLSA-2024:10282RLSA-2024:10281
- git.kernel.org/stable/c/d0f5c28333822f9baa5280d813124920720fd856 commit
- git.kernel.org/stable/c/f20c3270f3ed5aa6919a87e4de9bf6c05fb57086 commit
- git.kernel.org/stable/c/096237039d00c839f3e3a5fe6d001bf0db45b644 commit
- git.kernel.org/stable/c/0d3fe80b6d175c220b3e252efc6c6777e700e98e commit
- git.kernel.org/stable/c/437a111f79a2f5b2a5f21e27fdec6f40c8768712 commit
- git.kernel.org/stable/c/779e8db7efb22316c8581d6c229636d2f5694a62 commit
- git.kernel.org/stable/c/35674111a043b0482a9bc69da8850a83f465b07d commit
- git.kernel.org/stable/c/b7586e902128e4fb7bfbb661cb52e4215a65637b commit
- git.kernel.org/stable/c/8c64f4cdf4e6cc5682c52523713af8c39c94e6d5 commit
- lists.debian.org/debian-lts-announce/2024/06/msg00017.html patch
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-2024-27043 updated cvss 5.2
kernel: media: edia: dvbdev: fix a use-after-free
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-553.30.1.el8_10, kernel 4.18.0-553.30.1.el8_10, bpftool 4.18.0-553.30.1.el8_10, kernel-core 4.18.0-553.30.1.el8_10, kernel-tools 4.18.0-553.30.1.el8_10, python3-perf 4.18.0-553.30.1.el8_10, +15 more Red Hat Enterprise Linux CRB (v. 8) kernel-debuginfo-common-x86_64 4.18.0-553.30.1.el8_10, kernel-debuginfo-common-aarch64 4.18.0-553.30.1.el8_10, kernel-debuginfo-common-ppc64le 4.18.0-553.30.1.el8_10fixed: vendor fix RHSA-2024:10281
-
Red Hat Enterprise Linux NFV (v. 8) kernel-rt 4.18.0-553.30.1.rt7.371.el8_10, kernel-rt-kvm 4.18.0-553.30.1.rt7.371.el8_10, kernel-rt-core 4.18.0-553.30.1.rt7.371.el8_10, kernel-rt-modules 4.18.0-553.30.1.rt7.371.el8_10, kernel-rt-debug-kvm 4.18.0-553.30.1.rt7.371.el8_10, kernel-rt-debug-core 4.18.0-553.30.1.rt7.371.el8_10, +4 more Red Hat Enterprise Linux RT (v. 8) kernel-rt 4.18.0-553.30.1.rt7.371.el8_10, kernel-rt-core 4.18.0-553.30.1.rt7.371.el8_10, kernel-rt-modules 4.18.0-553.30.1.rt7.371.el8_10, kernel-rt-debug-core 4.18.0-553.30.1.rt7.371.el8_10, kernel-rt-debug-modules 4.18.0-553.30.1.rt7.371.el8_10, kernel-rt-modules-extra 4.18.0-553.30.1.rt7.371.el8_10, +2 morefixed: vendor fix RHSA-2024:10282
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot 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
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.29% chance of exploitation in the next 30 days, higher than 22% 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/d0f5c28333822f9baa5280d813124920720fd856
patch
-
git.kernel.org
/stable/c/f20c3270f3ed5aa6919a87e4de9bf6c05fb57086
patch
-
git.kernel.org
/stable/c/096237039d00c839f3e3a5fe6d001bf0db45b644
patch
-
git.kernel.org
/stable/c/0d3fe80b6d175c220b3e252efc6c6777e700e98e
patch
-
git.kernel.org
/stable/c/437a111f79a2f5b2a5f21e27fdec6f40c8768712
patch
-
git.kernel.org
/stable/c/779e8db7efb22316c8581d6c229636d2f5694a62
patch
-
git.kernel.org
/stable/c/35674111a043b0482a9bc69da8850a83f465b07d
patch
-
git.kernel.org
/stable/c/b7586e902128e4fb7bfbb661cb52e4215a65637b
patch
-
git.kernel.org
/stable/c/8c64f4cdf4e6cc5682c52523713af8c39c94e6d5
patch
-
lists.debian.org
/debian-lts-announce/2024/06/msg00017.html
patch
-
lists.debian.org
/debian-lts-announce/2024/06/msg00020.html
patch
Sources
- CVE List CVE-2024-27043
- NVD CVE-2024-27043
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.