CVE-2026-72170: 9p: skip nlink update in cacheless mode to fix WARN_ON

Published Aug 15, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

9p: skip nlink update in cacheless mode to fix WARNON

v9fsdeccount() unconditionally calls dropnlink() 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 v9fsremove() 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 v9fsremove() completes successfully 4. Client calls v9fsdeccount() which calls dropnlink() 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 dropnlink+0x4c/0xc8 Call trace: dropnlink+0x4c/0xc8 v9fsremove+0x1e0/0x250 [9p] v9fsvfsunlink+0x20/0x38 [9p] vfsunlink+0x13c/0x258 ...

In cacheless mode the server is authoritative and the inode is on its way out, so locally adjusting nlink buys nothing. Skip v9fsdeccount() entirely when neither CACHEMETA nor CACHELOOSE is set, which both avoids the warning and removes a class of nlink races (two concurrent unlinkers observing nlink > 0 and both calling dropnlink()) that an nlink == 0 guard alone would only narrow rather than close.

Affected Software

1 affected component
Linux kernel 9p (v9fs/9pfs) filesystem

Event History

Aug 15, 2026
CVE Published
via MITRE·05:53 AM
Data Sourced
via MITRE·05:53 AM
Description
Data Sourced
via NVD·06:21 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-72170?

CVE-2026-72170 has a risk rating of 21, indicating a potential high-impact vulnerability in the Linux kernel.

2

How do I fix CVE-2026-72170?

To fix CVE-2026-72170, update the Linux kernel to the patched version that resolves this specific vulnerability.

3

What systems are affected by CVE-2026-72170?

CVE-2026-72170 affects systems running the Linux kernel that utilize the 9p filesystem in cacheless mode.

4

What type of vulnerability is CVE-2026-72170?

CVE-2026-72170 is a vulnerability in the Linux kernel related to improper handling of nlink updates in cacheless mode.

5

When was CVE-2026-72170 published?

CVE-2026-72170 was published on August 15, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203