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 C66B5438FED for ; Wed, 6 May 2026 11:34:03 +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=1778067243; cv=none; b=boTHffMZ70hICZRclnZaigrM8IxR1FaL6uKTP3YfVAYPsMrYeOm09kPBPtTUebuDzob+AhrHnTXt682SZvydA+ehKrcLq2aYBw9ySRfzF9Kn3KwkJjj8cXk0OzGca1kROfJfceqOtzvhASE3yQBWk9HPQMYxR5BO2QQpmO2iNoM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778067243; c=relaxed/simple; bh=dtC7WaOX4LfyZhajLZ3OKtov5UQXtcZmMBxeIXlagzc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Sye36zn7x/m0li9cKhLSnLdfolDcn6Mncn+xIA8hVdlXAR8QWxdFAWiylUyE1q5cI2GNnMTKIqccfqNVIG4z1e9mLwsC+RHBP5DdVUc4dUhdyw71EJixYEl+uxaudXHt3KCSBeoaMVSeknfhxlxDjWrNVxTgNN2rUOIsK0XtME8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mWa9jFd1; 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="mWa9jFd1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5C62BC2BCB8; Wed, 6 May 2026 11:34:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778067243; bh=dtC7WaOX4LfyZhajLZ3OKtov5UQXtcZmMBxeIXlagzc=; h=From:To:Cc:Subject:Date:Reply-To:From; b=mWa9jFd1/YBBC2goqG8OK3ymC388YSQSf6ZCVCnCx9wXOlhSW9OdCzvKvr9iA7gjI 4B9kOHd69FiRrWI8DiZ3EhAfuHxrkVvLtXCdZDiSF2Gm7nvEILE+rzOVNYdXZSrH7k B3JlxO2dq9opYvlMfCFaOAUCAgt28/S2icUVTYv8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43226: net/rds: No shortcut out of RDS_CONN_ERROR Date: Wed, 6 May 2026 13:29:02 +0200 Message-ID: <2026050654-CVE-2026-43226-496c@gregkh> X-Mailer: git-send-email 2.54.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=3831; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=zpNAPh4DculsHk9RYBVQndJzX2L3bCOwQH4YWj5O/OQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/VXfPd98vt1zsrMvVL1u2Tvh8/Yz7wn8VsWfs3TQXX rLl4s2r7ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ2OxlmO9hp9lluChRtG7H 9fLETSemqN5+YsowV/hTi8SsC3M+XOEs9totKxpx64eTHQA= 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: net/rds: No shortcut out of RDS_CONN_ERROR RDS connections carry a state "rds_conn_path::cp_state" and transitions from one state to another and are conditional upon an expected state: "rds_conn_path_transition." There is one exception to this conditionality, which is "RDS_CONN_ERROR" that can be enforced by "rds_conn_path_drop" regardless of what state the condition is currently in. But as soon as a connection enters state "RDS_CONN_ERROR", the connection handling code expects it to go through the shutdown-path. The RDS/TCP multipath changes added a shortcut out of "RDS_CONN_ERROR" straight back to "RDS_CONN_CONNECTING" via "rds_tcp_accept_one_path" (e.g. after "rds_tcp_state_change"). A subsequent "rds_tcp_reset_callbacks" can then transition the state to "RDS_CONN_RESETTING" with a shutdown-worker queued. That'll trip up "rds_conn_init_shutdown", which was never adjusted to handle "RDS_CONN_RESETTING" and subsequently drops the connection with the dreaded "DR_INV_CONN_STATE", which leaves "RDS_SHUTDOWN_WORK_QUEUED" on forever. So we do two things here: a) Don't shortcut "RDS_CONN_ERROR", but take the longer path through the shutdown code. b) Add "RDS_CONN_RESETTING" to the expected states in "rds_conn_init_shutdown" so that we won't error out and get stuck, if we ever hit weird state transitions like this again." The Linux kernel CVE team has assigned CVE-2026-43226 to this issue. Affected and fixed versions =========================== Fixed in 5.10.252 with commit 9bcd7c00691a2db9745817d5ea79262a503b135c Fixed in 5.15.202 with commit a179ac7be8f5a650d0068040705f4cddd6ca369c Fixed in 6.1.165 with commit 19e384a7d00d888303a8285977cdf1970c6cccd6 Fixed in 6.6.128 with commit f0f729bdffb08af32e0f54521b81b8a9e0321f16 Fixed in 6.12.75 with commit 81248b1eb3c5954cc1fc7b33b7c03e34d20cb8c8 Fixed in 6.18.16 with commit 899ef00963ce76f9fc421a7d02335fe4ead6389b Fixed in 6.19.6 with commit 9ff599a9be784a808c36765086e3db2144aa3b66 Fixed in 7.0 with commit ad22d24be635c6beab6a1fdd3f8b1f3c478d15da 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-43226 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/rds/connection.c net/rds/tcp_listen.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/9bcd7c00691a2db9745817d5ea79262a503b135c https://git.kernel.org/stable/c/a179ac7be8f5a650d0068040705f4cddd6ca369c https://git.kernel.org/stable/c/19e384a7d00d888303a8285977cdf1970c6cccd6 https://git.kernel.org/stable/c/f0f729bdffb08af32e0f54521b81b8a9e0321f16 https://git.kernel.org/stable/c/81248b1eb3c5954cc1fc7b33b7c03e34d20cb8c8 https://git.kernel.org/stable/c/899ef00963ce76f9fc421a7d02335fe4ead6389b https://git.kernel.org/stable/c/9ff599a9be784a808c36765086e3db2144aa3b66 https://git.kernel.org/stable/c/ad22d24be635c6beab6a1fdd3f8b1f3c478d15da