# CVE-2026-31696: rxrpc: Fix missing validation of ticket length in non-XDR key preparsing

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.19% (percentile 5, 2026-11-28)
- **CWE:** CWE-787
- **Published:** 2026-05-01T13:55:57.485Z
- **Modified:** 2026-11-11T21:10:00.200Z

## Who should check

- Anyone running Linux \>= 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, \< 44714dfda386884919ba366411880b6fb3c3efd3; \>= 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, \< 41a117dd80371343babc52198d1114e83eb37627; \>= 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, \< 9a397aa9b5e53ca63d4d6aefb542832eca389618; \>= 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, \< 1fa36cf495b0023e8475d038535c05e4063211e1; \>= 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, \< 4458757c020592a3094366e0fb20457383b42f92; \>= 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, \< ce383ba615339f8eaec646a166d2c2b015bb5ca0; \>= 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, \< a1be1c9ece26cea69654f28b255ff9a7906b897b; \>= 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, \< ac33733b10b484d666f97688561670afd5861383
- Anyone running Linux 3.17

## Description

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.

## Affected and fixed versions

- Linux: \>= 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, \< 44714dfda386884919ba366411880b6fb3c3efd3; \>= 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, \< 41a117dd80371343babc52198d1114e83eb37627; \>= 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, \< 9a397aa9b5e53ca63d4d6aefb542832eca389618; \>= 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, \< 1fa36cf495b0023e8475d038535c05e4063211e1; \>= 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, \< 4458757c020592a3094366e0fb20457383b42f92; \>= 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, \< ce383ba615339f8eaec646a166d2c2b015bb5ca0; \>= 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, \< a1be1c9ece26cea69654f28b255ff9a7906b897b; \>= 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, \< ac33733b10b484d666f97688561670afd5861383 (cvelist)
- Linux: 3.17 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-31696. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31696.md
Affected: Linux >= 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, < 44714dfda386884919ba366411880b6fb3c3efd3; >= 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, < 41a117dd80371343babc52198d1114e83eb37627; >= 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, < 9a397aa9b5e53ca63d4d6aefb542832eca389618; >= 8a7a3eb4ddbe7c7e639170a…
Fixed in: Linux 44714dfda386884919ba366411880b6fb3c3efd3, Linux 41a117dd80371343babc52198d1114e83eb37627, Linux 9a397aa9b5e53ca63d4d6aefb542832eca389618, Linux 1fa36cf495b0023e8475d038535c05e4063211e1, Linux 4458757c020592a3094366e0fb20457383b42f92

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-31696 being exploited?

There is no confirmed exploitation: CVE-2026-31696 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-31696?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-31696?

Linux \>= 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, \< 44714dfda386884919ba366411880b6fb3c3efd3; \>= 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, \< 41a117dd80371343babc52198d1114e83eb37627; \>= 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, \< 9a397aa9b5e53ca63d4d6aefb542832eca389618; \>= 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, \< 1fa36cf495b0023e8475d038535c05e4063211e1; \>= 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, \< 4458757c020592a3094366e0fb20457383b42f92; \>= 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, \< ce383ba615339f8eaec646a166d2c2b015bb5ca0; \>= 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, \< a1be1c9ece26cea69654f28b255ff9a7906b897b; \>= 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247, \< ac33733b10b484d666f97688561670afd5861383; Linux 3.17.

### Is there a fix for CVE-2026-31696?

Yes. Fixed in Linux 44714dfda386884919ba366411880b6fb3c3efd3, Linux 41a117dd80371343babc52198d1114e83eb37627, Linux 9a397aa9b5e53ca63d4d6aefb542832eca389618, Linux 1fa36cf495b0023e8475d038535c05e4063211e1, Linux 4458757c020592a3094366e0fb20457383b42f92. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-31696?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/1fa36cf495b0023e8475d038535c05e4063211e1>
- patch: <https://git.kernel.org/stable/c/4458757c020592a3094366e0fb20457383b42f92>
- patch: <https://git.kernel.org/stable/c/ce383ba615339f8eaec646a166d2c2b015bb5ca0>
- patch: <https://git.kernel.org/stable/c/a1be1c9ece26cea69654f28b255ff9a7906b897b>
- patch: <https://git.kernel.org/stable/c/ac33733b10b484d666f97688561670afd5861383>
- other: <https://git.kernel.org/stable/c/44714dfda386884919ba366411880b6fb3c3efd3>
- other: <https://git.kernel.org/stable/c/41a117dd80371343babc52198d1114e83eb37627>
- other: <https://git.kernel.org/stable/c/9a397aa9b5e53ca63d4d6aefb542832eca389618>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-31696>

HTML: <https://flawdb.com/CVE-2026-31696> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-31696>
