Skip to main content

In the Linux kernel, the following vulnerability has been resolved: SUNRPC: Reject krb5 v2 wrap tokens with oversized ec field gss_krb5_unwrap_v2()… (CVE-2026-89538)

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

Description

A vulnerability in the Linux kernel's SUNRPC component related to Kerberos v2 wrap tokens has been resolved. The issue involves accepting tokens with an oversized 'extra count' (ec) field, which leads to a semantically invalid buffer state. This occurs because the buffer trimming logic does not properly reject tokens where the ec field exceeds the plaintext length, violating RFC 4121. The fix ensures such tokens are rejected early with a defined error, preventing inconsistent internal buffer states.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/12/2026, 01:09:17 UTC

Technical Analysis

The vulnerability in the Linux kernel's SUNRPC subsystem concerns the handling of Kerberos v2 wrap tokens in the gss_krb5_unwrap_v2() function. The function sets a logical buffer length and calls xdr_buf_trim() using a trim length derived from the 16-bit 'extra count' (ec) field in the token header. Although the ec field is authenticated, a valid GSS context holder can produce tokens with an ec value exceeding the plaintext length, which is structurally malformed per RFC 4121. Previously, xdr_buf_trim() could cause an inconsistent buffer state by trimming beyond valid data. The patch rejects such oversized ec tokens before trimming, returning a GSS_S_DEFECTIVE_TOKEN error and maintaining buffer consistency.

Potential Impact

The vulnerability could cause the SUNRPC subsystem to process structurally malformed Kerberos v2 tokens with oversized ec fields, leading to semantically invalid buffer states. This may result in inconsistent internal buffer handling, potentially causing unexpected behavior in the kernel's RPC authentication processing. No specific exploit or active exploitation is reported.

Mitigation Recommendations

A fix has been applied to reject Kerberos v2 wrap tokens with oversized ec fields before buffer trimming occurs, returning a defined error and preserving buffer integrity. Users should apply the official Linux kernel update that includes this patch once available. Patch status is not explicitly 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-3r47-q2hr-fjxp
Osv Schema Version
1.4.0
Aliases
["CVE-2026-89538"]

Threat ID: 6aa4a01355bf5e2cf5a866c9

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

Last enriched: 09/12/2026, 01:09:17 UTC

Last updated: 09/12/2026, 01:09:17 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