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

Published May 1, 2026
·
Updated

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

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

In rxrpcpreparse(), 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 (rxrpcpreparsexdrrxkad()) correctly validates the ticket length against AFSTOKENRKTIXMAX, 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 rxrpcread(), the total token size (toksize) calculation results in a value that exceeds AFSTOKENLENGTHMAX, triggering a WARNON().

[ 2001.302904] WARNING: CPU: 2 PID: 2108 at net/rxrpc/key.c:778 rxrpcread+0x109/0x5c0 [rxrpc]

Fix this by adding a check in the non-XDR parsing path of rxrpcpreparse() to ensure the ticket length does not exceed AFSTOKENRKTIXMAX, bringing it into parity with the XDR parsing logic.

Affected Software

8 affected componentsFixes available
Linux Linux kernel
Microsoft azl3 kernel 6.6.134.1-2
Linux Linux kernel>=3.17<6.6.136
Linux Linux kernel>=6.7<6.12.84
Linux Linux kernel>=6.13<6.18.25
Linux Linux kernel>=6.19<7.0.2
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the non-XDR parsing path of rxrpc_preparse(), validate that the ticket length does not exceed AFSTOKEN_RK_TIX_MAX, matching the validation performed by rxrpc_preparse_xdr_rxkad().

Event History

May 1, 2026
CVE Published
via MITRE·01:55 PM
Data Sourced
via MITRE·01:55 PM
Description
Data Sourced
via NVD·02:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 2, 2026
Data Sourced
via Microsoft·08:04 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-31696?

CVE-2026-31696 is classified as a medium severity vulnerability due to the potential for undetected ticket length issues.

2

How do I fix CVE-2026-31696?

Fixing CVE-2026-31696 involves updating the Linux kernel to a version where the vulnerability has been addressed.

3

What systems are affected by CVE-2026-31696?

CVE-2026-31696 affects the Linux kernel, specifically the rxrpc module during key payload parsing.

4

What are the risks associated with CVE-2026-31696?

The risks include potential security weaknesses related to validation issues, which could be exploited by an attacker.

5

Is there a patch available for CVE-2026-31696?

Yes, a patch is available in updated versions of the Linux kernel that address the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203