Skip to main content

In the Linux kernel, the following vulnerability has been resolved: SUNRPC: harden gss_krb5_unwrap_v2 against short tokens gss_krb5_unwrap_v2()… (CVE-2026-89542)

0
High
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 the gss_krb5_unwrap_v2 function has been resolved. The function improperly reads header fields before validating token length, leading to out-of-bounds reads and potential arithmetic underflows. These issues can cause memory corruption and a large memmove operation with an incorrect size. The fix adds multiple defensive checks to ensure token length validation and prevent unsafe memory operations.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/12/2026, 01:08:23 UTC

Technical Analysis

The Linux kernel's SUNRPC implementation had a vulnerability in the gss_krb5_unwrap_v2() function where it read EC and RRC header fields at offsets ptr+4 and ptr+6 without first confirming the token length was at least 16 bytes. This led to out-of-bounds reads on short tokens. Additionally, the rotate_left() helper passed a calculated base offset to xdr_buf_subsegment() without verifying base was within buffer length, causing unsigned integer wrap and potential divide-by-zero errors. The cleanup code contained a BUG_ON() check that was logically dead and could not detect unsigned underflow, resulting in a large memmove() with an incorrect size. The patch introduced four defense-in-depth guards: rejecting tokens shorter than the header length, early returns in rotate_left() and _rotate_left() to prevent faults, and replacing the dead BUG_ON() with a live check returning an error code.

Potential Impact

The vulnerability could lead to out-of-bounds memory reads and unsafe memory operations within the kernel, potentially causing memory corruption or kernel crashes. The presence of a large memmove() with an incorrect size due to unsigned underflow could destabilize the system. However, no known exploits in the wild have been reported.

Mitigation Recommendations

A fix has been implemented that adds multiple defensive checks inside the gss_krb5_unwrap_v2 core function to ensure safe operation regardless of caller validation. Users should update to the patched Linux kernel version containing these fixes 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-h928-qw5v-x6vj
Osv Schema Version
1.4.0
Aliases
["CVE-2026-89542"]

Threat ID: 6aa4a01255bf5e2cf5a866bd

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

Last enriched: 09/12/2026, 01:08:23 UTC

Last updated: 09/12/2026, 01:08:23 UTC

Views: 3

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