CVE-2024-25739
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-25739 affects the Linux kernel through version 6.7.4. The vulnerability exists in the create_empty_lvol function within drivers/mtd/ubi/vtbl.c, where a missing check for ubi->leb_size can lead to an attempt to allocate zero bytes, resulting in a system crash (NVD, CVE).

Technical details

The vulnerability occurs in the Unsorted Block Images (UBI) flash device volume management subsystem. The issue arises when the Logical Erase Block (LEB) size is smaller than a volume table record, causing the create_empty_lvol function to attempt a zero-byte allocation. This vulnerability has been assigned a CVSS v3.1 Base Score of 5.5 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When exploited, this vulnerability can cause a system crash due to the attempted zero-byte allocation, resulting in a denial of service condition. The impact is limited to availability, with no direct effects on confidentiality or integrity (Ubuntu).

Exploitability

The vulnerability requires local access and can be triggered through the /dev/ubi_ctrl driver using IOCTL with the command value UBI_IOCATT. The size allocated can be manipulated through the ubi_attach_req argument by altering the vid_hdr_offset and max_beb_per1024 fields (Syzkaller).

Mitigation and workarounds

The vulnerability has been fixed in the Linux kernel with commit 68a24aba7c593eafa8fd00f2f76407b9b32b47a9, which adds a check for LEB size in the VTBL code. The patch ensures that if the LEB size is smaller than a volume table record, the system will abort attaching instead of attempting a zero-byte allocation (Kernel Commit).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-68454HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-aws-6.17
NoYesAug 13, 2026
CVE-2026-68452HIGH7.8
  • Linux Kernel logoLinux Kernel
  • kernel-modules-core
NoYesAug 13, 2026
CVE-2026-68451HIGH7.8
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-modules-partner
NoYesAug 13, 2026
CVE-2026-68453HIGH7.1
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-extra
NoYesAug 13, 2026
CVE-2026-68450NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-core
NoYesAug 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management