CVE-2024-25739
kernel: crash due to a missing check for leb_size
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 12, 2024
Updated · October 29, 2026
Description
A flaw was found in the Linux kernel. The create_empty_lvol function in the drivers/mtd/ubi/vtbl.c file can attempt to allocate zero bytes of memory when the LEB size is smaller than a single volume table record. This issue can result in a denial of service.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-754 · Improper Check for Unusual or Exceptional Conditions