Junglewise Threat Intelligence

CVE-2026-45915: Linux Kernel FAT file system link count underflow in rmdir

CVE-2026-45915 · Severity: info · Published 2026-05-27

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's handling of FAT file systems could allow a system crash or instability when processing corrupted storage media. By using a specially crafted or damaged FAT image, an attacker or a corrupted disk could trigger an internal error (underflow) when a directory is removed. This primarily impacts system availability and the reliability of data operations on affected drives.

Technical details

A vulnerability exists in the FAT file system implementation (msdos and vfat) of the Linux kernel where corrupted images can cause a directory inode to have an incorrect link count (i_nlink). When 'rmdir' is called, the kernel unconditionally decrements this count via 'drop_nlink()'. If the count is already low due to corruption, it can underflow to zero, triggering a kernel WARN_ON. The fix introduces a sanity check in 'vfat_rmdir()' and 'msdos_rmdir()' to ensure the parent link count is at least 3 before dropping it, otherwise reporting a filesystem error. This is primarily a local denial-of-service or stability issue reachable via malicious or corrupted FAT-formatted media.

Affected products

  • Linux Linux Kernel All versions prior to the 2026-01-26 fix (specifically affecting FAT/MSDOS/VFAT file systems)

Timeline

  • 2026-01-01: disclosed: Initial patch submission by Zhiyu Zhang
  • 2026-01-26: patched: Mainline kernel patch committed by Andrew Morton
  • 2026-05-27: advisory: CVE-2026-45915 published

References

Related threats