Skip to main content

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)

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 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

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

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.

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-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 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