CVE-2026-72170
9p: skip nlink update in cacheless mode to fix WARN_ON
Check your servers for CVE-2026-72170
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-72170 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
9p: skip nlink update in cacheless mode to fix WARN_ON
v9fs_dec_count() unconditionally calls drop_nlink() on regular files, even when the inode's nlink is already zero. In cacheless mode the client refetches inode metadata from the server (the source of truth) on every operation, so by the time v9fs_remove() returns, the locally cached nlink may already reflect the post-unlink value:
1. Client initiates unlink, server processes it and sets nlink to 0 2. Client refetches inode metadata (nlink=0) before unlink returns 3. Client's v9fs_remove() completes successfully 4. Client calls v9fs_dec_count() which calls drop_nlink() on nlink=0
This race is easily triggered under heavy unlink workloads, such as stress-ng's unlink stressor, producing the following warning:
WARNING: fs/inode.c:417 at drop_nlink+0x4c/0xc8 Call trace: drop_nlink+0x4c/0xc8 v9fs_remove+0x1e0/0x250 [9p] v9fs_vfs_unlink+0x20/0x38 [9p] vfs_unlink+0x13c/0x258 ...
In cacheless mode the server is authoritative and the inode is on its way out, so locally adjusting nlink buys nothing. Skip v9fs_dec_count() entirely when neither CACHE_META nor CACHE_LOOSE is set, which both avoids the warning and removes a class of nlink races (two concurrent unlinkers observing nlink > 0 and both calling drop_nlink()) that an nlink == 0 guard alone would only narrow rather than close.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.50% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 16 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from ac89b2ef9b55924bcf922251f043ba73a32d05bb, before 6086469f7d469549bfd070348b717a6e43736200 affected from ac89b2ef9b55924bcf922251f043ba73a32d05bb, before ab257019cb72f467b55c95384d99c94e3908b928 affected from ac89b2ef9b55924bcf922251f043ba73a32d05bb, before 4ec4ebe40c82cb4c60756732f6593055d010c59c affected from ac89b2ef9b55924bcf922251f043ba73a32d05bb, before a5a682b016ef5b5384e28f6d652d47a8f8e73d37 affected from ac89b2ef9b55924bcf922251f043ba73a32d05bb, before de79c3f3643841b8659a71958df7cf2a66bfd409 affected from ac89b2ef9b55924bcf922251f043ba73a32d05bb, before 8d610017c992de705b304d3d727a6e3a86af6149 affected from ac89b2ef9b55924bcf922251f043ba73a32d05bb, before 8faccac11e1369adddf5d80f4a45af93f13b2e1a affected from ac89b2ef9b55924bcf922251f043ba73a32d05bb, before 574aa0b4799470ac814479f1138d19efe6262255
Other versions: unaffected
|
| Linux |
affected 4.17 unaffected before 4.17 unaffected from 5.10.266 up to and including 5.10.* unaffected from 5.15.217 up to and including 5.15.* unaffected from 6.1.184 up to and including 6.1.* unaffected from 6.6.145 up to and including 6.6.* unaffected from 6.12.97 up to and including 6.12.* unaffected from 6.18.40 up to and including 6.18.* unaffected from 7.1.5 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-72170 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-72170
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-72170
trivy image --scanners vuln IMAGE | grep CVE-2026-72170
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/6086469f7d469549bfd070348b717a6e43736200 git.kernel.org
- https://git.kernel.org/stable/c/ab257019cb72f467b55c95384d99c94e3908b928 git.kernel.org
- https://git.kernel.org/stable/c/4ec4ebe40c82cb4c60756732f6593055d010c59c git.kernel.org
- https://git.kernel.org/stable/c/a5a682b016ef5b5384e28f6d652d47a8f8e73d37 git.kernel.org
- https://git.kernel.org/stable/c/de79c3f3643841b8659a71958df7cf2a66bfd409 git.kernel.org
- https://git.kernel.org/stable/c/8d610017c992de705b304d3d727a6e3a86af6149 git.kernel.org
- https://git.kernel.org/stable/c/8faccac11e1369adddf5d80f4a45af93f13b2e1a git.kernel.org
- https://git.kernel.org/stable/c/574aa0b4799470ac814479f1138d19efe6262255 git.kernel.org
Source: the record CVE-2026-72170 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse