{"id":"CVE-2024-27043","published":"2024-05-01T12:54:11Z","modified":"2026-08-05T11:29:10Z","title":"media: edia: dvbdev: fix a use-after-free","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00294,"percentile":0.22508,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/d0f5c28333822f9baa5280d813124920720fd856","tags":[]},{"url":"https://git.kernel.org/stable/c/f20c3270f3ed5aa6919a87e4de9bf6c05fb57086","tags":[]},{"url":"https://git.kernel.org/stable/c/096237039d00c839f3e3a5fe6d001bf0db45b644","tags":[]},{"url":"https://git.kernel.org/stable/c/0d3fe80b6d175c220b3e252efc6c6777e700e98e","tags":[]},{"url":"https://git.kernel.org/stable/c/437a111f79a2f5b2a5f21e27fdec6f40c8768712","tags":[]},{"url":"https://git.kernel.org/stable/c/779e8db7efb22316c8581d6c229636d2f5694a62","tags":[]},{"url":"https://git.kernel.org/stable/c/35674111a043b0482a9bc69da8850a83f465b07d","tags":[]},{"url":"https://git.kernel.org/stable/c/b7586e902128e4fb7bfbb661cb52e4215a65637b","tags":[]},{"url":"https://git.kernel.org/stable/c/8c64f4cdf4e6cc5682c52523713af8c39c94e6d5","tags":[]},{"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"]}],"priority":{"score":10.0,"factors":[{"name":"EPSS percentile","points":4.5},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= b61901024776b25ce7b8edc31bb1757c7382a88e, < d0f5c28333822f9baa5280d813124920720fd856",">= b61901024776b25ce7b8edc31bb1757c7382a88e, < f20c3270f3ed5aa6919a87e4de9bf6c05fb57086",">= b61901024776b25ce7b8edc31bb1757c7382a88e, < 096237039d00c839f3e3a5fe6d001bf0db45b644",">= b61901024776b25ce7b8edc31bb1757c7382a88e, < 0d3fe80b6d175c220b3e252efc6c6777e700e98e",">= b61901024776b25ce7b8edc31bb1757c7382a88e, < 437a111f79a2f5b2a5f21e27fdec6f40c8768712",">= b61901024776b25ce7b8edc31bb1757c7382a88e, < 779e8db7efb22316c8581d6c229636d2f5694a62",">= b61901024776b25ce7b8edc31bb1757c7382a88e, < 35674111a043b0482a9bc69da8850a83f465b07d",">= b61901024776b25ce7b8edc31bb1757c7382a88e, < b7586e902128e4fb7bfbb661cb52e4215a65637b",">= b61901024776b25ce7b8edc31bb1757c7382a88e, < 8c64f4cdf4e6cc5682c52523713af8c39c94e6d5"]},{"vendor":"Linux","product":"Linux","versions":["2.6.21"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-15T19:22:34.576999Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-24305","exploited":false,"provenance":"source"}}