{"id":"CVE-2024-27043","summary":"media: edia: dvbdev: fix a use-after-free","details":"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  |-\u003e dvb_dmxdev_init\n        |-\u003e dvb_register_device\n  |-\u003e dvb_dmxdev_release\n        |-\u003e dvb_unregister_device\n              |-\u003e dvb_remove_device\n                    |-\u003e dvb_device_put\n                          |-\u003e kref_put\n\nWhen calling dvb_unregister_device, dmxdev-\u003edvbdev (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.","modified":"2026-04-02T10:06:54.756609Z","published":"2024-05-01T12:54:11.197Z","related":["ALSA-2024:10281","ALSA-2024:10282","SUSE-SU-2024:1641-1","SUSE-SU-2024:1642-1","SUSE-SU-2024:1643-1","SUSE-SU-2024:1644-1","SUSE-SU-2024:1645-1","SUSE-SU-2024:1646-1","SUSE-SU-2024:1647-1","SUSE-SU-2024:1650-1","SUSE-SU-2024:1659-1","SUSE-SU-2024:1663-1","SUSE-SU-2024:1669-1","SUSE-SU-2024:1870-1","SUSE-SU-2024:3983-1","SUSE-SU-2024:3984-1","SUSE-SU-2024:3985-1","SUSE-SU-2024:3986-1","SUSE-SU-2024:4038-1","SUSE-SU-2024:4081-1","SUSE-SU-2024:4082-1","SUSE-SU-2024:4100-1","SUSE-SU-2024:4103-1","SUSE-SU-2024:4131-1","SUSE-SU-2024:4140-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4364-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:0034-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27043.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/096237039d00c839f3e3a5fe6d001bf0db45b644"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0d3fe80b6d175c220b3e252efc6c6777e700e98e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/35674111a043b0482a9bc69da8850a83f465b07d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/437a111f79a2f5b2a5f21e27fdec6f40c8768712"},{"type":"WEB","url":"https://git.kernel.org/stable/c/779e8db7efb22316c8581d6c229636d2f5694a62"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8c64f4cdf4e6cc5682c52523713af8c39c94e6d5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b7586e902128e4fb7bfbb661cb52e4215a65637b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d0f5c28333822f9baa5280d813124920720fd856"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f20c3270f3ed5aa6919a87e4de9bf6c05fb57086"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27043.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27043"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b61901024776b25ce7b8edc31bb1757c7382a88e"},{"fixed":"d0f5c28333822f9baa5280d813124920720fd856"},{"fixed":"f20c3270f3ed5aa6919a87e4de9bf6c05fb57086"},{"fixed":"096237039d00c839f3e3a5fe6d001bf0db45b644"},{"fixed":"0d3fe80b6d175c220b3e252efc6c6777e700e98e"},{"fixed":"437a111f79a2f5b2a5f21e27fdec6f40c8768712"},{"fixed":"779e8db7efb22316c8581d6c229636d2f5694a62"},{"fixed":"35674111a043b0482a9bc69da8850a83f465b07d"},{"fixed":"b7586e902128e4fb7bfbb661cb52e4215a65637b"},{"fixed":"8c64f4cdf4e6cc5682c52523713af8c39c94e6d5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27043.json"}}],"schema_version":"1.7.5"}