{"id":"CVE-2026-89681","published":"2026-09-11T19:46:04Z","modified":"2026-10-19T08:50:54Z","title":"nfsd: fix layout fence worker double-reference race","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: fix layout fence worker double-reference race\n\nThe workqueue core clears WORK_STRUCT_PENDING before the callback\nis invoked, so delayed_work_pending() in lm_breaker_timedout() can\nreturn false while the fence worker is already running. This lets\nthe breaker take a duplicate sc_count reference and schedule a new\nworker that coalesces with the in-progress one. The extra reference\nis never put, leaking the layout stateid.\n\nReplace the racy delayed_work_pending() check with an\nls_fence_inflight boolean set atomically with\nrefcount_inc_not_zero() under ls_lock, and cleared under ls_lock\nbefore the final nfs4_put_stid() on the dispose path; the retry\npath intentionally retains it.  Remove the self-rearm\nmod_delayed_work() at the top of the worker.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00553,"percentile":0.47117,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/a278d361e0e8f242211891193d56483a7a9f47a8","tags":[]},{"url":"https://git.kernel.org/stable/c/8580571227451384399b3fa53fcde19848c48e5a","tags":[]}],"priority":{"score":16.3,"factors":[{"name":"EPSS percentile","points":9.42},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= f52792f484ba2316853736856dde19b7e7458861, < a278d361e0e8f242211891193d56483a7a9f47a8",">= f52792f484ba2316853736856dde19b7e7458861, < 8580571227451384399b3fa53fcde19848c48e5a"]},{"vendor":"Linux","product":"Linux","versions":["7.1"]}],"euvd":{"id":"EUVD-2026-76593","exploited":false,"provenance":"source"}}