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.
Published: 2026-05-27
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This vulnerability in the Linux kernel FAT filesystem arises when a corrupted FAT image leaves a directory inode with an incorrect link count. The rmdir handler unconditionally decrements the link count, which can underflow to zero and trigger a WARN_ON in drop_nlink(). The resulting kernel warning and possible crash cause a denial of service. The flaw is a straightforward integer underflow (CWE‑191) and does not provide code execution or privilege escalation.

Affected Systems

All Linux kernel releases that include the unpatched vfat or msdos FAT drivers are affected. The vulnerability exists whenever the kernel is compiled with these drivers and a corrupted FAT volume is mounted. No specific version numbers are provided, so any kernel using the pre‑patch rmdir code is at risk.

Risk and Exploitability

The vulnerability is local in nature; an attacker would need to mount a corrupted FAT image or otherwise trigger deletion of directories on such a filesystem. The likely attack vector is a local attacker with access to mount points or local file deletion operations, and this inference is drawn from the description. EPSS is below 1 %, indicating a very low probability of exploitation in the wild. The CVSS score of 5.5 reflects medium severity, and the issue is not listed in CISA KEV, suggesting it is not currently a known exploited vulnerability. Because the bug only compromises availability on local systems, the overall risk is limited but a kernel crash can interrupt services.

Generated by OpenCVE AI on May 28, 2026 at 15:43 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a patched Linux kernel that includes the vfat_rmdir/m_sdos_rmdir fix.
  • Avoid performing delete operations on FAT volumes that may be corrupted, and run fsck -f or reformat the filesystem before use.
  • Monitor kernel logs for WARN_ON messages related to drop_nlink() and quarantine any FAT volumes that generate such warnings.

Generated by OpenCVE AI on May 28, 2026 at 15:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4606-1 linux security update
History

Thu, 28 May 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


Wed, 27 May 2026 17:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-191

Wed, 27 May 2026 14:15:00 +0000

Type Values Removed Values Added
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.
Title fat: avoid parent link count underflow in rmdir
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-27T12:17:30.699Z

Reserved: 2026-05-13T15:03:33.085Z

Link: CVE-2026-45915

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-05-27T14:17:06.320

Modified: 2026-06-17T10:52:43.437

Link: CVE-2026-45915

cve-icon Redhat

Severity : Low

Publid Date: 2026-05-27T00:00:00Z

Links: CVE-2026-45915 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-28T15:45:19Z

Weaknesses
  • CWE-191

    Integer Underflow (Wrap or Wraparound)