CVE-2026-31635
JSON

7.5high

rxrpc: fix oversized RESPONSE authenticator length check

Severity
7.5high CVSS:3.1 by Linux
Exploit likelihood
1.15% (higher than 67% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: rxrpc: fix oversized RESPONSE authenticator length check rxgk_verify_response() decodes auth_len 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 rxgk_decrypt_skb(), which can later reach skb_to_sgvec() with an impossible length and hit BUG_ON(len). Decoded from the original latest-net reproduction logs with scripts/decode_stacktrace.sh: RIP: __skb_to_sgvec() [net/core/skbuff.c:5285 (discriminator 1)] Call Trace: skb_to_sgvec() [net/core/skbuff.c:5305] rxgk_decrypt_skb() [net/rxrpc/rxgk_common.h:81] rxgk_verify_response() [net/rxrpc/rxgk.c:1268] rxrpc_process_connection() [net/rxrpc/conn_event.c:266 net/rxrpc/conn_event.c:364 net/rxrpc/conn_event.c:386] process_one_work() [kernel/workqueue.c:3281] worker_thread() [kernel/workqueue.c:3353 kernel/workqueue.c:3440] kthread() [kernel/kthread.c:436] ret_from_fork() [arch/x86/kernel/process.c:164] Reject authenticator lengths that exceed the remaining packet payload.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 9d1d2b59341f58126a69b51f9f5f8ccb9f12e54a before beee051f259acd286fed64c32c2b31e6f5097eb5, from 9d1d2b59341f58126a69b51f9f5f8ccb9f12e54a before e2f1a80d8b1ed6a5ae585a399c2b46500bdcc305, from 9d1d2b59341f58126a69b51f9f5f8ccb9f12e54a before a2567217ade970ecc458144b6be469bc015b23e5, 6.16
Not affected: before 6.16, from 6.18.23 up to 6.18.*, from 6.19.13 up to 6.19.*, from 7.0 up to *
CVE List
linux linux_kernelfrom 6.16.1 before 6.18.23, from 6.19 before 6.19.13, 6.16, 7.0NVD

Classification

CWE-130

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: rxrpc: fix oversized RESPONSE authenticator length check rxgk_verify_response() decodes auth_len 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 rxgk_decrypt_skb(), which can later reach skb_to_sgvec() with an impossible length and hit BUG_ON(len). Decoded from the original latest-net reproduction logs with scripts/decode_stacktrace.sh: RIP: __skb_to_sgvec() [net/core/skbuff.c:5285 (discriminator 1)] Call Trace: skb_to_sgvec() [net/core/skbuff.c:5305] rxgk_decrypt_skb() [net/rxrpc/rxgk_common.h:81] rxgk_verify_response() [net/rxrpc/rxgk.c:1268] rxrpc_process_connection() [net/rxrpc/conn_event.c:266 net/rxrpc/conn_event.c:364 net/rxrpc/conn_event.c:386] process_one_work() [kernel/workqueue.c:3281] worker_thread() [kernel/workqueue.c:3353 kernel/workqueue.c:3440] kthread() [kernel/kthread.c:436] ret_from_fork() [arch/x86/kernel/process.c:164] Reject authenticator lengths that exceed the remaining packet payload.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: rxrpc: corrección de la comprobación de longitud de autenticador RESPONSE sobredimensionado rxgk_verify_response() decodifica auth_len del paquete y se supone que verifica que cabe en los bytes restantes. La comprobación existente está invertida, por lo que los autenticadores RESPONSE sobredimensionados son aceptados y pasados a rxgk_decrypt_skb(), lo que puede llegar más tarde a skb_to_sgvec() con una longitud imposible y activar BUG_ON(len). Decodificado de los registros de reproducción latest-net originales con scripts/decode_stacktrace.sh: RIP: __skb_to_sgvec() [net/core/skbuff.c:5285 (discriminador 1)] Traza de Llamadas: skb_to_sgvec() [net/core/skbuff.c:5305] rxgk_decrypt_skb() [net/rxrpc/rxgk_common.h:81] rxgk_verify_response() [net/rxrpc/rxgk.c:1268] rxrpc_process_connection() [net/rxrpc/conn_event.c:266 net/rxrpc/conn_event.c:364 net/rxrpc/conn_event.c:386] process_one_work() [kernel/workqueue.c:3281] worker_thread() [kernel/workqueue.c:3353 kernel/workqueue.c:3440] kthread() [kernel/kthread.c:436] ret_from_fork() [arch/x86/kernel/process.c:164] Rechazar longitudes de autenticador que excedan la carga útil restante del paquete.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31635 changed 2026-08-05CVE Terms of Use
NVDCVE-2026-31635 changed 2026-11-11Public domain