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 E33383E0226 for ; Fri, 24 Apr 2026 14:48:07 +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=1777042088; cv=none; b=Rm4OqmLNnRNwImdZnFqF2FVlAToQSKQwhUkQaMdlzTu+rbMhz37H1f05oi9ObKkc9QWi9ygznNonaUe0ebA6G7f1/uiwzgrDrmkXIP0itgLd5WdwWO5MVkvWJoVSn9CfaybrgWpf3D26lPzLNB607g9xh9LJmKVJBRlBaK87Ty4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777042088; c=relaxed/simple; bh=xaiCIEvq21wrTrMlE/TYeVnBM73NIDmyIBcRAz3h4bI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=a81ttnT9XOpZMRBHN+r6pcVkBwxQhOnmjiZYoUdcapGEsnzA/LULP0w0Uq1wYAZumVt4ot31JZm42Ue5hX5l7qxfmGo2p6h/QTgoUmE82d/0LG7fdSYrveh4H8sNxXTaCHhiKqPxo1GX4q/1PYlqqb/q4trXf+q64caESFlECR4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=fjhFSB3B; 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="fjhFSB3B" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7009DC19425; Fri, 24 Apr 2026 14:48:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777042087; bh=xaiCIEvq21wrTrMlE/TYeVnBM73NIDmyIBcRAz3h4bI=; h=From:To:Cc:Subject:Date:Reply-To:From; b=fjhFSB3Btx8ZMiTaGYciHjWmN1uWyAHuqLWaoaOth5Vd1pgvIim5R/njhWQO9EaA6 E6RNGahUF+IlZltHefbIblZYYsZBeY8NlpOW32fTT4QTiXOaJC92p/R/YuGkq2PoT1 svGKiA0r/hNrvQ66zPE0t8zcakc3ilrAIcXE1tNI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31636: rxrpc: fix RESPONSE authenticator parser OOB read Date: Fri, 24 Apr 2026 16:45:58 +0200 Message-ID: <2026042455-CVE-2026-31636-2951@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=3366; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=S/y/YBfcDjqFovDJL6s6qyExgpx41ZJ2wG5ulhbjUr0=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmvm5Qzk/QqBXfc+ML1cenuEPUG2StcK+fw/BI5amD4d OkDw6mHOmJYGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiE94xzNiykTuKq4Dz7Ouy LhkJ/tWmG5eYMyzoTLi5QWmC5eHd38rKknvW2BQplucDAA== 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 RESPONSE authenticator parser OOB read rxgk_verify_authenticator() copies auth_len bytes into a temporary buffer and then passes p + auth_len as the parser limit to rxgk_do_verify_authenticator(). Since p is a __be32 *, that inflates the parser end pointer by a factor of four and lets malformed RESPONSE authenticators read past the kmalloc() buffer. Decoded from the original latest-net reproduction logs with scripts/decode_stacktrace.sh: BUG: KASAN: slab-out-of-bounds in rxgk_verify_response() Call Trace: dump_stack_lvl() [lib/dump_stack.c:123] print_report() [mm/kasan/report.c:379 mm/kasan/report.c:482] kasan_report() [mm/kasan/report.c:597] rxgk_verify_response() [net/rxrpc/rxgk.c:1103 net/rxrpc/rxgk.c:1167 net/rxrpc/rxgk.c:1274] 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] Allocated by task 54: rxgk_verify_response() [include/linux/slab.h:954 net/rxrpc/rxgk.c:1155 net/rxrpc/rxgk.c:1274] rxrpc_process_connection() [net/rxrpc/conn_event.c:266 net/rxrpc/conn_event.c:364 net/rxrpc/conn_event.c:386] Convert the byte count to __be32 units before constructing the parser limit. The Linux kernel CVE team has assigned CVE-2026-31636 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit 9d1d2b59341f58126a69b51f9f5f8ccb9f12e54a and fixed in 6.18.23 with commit 7875f3d9777bd4e9892c4db830571ab8ac2044c0 Issue introduced in 6.16 with commit 9d1d2b59341f58126a69b51f9f5f8ccb9f12e54a and fixed in 6.19.13 with commit 20a188775a9a9982d1987e12660d9b44b40a6c99 Issue introduced in 6.16 with commit 9d1d2b59341f58126a69b51f9f5f8ccb9f12e54a and fixed in 7.0 with commit 3e3138007887504ee9206d0bfb5acb062c600025 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-31636 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/7875f3d9777bd4e9892c4db830571ab8ac2044c0 https://git.kernel.org/stable/c/20a188775a9a9982d1987e12660d9b44b40a6c99 https://git.kernel.org/stable/c/3e3138007887504ee9206d0bfb5acb062c600025