Skip to main content

In the Linux kernel, the following vulnerability has been resolved: nfsd: fix XDR length calculation in nfsd4_ff_encode_layoutget The XDR buffer… (CVE-2026-89674)

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

Description

A vulnerability in the Linux kernel's nfsd4_ff_encode_layoutget function caused incorrect XDR buffer size calculations. This flaw could lead to out-of-bounds writes or leaking uninitialized kernel memory to clients. The issue arises from multiple errors in length calculations for file handle data, user and group ID strings, and other encoded fields. The vulnerability has been resolved by explicitly correcting the length calculations and using proper alignment functions.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/12/2026, 00:54:59 UTC

Technical Analysis

The Linux kernel contained a vulnerability in the nfsd4_ff_encode_layoutget() function related to incorrect XDR buffer size calculations. Specifically, the file handle length did not account for XDR padding, the uid and gid lengths were miscalculated due to incorrect assumptions about the bytes written by xdr_encode_opaque(), and the ds_len calculation omitted certain fields while overestimating others, resulting in a net mismatch. This could cause the function to write up to 5 bytes beyond the reserved buffer or send stale kernel memory to clients. The fix involved explicitly calculating each encoded field's length, applying xdr_align_size() to all variable-length opaque fields, and correcting header constants to ensure accurate buffer size reservation.

Potential Impact

The vulnerability could lead to out-of-bounds memory writes or disclosure of uninitialized kernel memory to NFS clients. This may result in information leakage or potential kernel memory corruption. No known exploits in the wild have been reported.

Mitigation Recommendations

A fix for this vulnerability has been implemented in the Linux kernel by correcting the XDR buffer size calculations in nfsd4_ff_encode_layoutget(). Users should apply the official kernel updates containing this fix when available. Patch status is not yet confirmed in the provided data; check the vendor advisory for current remediation guidance.

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-qhmp-vm7x-v422
Osv Schema Version
1.4.0
Aliases
["CVE-2026-89674"]

Threat ID: 6aa4a00055bf5e2cf5a8660c

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

Last enriched: 09/12/2026, 00:54:59 UTC

Last updated: 09/12/2026, 02:01:05 UTC

Views: 4

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