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

SUNRPC: Reject short RFC 4121 MIC tokens in gss_krb5_verify_mic_v2

gss_krb5_verify_mic_v2() reads the token ID at ptr[0..1], the flags
byte at ptr[2], and padding at ptr[3..7], then passes
ptr + GSS_KRB5_TOK_HDR_LEN and cksum_len to gss_krb5_mic_build_sg().
None of these accesses check read_token->len first.

The minimum safe token size is GSS_KRB5_TOK_HDR_LEN (16) plus
ctx->krb5e->cksum_len (12-24, depending on the enctype). All callers
accept shorter tokens from the wire:

- gss_unwrap_resp_integ() enforces only an upper bound
(offset + len <= rcv_buf->len) before allocating
mic.data = kmalloc(len) and passing it to gss_verify_mic().
A malicious NFS server can therefore supply a short checksum
opaque, producing a small slab allocation that the Kerberos MIC
verifier reads past.

- gss_validate() enforces only len <= RPC_MAX_AUTH_SIZE (400)
before passing the wire-supplied length to
gss_validate_seqno_mic(), which constructs a mic xdr_netobj
and calls gss_verify_mic().

- svcauth_gss_verify_header() enforces only
checksum.len >= XDR_UNIT (4 bytes) before dispatching to
gss_verify_mic().

- svcauth_gss_unwrap_integ() checks only that the checksum fits
in gsd->gsd_scratch.

Add a length guard at the top of gss_krb5_verify_mic_v2(), before any
ptr[] access or scatterlist construction. Well-formed MIC tokens from
gss_krb5_get_mic_v2() already have exactly GSS_KRB5_TOK_HDR_LEN +
cksum_len bytes, so valid traffic is unaffected.
Published: 2026-09-11
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Out-of-bounds Read
Action: Apply Patch
AI Analysis

Impact

The vulnerability occurs in the Linux kernel’s SUNRPC implementation, where the function gss_krb5_verify_mic_v2() reads fields from a Kerberos MIC token without first verifying the token’s length. An attacker can send an NFS request containing a short, malformed token that satisfies only minimal bounds checks performed by higher‑level handlers. The kernel then reads past the allocated buffer, creating an out‑of‑) that could leak kernel memory contents or provide information useful for a further exploit. The bug does not immediately grant code execution but enables information disclosure and may assist in chaining with other weaknesses.

Affected Systems

This issue affects all Linux kernel releases that predated the commit adding a length guard to gss_krb5_verify_mic_v2(). The publicly available data does not provide exact version numbers, so any kernel running prior to the patch referenced by the commit literature is considered vulnerable.

Risk and Exploitability

The CVSS score of 6.4 categorizes the problem as moderate severity. The EPSS score is < 1%, and the vulnerability is not listed in the CISA KEV catalog. However, the attack surface is network‑based through NFS servers; a compromised or untrusted NFS server could target affected clients. Given the nature of the fault, the risk is significant for environments exposed to potential malicious NFS traffic, especially those using GSS‑enabled mounts.

Generated by OpenCVE AI on September 13, 2026 at 04:01 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that incorporates the commit adding a length guard to gss_krb5_verify_mic_v2(). The patch is documented in the kernel commit logs linked in the advisory.
  • If a kernel upgrade cannot be performed immediately, disable or tightly restrict NFS services that use GSS authentication, or reconfigure mounts to use non‑GSS mechanisms for clients that do not require Kerberos authentication.
  • Implement network controls, such as firewall rules or NFS quotas, to limit traffic from untrusted NFS servers and mitigate exposure to malformed MIC tokens.

Generated by OpenCVE AI on September 13, 2026 at 04:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Metrics cvssV3_1

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

cvssV3_1

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


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

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

None

cvssV3_1

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

threat_severity

Moderate


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 short RFC 4121 MIC tokens in gss_krb5_verify_mic_v2 gss_krb5_verify_mic_v2() reads the token ID at ptr[0..1], the flags byte at ptr[2], and padding at ptr[3..7], then passes ptr + GSS_KRB5_TOK_HDR_LEN and cksum_len to gss_krb5_mic_build_sg(). None of these accesses check read_token->len first. The minimum safe token size is GSS_KRB5_TOK_HDR_LEN (16) plus ctx->krb5e->cksum_len (12-24, depending on the enctype). All callers accept shorter tokens from the wire: - gss_unwrap_resp_integ() enforces only an upper bound (offset + len <= rcv_buf->len) before allocating mic.data = kmalloc(len) and passing it to gss_verify_mic(). A malicious NFS server can therefore supply a short checksum opaque, producing a small slab allocation that the Kerberos MIC verifier reads past. - gss_validate() enforces only len <= RPC_MAX_AUTH_SIZE (400) before passing the wire-supplied length to gss_validate_seqno_mic(), which constructs a mic xdr_netobj and calls gss_verify_mic(). - svcauth_gss_verify_header() enforces only checksum.len >= XDR_UNIT (4 bytes) before dispatching to gss_verify_mic(). - svcauth_gss_unwrap_integ() checks only that the checksum fits in gsd->gsd_scratch. Add a length guard at the top of gss_krb5_verify_mic_v2(), before any ptr[] access or scatterlist construction. Well-formed MIC tokens from gss_krb5_get_mic_v2() already have exactly GSS_KRB5_TOK_HDR_LEN + cksum_len bytes, so valid traffic is unaffected.
Title SUNRPC: Reject short RFC 4121 MIC tokens in gss_krb5_verify_mic_v2
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-13T06:30:34.939Z

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

Link: CVE-2026-89537

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

Modified: 2026-09-13T07:17:16.000

Link: CVE-2026-89537

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-89537 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-13T04:15:13Z

Weaknesses