{"id":"CVE-2024-25739","title":"create_empty_lvol in drivers/mtd/ubi/vtbl.c in the Linux kernel through 6.7.4 can attempt to allocate zero bytes, and crash, because of a missing check for ubi->leb_size.","summary":"create_empty_lvol in drivers/mtd/ubi/vtbl.c in the Linux kernel through 6.7.4 can attempt to allocate zero bytes, and crash, because of a missing check for ubi->leb_size.","severity":"medium","cvss":5.5,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-754"],"vendor":"linux","product":"linux_kernel","affected":["linux_kernel <= 6.7.4"],"published":"2024-02-12","updated":"2026-10-15","sourceUpdated":"2026-10-15T01:17:20.543","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-25739","references":[{"url":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=68a24aba7c593eafa8fd00f2f76407b9b32b47a9","label":"cve@mitre.org"},{"url":"https://groups.google.com/g/syzkaller/c/Xl97YcQA4hg","label":"cve@mitre.org"},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","label":"cve@mitre.org"},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","label":"cve@mitre.org"},{"url":"https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/mtd/ubi/vtbl.c?h=v6.6.24&id=d1b505c988b7","label":"cve@mitre.org"},{"url":"https://www.spinics.net/lists/kernel/msg5074816.html","label":"cve@mitre.org"},{"url":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=68a24aba7c593eafa8fd00f2f76407b9b32b47a9","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://groups.google.com/g/syzkaller/c/Xl97YcQA4hg","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.spinics.net/lists/kernel/msg5074816.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","label":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"}],"tags":["nvd","cve.org"],"epss":0.00248,"epssPercentile":0.16013,"ingestedAt":"2026-10-15T03:30:12.639Z","ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-11-07T19:28:47.579694Z"},"slug":"CVE-2024-25739","body":"## Overview\n\ncreate_empty_lvol in drivers/mtd/ubi/vtbl.c in the Linux kernel through 6.7.4 can attempt to allocate zero bytes, and crash, because of a missing check for ubi->leb_size.\n\n## Affected\n\n- `linux_kernel <= 6.7.4`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":30.3,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}