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. CREATE(Triage):(User=admin) CVE-2024-25739 (https://nvd.nist.gov/vuln/detail/CVE-2024-25739)