CVE-2026-46085: rxrpc: Fix rxkad crypto unalignment handling
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
rxrpc: Fix rxkad crypto unalignment handling
Fix handling of a packet with a misaligned crypto length. Also handle non-ENOMEM errors from decryption by aborting. Further, remove the WARN_ON_ONCE() so that it can't be remotely triggered (a trace line can still be emitted).
The Linux kernel CVE team has assigned CVE-2026-46085 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.6.135 with commit 9853917f9edf08efb0b55c26d9eb8340f126d9e9 and fixed in 6.6.140 with commit f1c6bd0cc786a8fa74829ce3c4b3673944a308f4 Issue introduced in 6.12.82 with commit e9c369d58785044427450350ad32d6a2497fb379 and fixed in 6.12.86 with commit 440d20d95e844b657a93a0b2dcc2aae155efdce6 Issue introduced in 6.18.23 with commit bf4d6e4a6856eedeb7f66eb91224115bfff4e2cb and fixed in 6.18.27 with commit f0d3efd03b2a9e0f1ffa6df8fcb264af3d494286 Issue introduced in 7.0 with commit f93af41b9f5f798823d0d0fb8765c2a936d76270 and fixed in 7.0.4 with commit af9271eb666d07b6f65612dc160a47f7cb5220ed Issue introduced in 7.0 with commit f93af41b9f5f798823d0d0fb8765c2a936d76270 and fixed in 7.1-rc1 with commit def304aae2edf321d2671fd6ca766a93c21f877e Issue introduced in 6.19.13 with commit 5cdf57eda01a1ffaeb61ac39ec4dcc94a690431e
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-46085
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:
include/trace/events/rxrpc.h
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/f1c6bd0cc786a8fa74829ce3c4b3673944a308f4 https://git.kernel.org/stable/c/440d20d95e844b657a93a0b2dcc2aae155efdce6 https://git.kernel.org/stable/c/f0d3efd03b2a9e0f1ffa6df8fcb264af3d494286 https://git.kernel.org/stable/c/af9271eb666d07b6f65612dc160a47f7cb5220ed https://git.kernel.org/stable/c/def304aae2edf321d2671fd6ca766a93c21f877e