CVE-2026-45915

fat: avoid parent link count underflow in rmdir

MEDIUM
5.5
CVSS Score
Published: May 27, 2026 at 12:17 PM UTC
Updated: June 27, 2026 at 11:41 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: fat: avoid parent link count underflow in rmdir Corrupted FAT images can leave a directory inode with an incorrect i_nlink (e.g. 2 even though subdirectories exist). rmdir then unconditionally calls drop_nlink(dir) and can drive i_nlink to 0, triggering the WARN_ON in drop_nlink(). Add a sanity check in vfat_rmdir() and msdos_rmdir(): only drop the parent link count when it is at least 3, otherwise report a filesystem error.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.19 ≤ v < 5.10.2522.6.19 ≤ v < 5.15.2022.6.19 ≤ v < 6.1.1652.6.19 ≤ v < 6.12.752.6.19 ≤ v < 6.18.142.6.19 ≤ v < 6.19.42.6.19 ≤ v < 6.6.1282.6.19 ≤ v < 7.05.11 ≤ v < 5.15.2025.16 ≤ v < 6.1.1656.13 ≤ v < 6.18.146.19 ≤ v < 6.19.46.2 ≤ v < 6.6.1286.7 ≤ v < 6.12.752.6.199a53c3a783c2fa9b969628e65695c11c3e51e673
Vendor states this is fixed in 17866f8a0822d414cb02e621cf003a7d04396ef8 (fixed)
Vendor states this is fixed in 7fe0de287e931e07cb96ecf1f449b2ebdb0e1115 (fixed)
Vendor states this is fixed in 8cafcb881364af5ef3a8b9fed4db254054033d8a (fixed)
Vendor states this is fixed in 955c5d670b5ae07c78f4345e23a895638db96ce1 (fixed)
Vendor states this is fixed in 9894c79fd9466612d0514be157b5c30cd93aa645 (fixed)
Vendor states this is fixed in cd569b87378b9c33ae13c23d6bb9d205d66f7c4b (fixed)
Vendor states this is fixed in d0bb592fa9def2bace90ac8926c0a1d6fa8c1aa0 (fixed)
Vendor states this is fixed in d3b7ffa90f613938128432c7b2f35b7aa4bdd86b (fixed)
Vendor states this is fixed in 2.6.19 (unaffected)
Vendor states this is fixed in 5.10.252 (unaffected)
Vendor states this is fixed in 5.15.202 (unaffected)
Vendor states this is fixed in 6.1.165 (unaffected)
Vendor states this is fixed in 6.12.75 (unaffected)
Vendor states this is fixed in 6.18.14 (unaffected)
Vendor states this is fixed in 6.19.4 (unaffected)
Vendor states this is fixed in 6.6.128 (unaffected)
Vendor states this is fixed in 7.0 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusUNDERGOING ANALYSIS
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card