CVE-2024-27043
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.8.2, 6.7.11, 6.6.23, 6.1.83, 5.15.153, 5.10.214, 5.4.273, 4.19.311 |
| Linux | Linux | f20c3270f3ed5aa6919a87e4de9bf6c05fb57086, d0f5c28333822f9baa5280d813124920720fd856, b7586e902128e4fb7bfbb661cb52e4215a65637b, 8c64f4cdf4e6cc5682c52523713af8c39c94e6d5, 779e8db7efb22316c8581d6c229636d2f5694a62, 437a111f79a2f5b2a5f21e27fdec6f40c8768712, 0d3fe80b6d175c220b3e252efc6c6777e700e98e, 096237039d00c839f3e3a5fe6d001bf0db45b644 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | b61901024776b25ce7b8edc31bb1757c7382a88e, b61901024776b25ce7b8edc31bb1757c7382a88e, b61901024776b25ce7b8edc31bb1757c7382a88e |
| Linux | Linux | 2.6.21, 0, 4.19.311 |
| Linux | Linux | 6.8.2, 4.19.311, 5.4.273 |
| linux | linux_kernel | 2.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