VDB

CVE-2024-27043

CVE-2024-27043 PUBLISHED CVSS 7.8 HIGH

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

Reported by linux · Published May 1, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.8.2, 6.7.11, 6.6.23, 6.1.83, 5.15.153, 5.10.214, 5.4.273, 4.19.311
LinuxLinuxf20c3270f3ed5aa6919a87e4de9bf6c05fb57086, d0f5c28333822f9baa5280d813124920720fd856, b7586e902128e4fb7bfbb661cb52e4215a65637b, 8c64f4cdf4e6cc5682c52523713af8c39c94e6d5, 779e8db7efb22316c8581d6c229636d2f5694a62, 437a111f79a2f5b2a5f21e27fdec6f40c8768712, 0d3fe80b6d175c220b3e252efc6c6777e700e98e, 096237039d00c839f3e3a5fe6d001bf0db45b644

Risk scores

CVSS 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

VendorProductVersions
LinuxLinuxb61901024776b25ce7b8edc31bb1757c7382a88e, b61901024776b25ce7b8edc31bb1757c7382a88e, b61901024776b25ce7b8edc31bb1757c7382a88e
LinuxLinux2.6.21, 0, 4.19.311
LinuxLinux6.8.2, 4.19.311, 5.4.273
linuxlinux_kernel2.6.21, 2.6.21, 2.6.21

Timeline

  • May 1, 2024 CVE Published
  • May 2, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (25 in total, the first dated here)
  • Jan 15, 2026 Security Advisory (319 in total, the first dated here)
  • Jan 15, 2026 CVE Updated
  • Mar 30, 2026 Distribution Patch (281 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-27043
vulnetix vdb fixes CVE-2024-27043

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-27043/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›