VDB

CVE-2026-31696

CVE-2026-31696 PUBLISHED

rxrpc: Fix missing validation of ticket length in non-XDR key preparsing

Reported by linux · Published May 1, 2026

In the Linux kernel, the following vulnerability has been resolved: rxrpc: Fix missing validation of ticket length in non-XDR key preparsing In rxrpc_preparse(), there are two paths for parsing key payloads: the XDR path (for large payloads) and the non-XDR path (for payloads <= 28 bytes). While the XDR path (rxrpc_preparse_xdr_rxkad()) correctly validates the ticket length against AFSTOKEN_RK_TIX_MAX, the non-XDR path fails to do so. This allows an unprivileged user to provide a very large ticket length. When this key is later read via rxrpc_read(), the total token size (toksize) calculation results in a value that exceeds AFSTOKEN_LENGTH_MAX, triggering a WARN_ON(). [ 2001.302904] WARNING: CPU: 2 PID: 2108 at net/rxrpc/key.c:778 rxrpc_read+0x109/0x5c0 [rxrpc] Fix this by adding a check in the non-XDR parsing path of rxrpc_preparse() to ensure the ticket length does not exceed AFSTOKEN_RK_TIX_MAX, bringing it into parity with the XDR parsing logic.

EPSS 0.14% · 3.0th percentile

Risk scores

EPSS Score
0.14%
3.0th percentile

Affected products

VendorProductVersions
LinuxLinux8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247
LinuxLinux3.17, 0, 6.6.136
linuxlinux_kernel3.17, 3.17, 3.17
LinuxLinux8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247

Timeline

  • May 1, 2026 CVE Published
  • May 18, 2026 EPSS Score (26 in total, the first dated here)
  • Jun 2, 2026 Security Advisory (120 in total, the first dated here)
  • Jul 28, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (114 in total, the first dated here)
  • Nov 6, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-31696
vulnetix vdb fixes CVE-2026-31696

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-31696/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›