{ "dataType": "CVE_RECORD", "cveMetadata": { "cveId": "CVE-2024-27043", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2024-02-19T14:20:24.212Z", "datePublished": "2024-05-01T12:54:11.197Z", "dateUpdated": "2026-08-05T11:29:10.999Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-08-05T11:29:10.999Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: edia: dvbdev: fix a use-after-free\n\nIn dvb_register_device, *pdvbdev is set equal to dvbdev, which is freed\nin several error-handling paths. However, *pdvbdev is not set to NULL\nafter dvbdev's deallocation, causing use-after-frees in many places,\nfor example, in the following call chain:\n\nbudget_register\n |-> dvb_dmxdev_init\n |-> dvb_register_device\n |-> dvb_dmxdev_release\n |-> dvb_unregister_device\n |-> dvb_remove_device\n |-> dvb_device_put\n |-> kref_put\n\nWhen calling dvb_unregister_device, dmxdev->dvbdev (i.e. *pdvbdev in\ndvb_register_device) could point to memory that had been freed in\ndvb_register_device. Thereafter, this pointer is transferred to\nkref_put and triggering a use-after-free." } ], "metrics": [ { "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH" }, "scenarios": [ { "lang": "en", "value": "AV:L - The vulnerable code is in dvb-core adapter registration, reached through local device probe/re-probe of a DVB adapter, with the error condition (kmalloc failure or DVB minor exhaustion) driven by a local unprivileged process inducing memory/resource pressure. No network or adjacent-network path exists, but the trigger does not require physical access on systems where a local user can force a re-probe of an already-present tuner.\nAC:L - There is no race the attacker must lose; the attacker controls both sides — memory pressure to force the GFP_KERNEL failure paths, and registration attempts to hit them, plus the deterministic MAX_DVB_MINORS exhaustion path under CONFIG_DVB_DYNAMIC_MINORS. Per the UAF guidance, a use-after-free with attacker-influenceable triggering conditions is Low.\nPR:L - A basic unprivileged local account suffices to generate the memory pressure that forces the error paths and to drive repeated registration attempts; no CAP_SYS_ADMIN or root in the init namespace is required to reach dvb-core's registration failure handling.\nUI:N - No victim action is needed — the attacker drives both the allocation failure and the device registration attempt themselves, and the stale pointer is consumed automatically by the driver's own error-unwind path.\nS:U - The corruption is confined to kernel heap and kernel static data within the same security authority; there is no VM, IOMMU, or sandbox boundary crossed.\nC:H - The dangling struct dvb_device is dereferenced after free (dmxdev->dvbdev->users, ->wait_queue, ->minor), so heap-spray reallocation of that slab object gives the attacker control over the freed contents and, via the list_del unlink and wait-queue callback primitives, a route to arbitrary kernel memory disclosure.\nI:H - The use-after-free yields multiple write primitives: list_del() on freed memory is a classic write-what-where unlink, dvb_minors[dvbdev->minor] = NULL writes at an attacker-chosen offset from a static array, and kref_put() double-frees the object — collectively sufficient for control-flow hijack and privilege escalation.\nA:H - Even without full exploitation, dereferencing and kfree()ing already-freed memory reliably produces slab corruption, a double free, and out-of-bounds writes, resulting in kernel oops or panic." } ] } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/media/dvb-core/dvbdev.c" ], "versions": [ { "version": "b61901024776b25ce7b8edc31bb1757c7382a88e", "lessThan": "d0f5c28333822f9baa5280d813124920720fd856", "status": "affected", "versionType": "git" }, { "version": "b61901024776b25ce7b8edc31bb1757c7382a88e", "lessThan": "f20c3270f3ed5aa6919a87e4de9bf6c05fb57086", "status": "affected", "versionType": "git" }, { "version": "b61901024776b25ce7b8edc31bb1757c7382a88e", "lessThan": "096237039d00c839f3e3a5fe6d001bf0db45b644", "status": "affected", "versionType": "git" }, { "version": "b61901024776b25ce7b8edc31bb1757c7382a88e", "lessThan": "0d3fe80b6d175c220b3e252efc6c6777e700e98e", "status": "affected", "versionType": "git" }, { "version": "b61901024776b25ce7b8edc31bb1757c7382a88e", "lessThan": "437a111f79a2f5b2a5f21e27fdec6f40c8768712", "status": "affected", "versionType": "git" }, { "version": "b61901024776b25ce7b8edc31bb1757c7382a88e", "lessThan": "779e8db7efb22316c8581d6c229636d2f5694a62", "status": "affected", "versionType": "git" }, { "version": "b61901024776b25ce7b8edc31bb1757c7382a88e", "lessThan": "35674111a043b0482a9bc69da8850a83f465b07d", "status": "affected", "versionType": "git" }, { "version": "b61901024776b25ce7b8edc31bb1757c7382a88e", "lessThan": "b7586e902128e4fb7bfbb661cb52e4215a65637b", "status": "affected", "versionType": "git" }, { "version": "b61901024776b25ce7b8edc31bb1757c7382a88e", "lessThan": "8c64f4cdf4e6cc5682c52523713af8c39c94e6d5", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/media/dvb-core/dvbdev.c" ], "versions": [ { "version": "2.6.21", "status": "affected" }, { "version": "0", "lessThan": "2.6.21", "status": "unaffected", "versionType": "semver" }, { "version": "4.19.311", "lessThanOrEqual": "4.19.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.4.273", "lessThanOrEqual": "5.4.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.10.214", "lessThanOrEqual": "5.10.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.15.153", "lessThanOrEqual": "5.15.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.1.83", "lessThanOrEqual": "6.1.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.6.23", "lessThanOrEqual": "6.6.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.7.11", "lessThanOrEqual": "6.7.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.8.2", "lessThanOrEqual": "6.8.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.9", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.6.21", "versionEndExcluding": "4.19.311" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.6.21", "versionEndExcluding": "5.4.273" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.6.21", "versionEndExcluding": "5.10.214" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.6.21", "versionEndExcluding": "5.15.153" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.6.21", "versionEndExcluding": "6.1.83" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.6.21", "versionEndExcluding": "6.6.23" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.6.21", "versionEndExcluding": "6.7.11" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.6.21", "versionEndExcluding": "6.8.2" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.6.21", "versionEndExcluding": "6.9" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/d0f5c28333822f9baa5280d813124920720fd856" }, { "url": "https://git.kernel.org/stable/c/f20c3270f3ed5aa6919a87e4de9bf6c05fb57086" }, { "url": "https://git.kernel.org/stable/c/096237039d00c839f3e3a5fe6d001bf0db45b644" }, { "url": "https://git.kernel.org/stable/c/0d3fe80b6d175c220b3e252efc6c6777e700e98e" }, { "url": "https://git.kernel.org/stable/c/437a111f79a2f5b2a5f21e27fdec6f40c8768712" }, { "url": "https://git.kernel.org/stable/c/779e8db7efb22316c8581d6c229636d2f5694a62" }, { "url": "https://git.kernel.org/stable/c/35674111a043b0482a9bc69da8850a83f465b07d" }, { "url": "https://git.kernel.org/stable/c/b7586e902128e4fb7bfbb661cb52e4215a65637b" }, { "url": "https://git.kernel.org/stable/c/8c64f4cdf4e6cc5682c52523713af8c39c94e6d5" } ], "title": "media: edia: dvbdev: fix a use-after-free", "x_generator": { "engine": "bippy-1.2.0" } }, "adp": [ { "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-02T00:21:05.899Z" }, "title": "CVE Program Container", "references": [ { "url": "https://git.kernel.org/stable/c/d0f5c28333822f9baa5280d813124920720fd856", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/f20c3270f3ed5aa6919a87e4de9bf6c05fb57086", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/096237039d00c839f3e3a5fe6d001bf0db45b644", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/0d3fe80b6d175c220b3e252efc6c6777e700e98e", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/437a111f79a2f5b2a5f21e27fdec6f40c8768712", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/779e8db7efb22316c8581d6c229636d2f5694a62", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/35674111a043b0482a9bc69da8850a83f465b07d", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/b7586e902128e4fb7bfbb661cb52e4215a65637b", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/8c64f4cdf4e6cc5682c52523713af8c39c94e6d5", "tags": [ "x_transferred" ] }, { "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html", "tags": [ "x_transferred" ] }, { "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html", "tags": [ "x_transferred" ] } ] }, { "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2024-08-15T19:22:34.576999Z", "id": "CVE-2024-27043", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2024-08-15T19:22:42.564Z" } } ] }, "dataVersion": "5.2" }