In the Linux kernel, the following vulnerability has been resolved: nfsd: fix layout fence worker double-reference race The workqueue core clears… (CVE-2026-89681)
A race condition vulnerability in the Linux kernel's NFS daemon (nfsd) related to layout fence worker double-reference has been resolved. The issue involves improper handling of workqueue state leading to a reference count leak of the layout stateid. The fix replaces a racy check with an atomic boolean flag protected by a lock to prevent duplicate references and resource leaks.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel's nfsd component arises from a race condition where the workqueue core clears WORK_STRUCT_PENDING before the callback invocation. This causes delayed_work_pending() in lm_breaker_timedout() to return false even though the fence worker is running, allowing the breaker to take a duplicate sc_count reference and schedule a new worker that merges with the ongoing one. This extra reference is never released, resulting in a leak of the layout stateid. The fix involves replacing the racy delayed_work_pending() check with an atomic ls_fence_inflight boolean controlled under ls_lock, ensuring proper reference counting and preventing the leak. Additionally, the self-rearming mod_delayed_work() call at the start of the worker is removed.
Potential Impact
The vulnerability causes a resource leak in the NFS daemon's layout stateid due to a double-reference race condition. While the direct security impact is not explicitly stated, such leaks can degrade system stability or potentially lead to denial of service conditions if exploited.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this race condition by changing the reference counting mechanism and removing the problematic self-rearming call. Users should apply the official Linux kernel updates that include this patch to remediate the issue. No further mitigation steps are indicated.
In the Linux kernel, the following vulnerability has been resolved: nfsd: fix layout fence worker double-reference race The workqueue core clears… (CVE-2026-89681)
Description
A race condition vulnerability in the Linux kernel's NFS daemon (nfsd) related to layout fence worker double-reference has been resolved. The issue involves improper handling of workqueue state leading to a reference count leak of the layout stateid. The fix replaces a racy check with an atomic boolean flag protected by a lock to prevent duplicate references and resource leaks.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's nfsd component arises from a race condition where the workqueue core clears WORK_STRUCT_PENDING before the callback invocation. This causes delayed_work_pending() in lm_breaker_timedout() to return false even though the fence worker is running, allowing the breaker to take a duplicate sc_count reference and schedule a new worker that merges with the ongoing one. This extra reference is never released, resulting in a leak of the layout stateid. The fix involves replacing the racy delayed_work_pending() check with an atomic ls_fence_inflight boolean controlled under ls_lock, ensuring proper reference counting and preventing the leak. Additionally, the self-rearming mod_delayed_work() call at the start of the worker is removed.
Potential Impact
The vulnerability causes a resource leak in the NFS daemon's layout stateid due to a double-reference race condition. While the direct security impact is not explicitly stated, such leaks can degrade system stability or potentially lead to denial of service conditions if exploited.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this race condition by changing the reference counting mechanism and removing the problematic self-rearming call. Users should apply the official Linux kernel updates that include this patch to remediate the issue. No further mitigation steps are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-3x6w-r97p-5874
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89681"]
Threat ID: 6aa4a00255bf5e2cf5a86618
Added to database: 09/12/2026, 00:42:42 UTC
Last enriched: 09/12/2026, 00:55:52 UTC
Last updated: 09/12/2026, 00:55:52 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.