Live threats

All CVEs / Linux

CVE-2026-89681Linux

Memory leak in layout fence worker in Linux kernel

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
—
Auth required
No
Published
Sep 11, 2026
Updated
Oct 19, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

The Linux kernel contains a race condition in the nfsd subsystem that allows the layout fence worker to take a duplicate sc_count reference, causing a memory leak of the layout stateid. A remote unauthenticated attacker can exploit this vulnerability to cause a denial of service.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available

Update the Linux kernel to a version that includes the patch replacing the racy delayed_work_pending() check with an ls_fence_inflight boolean.

Vendor advisory · git.kernel.org ↗

  1. Apply the vendor's security update for Linux.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.