CVE-2026-89681
nfsd: fix layout fence worker double-reference race
Reported by linux · Published September 11, 2026
In the Linux kernel, the following vulnerability has been resolved: nfsd: fix layout fence worker double-reference race The workqueue core clears WORK_STRUCT_PENDING before the callback is invoked, so delayed_work_pending() in lm_breaker_timedout() can return false while the fence worker is already running. This lets the breaker take a duplicate sc_count reference and schedule a new worker that coalesces with the in-progress one. The extra reference is never put, leaking the layout stateid. Replace the racy delayed_work_pending() check with an ls_fence_inflight boolean set atomically with refcount_inc_not_zero() under ls_lock, and cleared under ls_lock before the final nfs4_put_stid() on the dispose path; the retry path intentionally retains it. Remove the self-rearm mod_delayed_work() at the top of the worker.
EPSS 0.55% · 47.1th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | a278d361e0e8f242211891193d56483a7a9f47a8, 8580571227451384399b3fa53fcde19848c48e5a |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | f52792f484ba2316853736856dde19b7e7458861, f52792f484ba2316853736856dde19b7e7458861 |
| Linux | Linux | 7.1, 0, 7.2.4 |
| Linux | Linux | 7.3, 0, 7.2.4 |
| linux | linux_kernel | 7.1, 7.1 |
Timeline
- Sep 11, 2026 CVE Published
- Sep 12, 2026 EPSS Score (27 in total, the first dated here)
- Oct 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-89681
vulnetix vdb fixes CVE-2026-89681
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-89681/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart