First published: Mon Feb 12 2024(Updated: )
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. References: <a href="https://groups.google.com/g/syzkaller/c/Xl97YcQA4hg">https://groups.google.com/g/syzkaller/c/Xl97YcQA4hg</a> <a href="https://www.spinics.net/lists/kernel/msg5074816.html">https://www.spinics.net/lists/kernel/msg5074816.html</a> Upstream patch: <a href="https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=68a24aba7c593eafa8fd00f2f76407b9b32b47a9">https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=68a24aba7c593eafa8fd00f2f76407b9b32b47a9</a>
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/kernel | <6.9 | 6.9 |
Linux Kernel | <=6.7.4 | |
debian/linux | 5.10.223-1 5.10.226-1 6.1.123-1 6.1.119-1 6.12.10-1 6.12.11-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-25739 has a moderate severity due to a potential system crash caused by zero-byte allocation.
To resolve CVE-2024-25739, upgrade to Linux kernel version 6.9 or apply the relevant patches for affected versions.
CVE-2024-25739 affects Linux kernel versions up to and including 6.7.4.
The issue in CVE-2024-25739 is caused by a missing check for the size of the logical erase block, leading to attempts to allocate zero bytes.
CVE-2024-25739 is not classified as critical but can lead to significant system instability if exploited.