# CVE-2026-99763: 9p: don't decrement a server-owned zero nlink

Status: published. Published: 2026-11-20. Updated: 2026-11-23.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Linux / Linux: ≥ ac89b2ef9b55924bcf922251f043ba73a32d05bb; < 21eff52475070ccaf91677d9516d11df3c6ade91 (affected, git); ≥ ac89b2ef9b55924bcf922251f043ba73a32d05bb; < f12fd1899eb570104cd2c0b649486470326dff99 (affected, git); ≥ ac89b2ef9b55924bcf922251f043ba73a32d05bb; < ae24a3e84d9b226d944b3414d78877b8c7313b16 (affected, git); ≥ ac89b2ef9b55924bcf922251f043ba73a32d05bb; < 528cca4452d4aa3fef802e464867788a09803ce3 (affected, git); ≥ ac89b2ef9b55924bcf922251f043ba73a32d05bb; < 5980952fa41f822440f90df7e4628d4b61d22589 (affected, git); ≥ ac89b2ef9b55924bcf922251f043ba73a32d05bb; < 9ea87af4e675ae5c3781f2f362c062a13a93fe15 (affected, git); ≥ ac89b2ef9b55924bcf922251f043ba73a32d05bb; < 8d247ae04b11459bc7d2ee295c2327e16a0e2893 (affected, git); ≥ ac89b2ef9b55924bcf922251f043ba73a32d05bb; < 4e915aa8566173b44146bc46177c85afbe6bdf96 (affected, git). Source: CNA: Linux
- Linux / Linux: 4.17 (affected); ≥ 0; < 4.17 (unaffected, semver); ≥ 5.10.275; ≤ 5.10.* (unaffected, semver); ≥ 5.15.226; ≤ 5.15.* (unaffected, semver); ≥ 6.1.193; ≤ 6.1.* (unaffected, semver); ≥ 6.6.163; ≤ 6.6.* (unaffected, semver); ≥ 6.12.118; ≤ 6.12.* (unaffected, semver); ≥ 6.18.64; ≤ 6.18.* (unaffected, semver); ≥ 7.3.5; ≤ 7.3.* (unaffected, semver); ≥ 7.4-rc2; ≤ * (unaffected, original_commit_for_fix). Source: CNA: Linux

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: 0.17% as of 2026-11-22; percentile 6.22%

- SSVC: Not available

- Weaknesses: Not reported

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://git.kernel.org/stable/c/21eff52475070ccaf91677d9516d11df3c6ade91 (CNA: Linux)

- https://git.kernel.org/stable/c/f12fd1899eb570104cd2c0b649486470326dff99 (CNA: Linux)

- https://git.kernel.org/stable/c/ae24a3e84d9b226d944b3414d78877b8c7313b16 (CNA: Linux)

- https://git.kernel.org/stable/c/528cca4452d4aa3fef802e464867788a09803ce3 (CNA: Linux)

- https://git.kernel.org/stable/c/5980952fa41f822440f90df7e4628d4b61d22589 (CNA: Linux)

- https://git.kernel.org/stable/c/9ea87af4e675ae5c3781f2f362c062a13a93fe15 (CNA: Linux)

- https://git.kernel.org/stable/c/8d247ae04b11459bc7d2ee295c2327e16a0e2893 (CNA: Linux)

- https://git.kernel.org/stable/c/4e915aa8566173b44146bc46177c85afbe6bdf96 (CNA: Linux)

- https://git.kernel.org/stable/c/4e915aa8566173b44146bc46177c85afbe6bdf96 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/5980952fa41f822440f90df7e4628d4b61d22589 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/8d247ae04b11459bc7d2ee295c2327e16a0e2893 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/9ea87af4e675ae5c3781f2f362c062a13a93fe15 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

## Provenance

- CNA: Linux: https://www.cve.org/CVERecord?id=CVE-2026-99763; retrieved 2026-11-23; source updated 2026-11-23

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-99763; retrieved 2026-11-20; source updated 2026-11-20

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-99763; retrieved 2026-11-23; source updated Not reported

Revision: 13c960d3883cf14840b04c4537ab824ec4bfe30e1832e04f97adcea4241ac362

Canonical: https://y2.dev/cve/CVE-2026-99763

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.