CVE-2026-99763Linux
NVD
Vulnerability Summary
In the Linux kernel, the following vulnerability has been resolved:
9p: don't decrement a server-owned zero nlink
A 9P2000.L server can report nlink=0 for a regular file that still
exists. On a cache=loose or cache=fscache mount, lookup stores that
value with set_nlink(). A later successful unlink calls
v9fs_dec_count(), which still calls drop_nlink() for a non-directory.
drop_nlink() warns, and the unsigned link count wraps to 4294967295.
fstat() on a descriptor opened before the unlink shows 0 before and
4294967295 after.
The warning on the unpatched kernel, trimmed:
WARNING: fs/inode.c:408 at drop_nlink+0xac/0xd0, CPU#1: trigger/188
CPU: 1 UID: 0 PID: 188 Comm: trigger Tainted: G N 7.3.0-rc4-00537-ga3ff15db6820 #1 PREEMPT(lazy)
RIP: 0010:drop_nlink+0xac/0xd0
Call Trace:
<TASK>
v9fs_remove+0x529/0x750
vfs_unlink+0x2f0/0xbd0
filename_unlinkat+0x340/0x6c0
__x64_sys_unlink+0x46/0x70
do_syscall_64+0xe8/0x4f0
entry_SYSCALL_64_after_hwframe+0x77/0x7f
</TASK>
---[ end trace 0000000000000000 ]---
Directories whose cached nlink is at most 2 already skip this
decrement, because the exported filesystem may not maintain nlink
(commit ac89b2ef9b559). cache=none skips it as well (commit
574aa0b479947). cache=mmap does not take this path: it sets neither
CACHE_META nor CACHE_LOOSE. A regular file on cache=loose or
cache=fscache still does. Its count came from GETATTR and may
already be zero, so skip the decrement when i_nlink is already 0.
Verified on 7.3-rc4-00537-ga3ff15db6820 with only this change. A
server that advertises nlink=0 and accepts the unlink no longer
warns, and the open descriptor stays at nlink 0. An honest server
on the same mount still goes from 1 to 0. A rejected unlink leaves
the count unchanged. cache=none is unchanged. With panic_on_warn
the unpatched kernel panics on the warning; the patched kernel does
not.
9p: don't decrement a server-owned zero nlink
A 9P2000.L server can report nlink=0 for a regular file that still
exists. On a cache=loose or cache=fscache mount, lookup stores that
value with set_nlink(). A later successful unlink calls
v9fs_dec_count(), which still calls drop_nlink() for a non-directory.
drop_nlink() warns, and the unsigned link count wraps to 4294967295.
fstat() on a descriptor opened before the unlink shows 0 before and
4294967295 after.
The warning on the unpatched kernel, trimmed:
WARNING: fs/inode.c:408 at drop_nlink+0xac/0xd0, CPU#1: trigger/188
CPU: 1 UID: 0 PID: 188 Comm: trigger Tainted: G N 7.3.0-rc4-00537-ga3ff15db6820 #1 PREEMPT(lazy)
RIP: 0010:drop_nlink+0xac/0xd0
Call Trace:
<TASK>
v9fs_remove+0x529/0x750
vfs_unlink+0x2f0/0xbd0
filename_unlinkat+0x340/0x6c0
__x64_sys_unlink+0x46/0x70
do_syscall_64+0xe8/0x4f0
entry_SYSCALL_64_after_hwframe+0x77/0x7f
</TASK>
---[ end trace 0000000000000000 ]---
Directories whose cached nlink is at most 2 already skip this
decrement, because the exported filesystem may not maintain nlink
(commit ac89b2ef9b559). cache=none skips it as well (commit
574aa0b479947). cache=mmap does not take this path: it sets neither
CACHE_META nor CACHE_LOOSE. A regular file on cache=loose or
cache=fscache still does. Its count came from GETATTR and may
already be zero, so skip the decrement when i_nlink is already 0.
Verified on 7.3-rc4-00537-ga3ff15db6820 with only this change. A
server that advertises nlink=0 and accepts the unlink no longer
warns, and the open descriptor stays at nlink 0. An honest server
on the same mount still goes from 1 to 0. A rejected unlink leaves
the count unchanged. cache=none is unchanged. With panic_on_warn
the unpatched kernel panics on the warning; the patched kernel does
not.
Affected & Patched Versions
- Linux >= ac89b2ef9b55924bcf922251f043ba73a32d05bb and < 21eff52475070ccaf91677d9516d11df3c6ade91
- Linux >= ac89b2ef9b55924bcf922251f043ba73a32d05bb and < f12fd1899eb570104cd2c0b649486470326dff99
- Linux >= ac89b2ef9b55924bcf922251f043ba73a32d05bb and < ae24a3e84d9b226d944b3414d78877b8c7313b16
- Linux >= ac89b2ef9b55924bcf922251f043ba73a32d05bb and < 528cca4452d4aa3fef802e464867788a09803ce3
- Linux >= ac89b2ef9b55924bcf922251f043ba73a32d05bb and < 5980952fa41f822440f90df7e4628d4b61d22589
- Linux >= ac89b2ef9b55924bcf922251f043ba73a32d05bb and < 9ea87af4e675ae5c3781f2f362c062a13a93fe15
- Linux >= ac89b2ef9b55924bcf922251f043ba73a32d05bb and < 8d247ae04b11459bc7d2ee295c2327e16a0e2893
- Linux >= ac89b2ef9b55924bcf922251f043ba73a32d05bb and < 4e915aa8566173b44146bc46177c85afbe6bdf96
- Linux 4.17
- Linux 21eff52475070ccaf91677d9516d11df3c6ade91
- Linux f12fd1899eb570104cd2c0b649486470326dff99
- Linux ae24a3e84d9b226d944b3414d78877b8c7313b16
- Linux 528cca4452d4aa3fef802e464867788a09803ce3
- Linux 5980952fa41f822440f90df7e4628d4b61d22589
- Linux 9ea87af4e675ae5c3781f2f362c062a13a93fe15
- Linux 8d247ae04b11459bc7d2ee295c2327e16a0e2893
- Linux 4e915aa8566173b44146bc46177c85afbe6bdf96
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run Linux and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 20, 2026Published
- Nov 23, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Linux CVEsYou are reading CVE-2026-99763. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Referencehttps://git.kernel.org/stable/c/21eff52475070ccaf91677d9516d11df3c6ade91
- Referencehttps://git.kernel.org/stable/c/4e915aa8566173b44146bc46177c85afbe6bdf96
- Referencehttps://git.kernel.org/stable/c/528cca4452d4aa3fef802e464867788a09803ce3
- Referencehttps://git.kernel.org/stable/c/5980952fa41f822440f90df7e4628d4b61d22589
- Referencehttps://git.kernel.org/stable/c/8d247ae04b11459bc7d2ee295c2327e16a0e2893
- Referencehttps://git.kernel.org/stable/c/9ea87af4e675ae5c3781f2f362c062a13a93fe15
- Referencehttps://git.kernel.org/stable/c/ae24a3e84d9b226d944b3414d78877b8c7313b16
- Referencehttps://git.kernel.org/stable/c/f12fd1899eb570104cd2c0b649486470326dff99
Data last checked: Nov 24, 2026 07:07 UTC