In the Linux kernel, the following vulnerability has been resolved: SUNRPC: xdr_buf_trim: clamp buf->len to avoid underflow xdr_buf_trim() trims len… (CVE-2026-89551)
A vulnerability in the Linux kernel's SUNRPC subsystem was fixed by clamping the buffer length decrement in the xdr_buf_trim() function to avoid an unsigned integer underflow. The flaw occurs when buf->len is smaller than the sum of iov_lens, causing an underflow that leads to an incorrect buffer length used downstream. This was addressed by ensuring buf->len does not wrap below zero during trimming.
AI Analysis
Technical Summary
The Linux kernel's SUNRPC xdr_buf_trim() function trims bytes from an xdr_buf by decrementing buf->len by the amount trimmed. However, if buf->len is smaller than the total bytes trimmed (len - trim), the subtraction underflows, wrapping buf->len to a very large unsigned value. This incorrect length then propagates to downstream XDR decoders, potentially causing logic errors. The vulnerability is triggered in gss_krb5_unwrap_v2() where buf->len is set to a smaller wire-derived value than the sum of iov_lens. The fix clamps the decrement to ensure buf->len bottoms out at zero, preventing underflow.
Potential Impact
The underflow causes buf->len to wrap to a large unsigned integer, which may lead to incorrect buffer length handling in downstream XDR decoders. This could result in logic errors or unexpected behavior in the SUNRPC subsystem. No direct exploitation details or active exploits are reported.
Mitigation Recommendations
A fix has been implemented in the Linux kernel source code to clamp the decrement of buf->len in xdr_buf_trim(), preventing underflow. Users should apply the official kernel update containing this patch once available. Patch status is not explicitly confirmed in the provided data; check the vendor advisory for current remediation guidance.
In the Linux kernel, the following vulnerability has been resolved: SUNRPC: xdr_buf_trim: clamp buf->len to avoid underflow xdr_buf_trim() trims len… (CVE-2026-89551)
Description
A vulnerability in the Linux kernel's SUNRPC subsystem was fixed by clamping the buffer length decrement in the xdr_buf_trim() function to avoid an unsigned integer underflow. The flaw occurs when buf->len is smaller than the sum of iov_lens, causing an underflow that leads to an incorrect buffer length used downstream. This was addressed by ensuring buf->len does not wrap below zero during trimming.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's SUNRPC xdr_buf_trim() function trims bytes from an xdr_buf by decrementing buf->len by the amount trimmed. However, if buf->len is smaller than the total bytes trimmed (len - trim), the subtraction underflows, wrapping buf->len to a very large unsigned value. This incorrect length then propagates to downstream XDR decoders, potentially causing logic errors. The vulnerability is triggered in gss_krb5_unwrap_v2() where buf->len is set to a smaller wire-derived value than the sum of iov_lens. The fix clamps the decrement to ensure buf->len bottoms out at zero, preventing underflow.
Potential Impact
The underflow causes buf->len to wrap to a large unsigned integer, which may lead to incorrect buffer length handling in downstream XDR decoders. This could result in logic errors or unexpected behavior in the SUNRPC subsystem. No direct exploitation details or active exploits are reported.
Mitigation Recommendations
A fix has been implemented in the Linux kernel source code to clamp the decrement of buf->len in xdr_buf_trim(), preventing underflow. Users should apply the official kernel update containing this patch once available. Patch status is not explicitly confirmed in the provided data; check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-7gqj-379q-cvhq
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89551"]
Threat ID: 6aa4a01355bf5e2cf5a866c7
Added to database: 09/12/2026, 00:42:59 UTC
Last enriched: 09/12/2026, 01:09:07 UTC
Last updated: 09/12/2026, 01:09:07 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.