In the Linux kernel, the following vulnerability has been resolved: SUNRPC: harden gss_unwrap_resp_priv length checks gss_unwrap_resp_priv()… (CVE-2026-89541)
A vulnerability in the Linux kernel's SUNRPC subsystem related to the gss_unwrap_resp_priv() function has been resolved. The issue involves improper length checks on the RPCSEC_GSS opaque length, allowing integer overflow in length validation. This can lead to out-of-bounds reads in the gss_krb5_unwrap_v2() function when processing crafted RPCSEC_GSS replies from a krb5p NFS server. The fix introduces multiple bounds checks to prevent integer overflow and enforce minimum token length as per RFC 4121.
AI Analysis
Technical Summary
The Linux kernel vulnerability CVE-2026-89541 affects the SUNRPC subsystem's gss_unwrap_resp_priv() function. The original length check uses a single combined condition that sums two u32 values (offset and opaque_len), which can overflow and bypass bounds checking. This allows a crafted RPCSEC_GSS reply with an opaque_len near 0xffffffff to cause the sum to wrap around, passing the check incorrectly and leading to gss_unwrap() being called with invalid parameters (end < begin). Additionally, the check lacks a lower bound on opaque_len, permitting small values that cause out-of-bounds reads in gss_krb5_unwrap_v2(). The vulnerability enables a malicious krb5p NFS server to induce out-of-bounds reads on the client side. The patch replaces the single check with three separate guards that safely handle u32 arithmetic and enforce the RFC 4121 minimum token length, preventing the overflow and invalid memory access.
Potential Impact
An attacker controlling a krb5p NFS server can send a crafted RPCSEC_GSS reply that triggers out-of-bounds reads in the client's gss_krb5_unwrap_v2() function. This could potentially lead to information disclosure or client instability due to memory corruption. The vulnerability affects the client-side processing of RPCSEC_GSS replies in the Linux kernel's SUNRPC subsystem.
Mitigation Recommendations
A fix has been implemented that replaces the vulnerable single combined length check with three separate bounds checks that prevent integer overflow and enforce minimum token length requirements. Users should apply the official Linux kernel updates that include this patch to mitigate the vulnerability. No additional mitigations are indicated or required beyond applying the fix.
In the Linux kernel, the following vulnerability has been resolved: SUNRPC: harden gss_unwrap_resp_priv length checks gss_unwrap_resp_priv()… (CVE-2026-89541)
Description
A vulnerability in the Linux kernel's SUNRPC subsystem related to the gss_unwrap_resp_priv() function has been resolved. The issue involves improper length checks on the RPCSEC_GSS opaque length, allowing integer overflow in length validation. This can lead to out-of-bounds reads in the gss_krb5_unwrap_v2() function when processing crafted RPCSEC_GSS replies from a krb5p NFS server. The fix introduces multiple bounds checks to prevent integer overflow and enforce minimum token length as per RFC 4121.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel vulnerability CVE-2026-89541 affects the SUNRPC subsystem's gss_unwrap_resp_priv() function. The original length check uses a single combined condition that sums two u32 values (offset and opaque_len), which can overflow and bypass bounds checking. This allows a crafted RPCSEC_GSS reply with an opaque_len near 0xffffffff to cause the sum to wrap around, passing the check incorrectly and leading to gss_unwrap() being called with invalid parameters (end < begin). Additionally, the check lacks a lower bound on opaque_len, permitting small values that cause out-of-bounds reads in gss_krb5_unwrap_v2(). The vulnerability enables a malicious krb5p NFS server to induce out-of-bounds reads on the client side. The patch replaces the single check with three separate guards that safely handle u32 arithmetic and enforce the RFC 4121 minimum token length, preventing the overflow and invalid memory access.
Potential Impact
An attacker controlling a krb5p NFS server can send a crafted RPCSEC_GSS reply that triggers out-of-bounds reads in the client's gss_krb5_unwrap_v2() function. This could potentially lead to information disclosure or client instability due to memory corruption. The vulnerability affects the client-side processing of RPCSEC_GSS replies in the Linux kernel's SUNRPC subsystem.
Mitigation Recommendations
A fix has been implemented that replaces the vulnerable single combined length check with three separate bounds checks that prevent integer overflow and enforce minimum token length requirements. Users should apply the official Linux kernel updates that include this patch to mitigate the vulnerability. No additional mitigations are indicated or required beyond applying the fix.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-8h82-j8r3-jr82
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89541"]
Threat ID: 6aa4a01355bf5e2cf5a866c5
Added to database: 09/12/2026, 00:42:59 UTC
Last enriched: 09/12/2026, 01:08:53 UTC
Last updated: 09/12/2026, 01:08:53 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.