CVE-2026-31696CWE-787

CVE-2026-31696

High · published May 1, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
7.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00184 · 7.5th percentile
Weakness
CWE-787 · Out-of-bounds Write
Published
2026-05-01T18:16Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel≥ 3.17, < 6.6.1366.6.136
linux/linux_kernel≥ 6.7, < 6.12.846.12.84
linux/linux_kernel≥ 6.13, < 6.18.256.18.25
linux/linux_kernel≥ 6.19, < 7.0.27.0.2
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (9)
EPSS history
Timeline
  • 01 MAY 13:55Z
    rxrpc: Fix missing validation of ticket length in non-XDR key preparsing
    cvelistv5