# CVE-2026-45915: fat: avoid parent link count underflow in rmdir

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 3% of CVEs (2026-11-30)
- Published: 2026-05-27T12:17:30.699Z
- Modified: 2026-11-06T16:18:51.600Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 9a53c3a783c2fa9b969628e65695c11c3e51e673 before 7fe0de287e931e07cb96ecf1f449b2ebdb0e1115; from 9a53c3a783c2fa9b969628e65695c11c3e51e673 before 9894c79fd9466612d0514be157b5c30cd93aa645; from 9a53c3a783c2fa9b969628e65695c11c3e51e673 before cd569b87378b9c33ae13c23d6bb9d205d66f7c4b; from 9a53c3a783c2fa9b969628e65695c11c3e51e673 before d3b7ffa90f613938128432c7b2f35b7aa4bdd86b; from 9a53c3a783c2fa9b969628e65695c11c3e51e673 before 955c5d670b5ae07c78f4345e23a895638db96ce1; from 9a53c3a783c2fa9b969628e65695c11c3e51e673 before 17866f8a0822d414cb02e621cf003a7d04396ef8; from 9a53c3a783c2fa9b969628e65695c11c3e51e673 before d0bb592fa9def2bace90ac8926c0a1d6fa8c1aa0; from 9a53c3a783c2fa9b969628e65695c11c3e51e673 before 8cafcb881364af5ef3a8b9fed4db254054033d8a; 2.6.19 (not affected: before 2.6.19; from 5.10.252 up to 5.10.*; from 5.15.202 up to 5.15.*; from 6.1.165 up to 6.1.*; from 6.6.128 up to 6.6.*; from 6.12.75 up to 6.12.*; from 6.18.14 up to 6.18.*; from 6.19.4 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 2.6.19 before 5.10.252; from 5.11 before 5.15.202; from 5.16 before 6.1.165; from 6.2 before 6.6.128; from 6.7 before 6.12.75; from 6.13 before 6.18.14; from 6.19 before 6.19.4

## References

- <https://git.kernel.org/stable/c/7fe0de287e931e07cb96ecf1f449b2ebdb0e1115> (patch)
- <https://git.kernel.org/stable/c/9894c79fd9466612d0514be157b5c30cd93aa645> (patch)
- <https://git.kernel.org/stable/c/cd569b87378b9c33ae13c23d6bb9d205d66f7c4b> (patch)
- <https://git.kernel.org/stable/c/d3b7ffa90f613938128432c7b2f35b7aa4bdd86b> (patch)
- <https://git.kernel.org/stable/c/955c5d670b5ae07c78f4345e23a895638db96ce1> (patch)
- <https://git.kernel.org/stable/c/17866f8a0822d414cb02e621cf003a7d04396ef8> (patch)
- <https://git.kernel.org/stable/c/d0bb592fa9def2bace90ac8926c0a1d6fa8c1aa0> (patch)
- <https://git.kernel.org/stable/c/8cafcb881364af5ef3a8b9fed4db254054033d8a> (patch)

## Sources

- CVE List: [CVE-2026-45915](https://www.cve.org/CVERecord?id=CVE-2026-45915), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-45915](https://nvd.nist.gov/vuln/detail/CVE-2026-45915), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-45915 · Whole record: https://cve.day/CVE-2026-45915.json · Rebuilt by cve.day 2026-11-25T22:59:22.503Z
