CVE-2026-31635: rxrpc: fix oversized RESPONSE authenticator length check
In the Linux kernel, the following vulnerability has been resolved:
rxrpc: fix oversized RESPONSE authenticator length check
rxgkverifyresponse() decodes authlen from the packet and is supposed to verify that it fits in the remaining bytes. The existing check is inverted, so oversized RESPONSE authenticators are accepted and passed to rxgkdecryptskb(), which can later reach skbtosgvec() with an impossible length and hit BUGON(len).
Decoded from the original latest-net reproduction logs with scripts/decodestacktrace.sh:
RIP: skbtosgvec() [net/core/skbuff.c:5285 (discriminator 1)] Call Trace: skbtosgvec() [net/core/skbuff.c:5305] rxgkdecryptskb() [net/rxrpc/rxgkcommon.h:81] rxgkverifyresponse() [net/rxrpc/rxgk.c:1268] rxrpcprocessconnection() [net/rxrpc/connevent.c:266 net/rxrpc/connevent.c:364 net/rxrpc/connevent.c:386] processonework() [kernel/workqueue.c:3281] workerthread() [kernel/workqueue.c:3353 kernel/workqueue.c:3440] kthread() [kernel/kthread.c:436] retfromfork() [arch/x86/kernel/process.c:164]
Reject authenticator lengths that exceed the remaining packet payload.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-31635?
The severity of CVE-2026-31635 is classified as medium due to its potential to allow denial of service conditions.
How do I fix CVE-2026-31635?
To fix CVE-2026-31635, you should upgrade your Linux kernel to the latest patched version.
What versions of the Linux kernel are affected by CVE-2026-31635?
CVE-2026-31635 affects Linux kernel versions from 6.16.1 up to but not including 7.0-rc1.
What types of systems are impacted by CVE-2026-31635?
CVE-2026-31635 impacts systems running vulnerable versions of the Linux kernel, specifically in the RXRPC protocol.
What is the potential impact of CVE-2026-31635 if exploited?
If exploited, CVE-2026-31635 could lead to a denial of service by causing improper handling of oversized RESPONSE authenticators.