{"id":"CVE-2026-89686","aliases":["CVE-2026-89686"],"related":[],"kind":"vulnerability","state":"published","title":"nfsd: fix BUG_ON in nfsd4_alloc_layout_stateid on racing delegation revoke","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: fix BUG_ON in nfsd4_alloc_layout_stateid on racing delegation revoke\n\nnfsd4_alloc_layout_stateid reads fp->fi_deleg_file without holding\nfi_lock when the parent stateid is a delegation. A concurrent delegation\nrevoke via the laundromat can clear fi_deleg_file under fi_lock, causing\nnfsd_file_get() to return NULL and triggering the BUG_ON.\n\nThis race is client-reachable: two NFS clients can trigger it by having\none hold a delegation while another opens the same file to force a\nrecall. When the first client doesn't respond to the recall, the\nlaundromat revokes it. A concurrent LAYOUTGET from any client using the\ndelegation stateid hits the race window.\n\nFix this by taking fi_lock around the fi_deleg_file read in the\nSC_TYPE_DELEG path, matching the locking discipline of the\nfind_any_file() arm, and replacing the BUG_ON with a graceful error\nreturn that cleans up the partially-initialized layout stateid.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: fix BUG_ON in nfsd4_alloc_layout_stateid on racing delegation revoke\n\nnfsd4_alloc_layout_stateid reads fp->fi_deleg_file without holding\nfi_lock when the parent stateid is a delegation. A concurrent delegation\nrevoke via the laundromat can clear fi_deleg_file under fi_lock, causing\nnfsd_file_get() to return NULL and triggering the BUG_ON.\n\nThis race is client-reachable: two NFS clients can trigger it by having\none hold a delegation while another opens the same file to force a\nrecall. When the first client doesn't respond to the recall, the\nlaundromat revokes it. A concurrent LAYOUTGET from any client using the\ndelegation stateid hits the race window.\n\nFix this by taking fi_lock around the fi_deleg_file read in the\nSC_TYPE_DELEG path, matching the locking discipline of the\nfind_any_file() arm, and replacing the BUG_ON with a graceful error\nreturn that cleans up the partially-initialized layout stateid.","source":"cvelist"}],"published":"2026-09-11T19:46:07.877Z","modified":"2026-10-30T13:20:26.500Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c5c707f96fc9a6e5a57ca5baac892673270abe3d","fixed":"f5011c26246d1abed3dc750c9744e33cb79ff9bc","status":"affected"},{"type":"git","introduced":"c5c707f96fc9a6e5a57ca5baac892673270abe3d","fixed":"d12af460df27876661707efab3a8532146cb961f","status":"affected"},{"type":"git","introduced":"c5c707f96fc9a6e5a57ca5baac892673270abe3d","fixed":"c517f27498757e616d2a8fe6d16caad1fee422e6","status":"affected"},{"type":"git","introduced":"c5c707f96fc9a6e5a57ca5baac892673270abe3d","fixed":"607a56fea772c1f4f4989d8e255dd4f7192d9604","status":"affected"},{"type":"git","introduced":"c5c707f96fc9a6e5a57ca5baac892673270abe3d","fixed":"97bda8b4284d90897a1f1922e5082ff9e35d7c7e","status":"affected"},{"type":"git","introduced":"c5c707f96fc9a6e5a57ca5baac892673270abe3d","fixed":"ca94ba36172046be6a694a7986f6931e47ed4d51","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.0","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.109","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/f5011c26246d1abed3dc750c9744e33cb79ff9bc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d12af460df27876661707efab3a8532146cb961f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c517f27498757e616d2a8fe6d16caad1fee422e6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/607a56fea772c1f4f4989d8e255dd4f7192d9604","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/97bda8b4284d90897a1f1922e5082ff9e35d7c7e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ca94ba36172046be6a694a7986f6931e47ed4d51","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-16T19:26:03.140Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89686","url":"https://www.cve.org/CVERecord?id=CVE-2026-89686","licence":"CVE Terms of Use","modified":"2026-10-30T12:32:43.218Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89686","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89686","licence":"Public domain","modified":"2026-10-30T13:20:26.500Z"}],"updatedAt":"2026-11-25T22:59:38.113Z","epss":{"score":0.00762,"percentile":0.56569,"date":"2026-12-01T12:00:22.000Z"}}