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 622023E0235 for ; Fri, 24 Apr 2026 14:48:51 +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=1777042131; cv=none; b=ct5MRyweMYlBum1629JXKygowNSiTv+hd52eOjD6dPVLcAHuV5xfBFargotV+e13I2V4Sac0Flc0JiPMzxG8yxgQ5XT5naVPciA9q0BMP5L/Rrcl09GhnZVmTbflDuW8wapnRFdsfnlvmwQ7z3R2n0a+44YL9bg5hrCKlEt0tds= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777042131; c=relaxed/simple; bh=WgRsVjded+8tuc3c0cH3/RtRWKejgFli0gZwuinVvko=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kApG+qsKdI0AoEvVIhyq/n9+nAp/wxZ+hRL7M8uunN86RGsPM9fqsYT7GgArut+ZR0y83RyX4sfPS6kZ4Wgd0RJGSG++mKSblohzfilfDrJtBzVPm7gCX1pKhb3/yAfgYKTSz08+4WRNEvcOMgovfQENL1fGRTdZzcR+WYR2P8A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=K1EE7YZY; 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="K1EE7YZY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EBFFAC19425; Fri, 24 Apr 2026 14:48:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777042131; bh=WgRsVjded+8tuc3c0cH3/RtRWKejgFli0gZwuinVvko=; h=From:To:Cc:Subject:Date:Reply-To:From; b=K1EE7YZYym5YDZHYrg0E2BFWGYGQrNSpGQizG1EiJ9NgFPMuOmtkiQlVOMaPuT1k6 jUmgOITfdzHBWd9nqy2rPZ9sTFbsDs19DVpWvXDqSxxZI8x53CP45nVKk9kr+K59Lz IRodbj+pDKqIesB3+970rDzy74J/gqNKBHbsDi8M= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31638: rxrpc: Only put the call ref if one was acquired Date: Fri, 24 Apr 2026 16:46:00 +0200 Message-ID: <2026042456-CVE-2026-31638-e40c@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=2992; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=aRz/JuSX2sAGXvDGm1WtFhCq9aTFc5/vopOAfzgd7as=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmvm1RYDz4/9XzXi1o2rwPWzk/zTp7RXa21P/EKy7/8d zk281qlOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiJycwLLjEMffbzTNufJNX tcxbyXLrY9JCtTKGBXMXhNXXnTkmul4kgbE4blVIjtWepQA= 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: Only put the call ref if one was acquired rxrpc_input_packet_on_conn() can process a to-client packet after the current client call on the channel has already been torn down. In that case chan->call is NULL, rxrpc_try_get_call() returns NULL and there is no reference to drop. The client-side implicit-end error path does not account for that and unconditionally calls rxrpc_put_call(). This turns a protocol error path into a kernel crash instead of rejecting the packet. Only drop the call reference if one was actually acquired. Keep the existing protocol error handling unchanged. The Linux kernel CVE team has assigned CVE-2026-31638 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit 5e6ef4f1017c7f844e305283bbd8875af475e2fc and fixed in 6.6.135 with commit b8f66447448d6c305a51413a67ec8ed26aa7d1dd Issue introduced in 6.2 with commit 5e6ef4f1017c7f844e305283bbd8875af475e2fc and fixed in 6.12.82 with commit 0c156aff8a2d4fa0d61db7837641975cf0e5452d Issue introduced in 6.2 with commit 5e6ef4f1017c7f844e305283bbd8875af475e2fc and fixed in 6.18.23 with commit 8299ca146489664e3c0c90a3b8900d8335b1ede4 Issue introduced in 6.2 with commit 5e6ef4f1017c7f844e305283bbd8875af475e2fc and fixed in 6.19.13 with commit 9fb09861e2b8d1abfe2efaf260c9f1d30080ea38 Issue introduced in 6.2 with commit 5e6ef4f1017c7f844e305283bbd8875af475e2fc and fixed in 7.0 with commit 6331f1b24a3e85465f6454e003a3e6c22005a5c5 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-31638 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/io_thread.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/b8f66447448d6c305a51413a67ec8ed26aa7d1dd https://git.kernel.org/stable/c/0c156aff8a2d4fa0d61db7837641975cf0e5452d https://git.kernel.org/stable/c/8299ca146489664e3c0c90a3b8900d8335b1ede4 https://git.kernel.org/stable/c/9fb09861e2b8d1abfe2efaf260c9f1d30080ea38 https://git.kernel.org/stable/c/6331f1b24a3e85465f6454e003a3e6c22005a5c5