Vulnerability

CVE-2026-89681

criticalCVSS 3.1 9.8Published 11 Sep 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning