Description
In the Linux kernel, the following vulnerability has been resolved:

SUNRPC: Reject krb5 v2 wrap tokens with oversized ec field

gss_krb5_unwrap_v2() sets buf->len to a logical
length, which can be much smaller than head[0].iov_len
(the allocated receive-page capacity). It then calls
xdr_buf_trim() with a trim length derived from the 16-bit
"extra count" (ec) field in the Kerberos v2 token header.

The ec field is authenticated by the post-decrypt memcmp()
against the encrypted header copy, so a randomly-mutated
value is rejected. However, any peer holding a valid GSS
context can legitimately encrypt a token whose ec exceeds
the plaintext length. Per RFC 4121, such a token is
structurally malformed.

Although xdr_buf_trim() now clamps the buf->len subtraction
to avoid unsigned underflow, the buffer is still left in a
semantically invalid state (zero length, inconsistent iov
lengths) when ec is oversized.

Reject these tokens before calling xdr_buf_trim(), giving
callers a well-defined GSS_S_DEFECTIVE_TOKEN error and
keeping the xdr_buf internally consistent. The wrapped blob
begins at a nonzero offset -- both callers pass len as
offset + opaque_len -- so buf->len still counts the offset
bytes that precede the blob. Compare the trim length
against the remaining wrapped segment, buf->len - offset,
rather than the whole buffer; comparing against buf->len
alone leaves an offset-wide window in which an oversized ec
passes the test and xdr_buf_trim() cuts into the bytes ahead
of the blob.
Published: 2026-09-11
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via kernel crash
Action: Patch Kernel
AI Analysis

Impact

The Linux kernel’s SUNRPC implementation processes Kerberos v2 wrap tokens by setting a logical buffer length that may be much smaller than the allocated receive-page capacity, then trimming the buffer based on the 16-bit "extra count" (ec) field of the token header. Even though the ec value is authenticated a token whose ec exceeds the plaintext length, structural violation per RFC 4121. This trim operation can underflow, leaving the buffer zero-length and its I/O vector lengths inconsistent, which may lead to memory corruption and a kernel crash. The result is a denial‑of‑service that can terminate privileged processes.

Affected Systems

All Linux kernel distributions are affected, as the CPE matches any Linux kernel. Because no specific version ranges are listed, any system running an un fix is applied.

Risk and Exploitability

The CVSS score of 9.8 reflects the high severity of a kernel crash. The EPSS score of less than 1% indicates that active exploitation is currently unlikely, and the vulnerability is not listed in CISA's KEV catalog. Exploitation requires a valid Kerberos authentication session on a SUNRPC service, so the attack is limited to remote network actors who can send a malformed Kerberos v2 wrap token to an RPC endpoint. By doing so an attacker can trigger the kernel crash, resulting in a denial‑of‑service that disrupts privileged processes.

Generated by OpenCVE AI on September 15, 2026 at 22:11 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel release that includes the SUNRPC patch for Kerberos v2 wrap token validation
  • Apply network restrictions to reduce the attack surface, such as limiting Kerberos‑authenticated RPC endpoints to trusted networks or port filtering
  • Monitor kernel logs for GSS_S_DEFECTIVE_TOKEN messages or panic events and configure alerts for rapid incident response

Generated by OpenCVE AI on September 15, 2026 at 22:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6528-1 linux security update
History

Mon, 14 Sep 2026 12:30:00 +0000


Sun, 13 Sep 2026 06:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Sat, 12 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-131
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important


Fri, 11 Sep 2026 23:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: SUNRPC: Reject krb5 v2 wrap tokens with oversized ec field gss_krb5_unwrap_v2() sets buf->len to a logical length, which can be much smaller than head[0].iov_len (the allocated receive-page capacity). It then calls xdr_buf_trim() with a trim length derived from the 16-bit "extra count" (ec) field in the Kerberos v2 token header. The ec field is authenticated by the post-decrypt memcmp() against the encrypted header copy, so a randomly-mutated value is rejected. However, any peer holding a valid GSS context can legitimately encrypt a token whose ec exceeds the plaintext length. Per RFC 4121, such a token is structurally malformed. Although xdr_buf_trim() now clamps the buf->len subtraction to avoid unsigned underflow, the buffer is still left in a semantically invalid state (zero length, inconsistent iov lengths) when ec is oversized. Reject these tokens before calling xdr_buf_trim(), giving callers a well-defined GSS_S_DEFECTIVE_TOKEN error and keeping the xdr_buf internally consistent. The wrapped blob begins at a nonzero offset -- both callers pass len as offset + opaque_len -- so buf->len still counts the offset bytes that precede the blob. Compare the trim length against the remaining wrapped segment, buf->len - offset, rather than the whole buffer; comparing against buf->len alone leaves an offset-wide window in which an oversized ec passes the test and xdr_buf_trim() cuts into the bytes ahead of the blob.
Title SUNRPC: Reject krb5 v2 wrap tokens with oversized ec field
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-14T12:00:46.153Z

Reserved: 2026-09-11T19:38:34.721Z

Link: CVE-2026-89538

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-11T20:19:36.850

Modified: 2026-09-14T13:19:08.870

Link: CVE-2026-89538

cve-icon Redhat

Severity : Important

Publid Date: 2026-09-11T19:44:15Z

Links: CVE-2026-89538 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-15T22:15:17Z

Weaknesses
  • CWE-131

    Incorrect Calculation of Buffer Size