{"api_version":"1","generated_at":"2026-11-20T07:30:04+00:00","cve":"CVE-2026-99763","urls":{"html":"https://cve.report/CVE-2026-99763","api":"https://cve.report/api/cve/CVE-2026-99763.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99763","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99763"},"summary":{"title":"9p: don't decrement a server-owned zero nlink","description":"In the Linux kernel, the following vulnerability has been resolved:\n\n9p: don't decrement a server-owned zero nlink\n\nA 9P2000.L server can report nlink=0 for a regular file that still\nexists.  On a cache=loose or cache=fscache mount, lookup stores that\nvalue with set_nlink().  A later successful unlink calls\nv9fs_dec_count(), which still calls drop_nlink() for a non-directory.\ndrop_nlink() warns, and the unsigned link count wraps to 4294967295.\nfstat() on a descriptor opened before the unlink shows 0 before and\n4294967295 after.\n\nThe warning on the unpatched kernel, trimmed:\n\nWARNING: fs/inode.c:408 at drop_nlink+0xac/0xd0, CPU#1: trigger/188\nCPU: 1 UID: 0 PID: 188 Comm: trigger Tainted: G                 N  7.3.0-rc4-00537-ga3ff15db6820 #1 PREEMPT(lazy)\nRIP: 0010:drop_nlink+0xac/0xd0\nCall Trace:\n <TASK>\n v9fs_remove+0x529/0x750\n vfs_unlink+0x2f0/0xbd0\n filename_unlinkat+0x340/0x6c0\n __x64_sys_unlink+0x46/0x70\n do_syscall_64+0xe8/0x4f0\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\n </TASK>\n---[ end trace 0000000000000000 ]---\n\nDirectories whose cached nlink is at most 2 already skip this\ndecrement, because the exported filesystem may not maintain nlink\n(commit ac89b2ef9b559).  cache=none skips it as well (commit\n574aa0b479947).  cache=mmap does not take this path: it sets neither\nCACHE_META nor CACHE_LOOSE.  A regular file on cache=loose or\ncache=fscache still does.  Its count came from GETATTR and may\nalready be zero, so skip the decrement when i_nlink is already 0.\n\nVerified on 7.3-rc4-00537-ga3ff15db6820 with only this change.  A\nserver that advertises nlink=0 and accepts the unlink no longer\nwarns, and the open descriptor stays at nlink 0.  An honest server\non the same mount still goes from 1 to 0.  A rejected unlink leaves\nthe count unchanged.  cache=none is unchanged.  With panic_on_warn\nthe unpatched kernel panics on the warning; the patched kernel does\nnot.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-20 06:18:14","updated_at":"2026-11-20 06:18:14"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/4e915aa8566173b44146bc46177c85afbe6bdf96","name":"https://git.kernel.org/stable/c/4e915aa8566173b44146bc46177c85afbe6bdf96","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8d247ae04b11459bc7d2ee295c2327e16a0e2893","name":"https://git.kernel.org/stable/c/8d247ae04b11459bc7d2ee295c2327e16a0e2893","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5980952fa41f822440f90df7e4628d4b61d22589","name":"https://git.kernel.org/stable/c/5980952fa41f822440f90df7e4628d4b61d22589","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9ea87af4e675ae5c3781f2f362c062a13a93fe15","name":"https://git.kernel.org/stable/c/9ea87af4e675ae5c3781f2f362c062a13a93fe15","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99763","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99763","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ac89b2ef9b55924bcf922251f043ba73a32d05bb 5980952fa41f822440f90df7e4628d4b61d22589 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ac89b2ef9b55924bcf922251f043ba73a32d05bb 9ea87af4e675ae5c3781f2f362c062a13a93fe15 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ac89b2ef9b55924bcf922251f043ba73a32d05bb 8d247ae04b11459bc7d2ee295c2327e16a0e2893 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ac89b2ef9b55924bcf922251f043ba73a32d05bb 4e915aa8566173b44146bc46177c85afbe6bdf96 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.17","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.17 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.118 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.64 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.5 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/9p/vfs_inode.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"5980952fa41f822440f90df7e4628d4b61d22589","status":"affected","version":"ac89b2ef9b55924bcf922251f043ba73a32d05bb","versionType":"git"},{"lessThan":"9ea87af4e675ae5c3781f2f362c062a13a93fe15","status":"affected","version":"ac89b2ef9b55924bcf922251f043ba73a32d05bb","versionType":"git"},{"lessThan":"8d247ae04b11459bc7d2ee295c2327e16a0e2893","status":"affected","version":"ac89b2ef9b55924bcf922251f043ba73a32d05bb","versionType":"git"},{"lessThan":"4e915aa8566173b44146bc46177c85afbe6bdf96","status":"affected","version":"ac89b2ef9b55924bcf922251f043ba73a32d05bb","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/9p/vfs_inode.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.17"},{"lessThan":"4.17","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.118","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.64","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.118","versionStartIncluding":"4.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.64","versionStartIncluding":"4.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.5","versionStartIncluding":"4.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"4.17","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\n9p: don't decrement a server-owned zero nlink\n\nA 9P2000.L server can report nlink=0 for a regular file that still\nexists.  On a cache=loose or cache=fscache mount, lookup stores that\nvalue with set_nlink().  A later successful unlink calls\nv9fs_dec_count(), which still calls drop_nlink() for a non-directory.\ndrop_nlink() warns, and the unsigned link count wraps to 4294967295.\nfstat() on a descriptor opened before the unlink shows 0 before and\n4294967295 after.\n\nThe warning on the unpatched kernel, trimmed:\n\nWARNING: fs/inode.c:408 at drop_nlink+0xac/0xd0, CPU#1: trigger/188\nCPU: 1 UID: 0 PID: 188 Comm: trigger Tainted: G                 N  7.3.0-rc4-00537-ga3ff15db6820 #1 PREEMPT(lazy)\nRIP: 0010:drop_nlink+0xac/0xd0\nCall Trace:\n <TASK>\n v9fs_remove+0x529/0x750\n vfs_unlink+0x2f0/0xbd0\n filename_unlinkat+0x340/0x6c0\n __x64_sys_unlink+0x46/0x70\n do_syscall_64+0xe8/0x4f0\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\n </TASK>\n---[ end trace 0000000000000000 ]---\n\nDirectories whose cached nlink is at most 2 already skip this\ndecrement, because the exported filesystem may not maintain nlink\n(commit ac89b2ef9b559).  cache=none skips it as well (commit\n574aa0b479947).  cache=mmap does not take this path: it sets neither\nCACHE_META nor CACHE_LOOSE.  A regular file on cache=loose or\ncache=fscache still does.  Its count came from GETATTR and may\nalready be zero, so skip the decrement when i_nlink is already 0.\n\nVerified on 7.3-rc4-00537-ga3ff15db6820 with only this change.  A\nserver that advertises nlink=0 and accepts the unlink no longer\nwarns, and the open descriptor stays at nlink 0.  An honest server\non the same mount still goes from 1 to 0.  A rejected unlink leaves\nthe count unchanged.  cache=none is unchanged.  With panic_on_warn\nthe unpatched kernel panics on the warning; the patched kernel does\nnot."}],"providerMetadata":{"dateUpdated":"2026-11-20T05:51:30.483Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/5980952fa41f822440f90df7e4628d4b61d22589"},{"url":"https://git.kernel.org/stable/c/9ea87af4e675ae5c3781f2f362c062a13a93fe15"},{"url":"https://git.kernel.org/stable/c/8d247ae04b11459bc7d2ee295c2327e16a0e2893"},{"url":"https://git.kernel.org/stable/c/4e915aa8566173b44146bc46177c85afbe6bdf96"}],"title":"9p: don't decrement a server-owned zero nlink","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99763","datePublished":"2026-11-20T05:51:30.483Z","dateReserved":"2026-09-25T10:25:14.433Z","dateUpdated":"2026-11-20T05:51:30.483Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-20 06:18:14","lastModifiedDate":"2026-11-20 06:18:14","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99763","Ordinal":"1","Title":"9p: don't decrement a server-owned zero nlink","CVE":"CVE-2026-99763","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99763","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\n9p: don't decrement a server-owned zero nlink\n\nA 9P2000.L server can report nlink=0 for a regular file that still\nexists.  On a cache=loose or cache=fscache mount, lookup stores that\nvalue with set_nlink().  A later successful unlink calls\nv9fs_dec_count(), which still calls drop_nlink() for a non-directory.\ndrop_nlink() warns, and the unsigned link count wraps to 4294967295.\nfstat() on a descriptor opened before the unlink shows 0 before and\n4294967295 after.\n\nThe warning on the unpatched kernel, trimmed:\n\nWARNING: fs/inode.c:408 at drop_nlink+0xac/0xd0, CPU#1: trigger/188\nCPU: 1 UID: 0 PID: 188 Comm: trigger Tainted: G                 N  7.3.0-rc4-00537-ga3ff15db6820 #1 PREEMPT(lazy)\nRIP: 0010:drop_nlink+0xac/0xd0\nCall Trace:\n <TASK>\n v9fs_remove+0x529/0x750\n vfs_unlink+0x2f0/0xbd0\n filename_unlinkat+0x340/0x6c0\n __x64_sys_unlink+0x46/0x70\n do_syscall_64+0xe8/0x4f0\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\n </TASK>\n---[ end trace 0000000000000000 ]---\n\nDirectories whose cached nlink is at most 2 already skip this\ndecrement, because the exported filesystem may not maintain nlink\n(commit ac89b2ef9b559).  cache=none skips it as well (commit\n574aa0b479947).  cache=mmap does not take this path: it sets neither\nCACHE_META nor CACHE_LOOSE.  A regular file on cache=loose or\ncache=fscache still does.  Its count came from GETATTR and may\nalready be zero, so skip the decrement when i_nlink is already 0.\n\nVerified on 7.3-rc4-00537-ga3ff15db6820 with only this change.  A\nserver that advertises nlink=0 and accepts the unlink no longer\nwarns, and the open descriptor stays at nlink 0.  An honest server\non the same mount still goes from 1 to 0.  A rejected unlink leaves\nthe count unchanged.  cache=none is unchanged.  With panic_on_warn\nthe unpatched kernel panics on the warning; the patched kernel does\nnot.","Type":"Description","Title":"9p: don't decrement a server-owned zero nlink"}]}}}