rxrpc: reject undecryptable rxkad response tickets
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 17926a79320afa9b95df6b977b40cca6d8713cea · < 22f6258e7b31dba9bf88dce4e3ee7f0f20072e60| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The rxrpc RXKAD ticket parser can process ticket bytes even when decryption fails. A malformed RESPONSE with a non-block-aligned ticket length can trigger this failure and cause attacker-controlled bytes to be parsed. The input does not specify authentication requirements or user interaction.
Engineers running the Linux kernel should check whether their build includes the rxrpc fix; affected versions are not specified.