CVE-2026-31637: rxrpc: reject undecryptable rxkad response tickets
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
rxrpc: reject undecryptable rxkad response tickets
rxkad_decrypt_ticket() decrypts the RXKAD response ticket and then parses the buffer as plaintext without checking whether crypto_skcipher_decrypt() succeeded.
A malformed RESPONSE can therefore use a non-block-aligned ticket length, make the decrypt operation fail, and still drive the ticket parser with attacker-controlled bytes.
Check the decrypt result and abort the connection with RXKADBADTICKET when ticket decryption fails.
The Linux kernel CVE team has assigned CVE-2026-31637 to this issue.
Affected and fixed versions
===========================
Issue introduced in 2.6.22 with commit 17926a79320afa9b95df6b977b40cca6d8713cea and fixed in 6.6.135 with commit 47073aab8a3a5a7b41c9bd37d2a3dcbeeccd6c8a Issue introduced in 2.6.22 with commit 17926a79320afa9b95df6b977b40cca6d8713cea and fixed in 6.12.82 with commit a149dcae23309df9de1c3b6b5d468610ef5ab7de Issue introduced in 2.6.22 with commit 17926a79320afa9b95df6b977b40cca6d8713cea and fixed in 6.18.23 with commit 22f6258e7b31dba9bf88dce4e3ee7f0f20072e60 Issue introduced in 2.6.22 with commit 17926a79320afa9b95df6b977b40cca6d8713cea and fixed in 6.19.13 with commit 58fcd1b156152613ba00a064a129fb69507ddd7d Issue introduced in 2.6.22 with commit 17926a79320afa9b95df6b977b40cca6d8713cea and fixed in 7.0 with commit fe4447cd95623b1cfacc15f280aab73a6d7340b2
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-31637
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
net/rxrpc/rxkad.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/47073aab8a3a5a7b41c9bd37d2a3dcbeeccd6c8a https://git.kernel.org/stable/c/a149dcae23309df9de1c3b6b5d468610ef5ab7de https://git.kernel.org/stable/c/22f6258e7b31dba9bf88dce4e3ee7f0f20072e60 https://git.kernel.org/stable/c/58fcd1b156152613ba00a064a129fb69507ddd7d https://git.kernel.org/stable/c/fe4447cd95623b1cfacc15f280aab73a6d7340b2