Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 657F723C8AE for ; Fri, 24 Apr 2026 14:47:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777042059; cv=none; b=fyh8Xgdj99bL+TX2KFidb6EUr8qSlj9YPLBXj50xx6eOV8g/M4iimmYdm2Te3GCyuNZF37b+SmbtFIAS8aFSbE5mHzNnDR52qDsYb0UNv3D9uIXoJu06kOjEdI0/GhXJ+29xdSHUJ1iFO5saVjVaR3dvft6dAEE3503s6cFKM5g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777042059; c=relaxed/simple; bh=W7jqiFqCFe5ubaZJnsEKOS7hxB8OswRQeY7EbcffiNo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pHPl63Y/rVpF1NzQlc/rNf8QLr7Zl/cBBWwVBR9eyU5NvPekjL3T+NBOOrdqKr+1yvqQi8V6MF9Ptda+888Tdrr4bhwWe5Ld0Q5/2PUuiGCjsJ3fzur6UdK/CKhBtTjz4wGifML/4AQ/pfWhBJUHpMUBUX0hijnip3n+7bpCfA8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qh6YiXqR; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="qh6YiXqR" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F01FCC19425; Fri, 24 Apr 2026 14:47:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777042059; bh=W7jqiFqCFe5ubaZJnsEKOS7hxB8OswRQeY7EbcffiNo=; h=From:To:Cc:Subject:Date:Reply-To:From; b=qh6YiXqRuFC9IycUrVpigj4H7JYyIK8w3V2czDh192kGEiA2o8ZuPmALJdkKrNa2B YS4IJX/KxDgl76L0ulu9tPGqfS+V7RAPftk02PGuFOpeKJhGTMk5XbHahk1aqqSAhN mMAh1EQPO/Px1hX7Sx22RfPCAPE2WRyoSr26I3/8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31635: rxrpc: fix oversized RESPONSE authenticator length check Date: Fri, 24 Apr 2026 16:45:57 +0200 Message-ID: <2026042455-CVE-2026-31635-73bd@gregkh> X-Mailer: git-send-email 2.53.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3025; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Jl0D+aubQrQsD634I2+EPdMcbPRdojBT2Gh0onG1qac=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmvm5T7Nn3UYfr8zLkg2Ld+w8yg2OSot+dZ7ycvN+tQ3 ffx9J9FHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRW78Z5vudm8NncuzFtq1N ATt+Op5/+dKBTY1hwUyZpq31HbeZMjdEdEiq+SwSrjRyBgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-31635 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit 9d1d2b59341f58126a69b51f9f5f8ccb9f12e54a and fixed in 6.18.23 with commit beee051f259acd286fed64c32c2b31e6f5097eb5 Issue introduced in 6.16 with commit 9d1d2b59341f58126a69b51f9f5f8ccb9f12e54a and fixed in 6.19.13 with commit e2f1a80d8b1ed6a5ae585a399c2b46500bdcc305 Issue introduced in 6.16 with commit 9d1d2b59341f58126a69b51f9f5f8ccb9f12e54a and fixed in 7.0 with commit a2567217ade970ecc458144b6be469bc015b23e5 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-31635 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/rxgk.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/beee051f259acd286fed64c32c2b31e6f5097eb5 https://git.kernel.org/stable/c/e2f1a80d8b1ed6a5ae585a399c2b46500bdcc305 https://git.kernel.org/stable/c/a2567217ade970ecc458144b6be469bc015b23e5