Skip to main content

In the Linux kernel, the following vulnerability has been resolved: nfsd: RCU-protect cl_cb_session to fix use-after-free on session teardown After… (CVE-2026-89708)

0
High
Published: 09/11/2026 (09/11/2026, 21:31:37 UTC)
Source: GCVE Database

Description

A use-after-free vulnerability in the Linux kernel's NFS server (nfsd) was resolved by protecting the cl_cb_session pointer with RCU mechanisms. The flaw allowed a session to be freed while an inflight callback still referenced it, potentially causing memory corruption. The fix involves converting cl_cb_session to an RCU-protected pointer, deferring freeing until after an RCU grace period, and ensuring proper synchronization between session teardown and callback processing.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/12/2026, 00:52:05 UTC

Technical Analysis

The vulnerability in the Linux kernel's nfsd component involves a use-after-free condition on the cl_cb_session pointer during session teardown. After a DESTROY_SESSION operation, the session memory can be freed while the rpciod daemon still holds an inflight callback rpc_task referencing cl_cb_session. The existing synchronization using workqueue flushing and rpc_shutdown_client's wait_event_timeout is insufficient because tasks stuck in rpc_delay() can outlive the drain. Additionally, a second race condition exists where cl_cb_session may retain a pointer to a freed session due to early returns in nfsd4_process_cb_update(). The fix converts cl_cb_session to an RCU-protected pointer, moves the assignment to after rpc_create() succeeds, clears the pointer on error, annotates it with __rcu, uses rcu_read_lock()/rcu_dereference() in all readers, and replaces kfree() with kfree_rcu() to defer freeing until after an RCU grace period. These changes ensure that no rpciod-side readers dereference freed memory, eliminating the use-after-free.

Potential Impact

This vulnerability could lead to use-after-free memory corruption in the Linux kernel's NFS server component, potentially causing kernel crashes or undefined behavior. However, no known exploits in the wild have been reported. The impact is limited to systems running the affected Linux kernel versions with NFS server enabled and using the affected nfsd callback session handling.

Mitigation Recommendations

A fix for this vulnerability has been implemented in the Linux kernel by converting cl_cb_session to an RCU-protected pointer and deferring freeing until after an RCU grace period. Users should apply the official kernel updates containing this fix when available. Since this is a kernel-level issue, upgrading to a patched kernel version is the recommended remediation. Patch status is not explicitly stated in the provided data; users should consult their Linux distribution or kernel vendor advisories for the specific fixed versions and update accordingly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-m8hw-pq6j-j4w4
Osv Schema Version
1.4.0
Aliases
["CVE-2026-89708"]

Threat ID: 6aa49ffc55bf5e2cf5a865e7

Added to database: 09/12/2026, 00:42:36 UTC

Last enriched: 09/12/2026, 00:52:05 UTC

Last updated: 09/12/2026, 00:52:05 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses