{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-27043","id":"CVE-2024-27043","title":"media: edia: dvbdev: fix a use-after-free","description":"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_i","descriptionLong":"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.","published":"2024-05-01T12:54:11.197Z","updated":"2026-10-28T02:30:27.089405277Z","reserved":"2024-02-19T14:20:24.212Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","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"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","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"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/d0f5c28333822f9baa5280d813124920720fd856","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/f20c3270f3ed5aa6919a87e4de9bf6c05fb57086","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/096237039d00c839f3e3a5fe6d001bf0db45b644","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/0d3fe80b6d175c220b3e252efc6c6777e700e98e","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/437a111f79a2f5b2a5f21e27fdec6f40c8768712","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/779e8db7efb22316c8581d6c229636d2f5694a62","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/35674111a043b0482a9bc69da8850a83f465b07d","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/b7586e902128e4fb7bfbb661cb52e4215a65637b","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/8c64f4cdf4e6cc5682c52523713af8c39c94e6d5","tags":["x_transferred","Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["x_transferred","Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27043.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27043","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00294,"epssPercentile":0.22376,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-27043","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27043","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-27043","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-27043","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}