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 8299B1E49F for ; Mon, 15 Sep 2025 14:26:50 +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=1757946410; cv=none; b=p5MMtIIFxOyUbM49OGrNyz6UuLNpwVfVyKlV0qu2NqggGi8MMP7dF0PxbPVeJJCrdfgS/eVDlAZ8KbWX+eLiKEJ69cIqq2UECANgP9kmyFAqim4PzwvRp+BoDsUz+L249fyGw+Qfed5q5RNv9+y/j7POKv0LtOa5OfUo8YFTN6U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757946410; c=relaxed/simple; bh=ecDGH4JvC36Mt1dYr+NSByvZEPzSYgEofb0b7nZBA5s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VY6SbPB5tK9Jtm2XI9BI3nPhJIHsp12eg7NY26v6HMPhXZGx/RjTEZe8H78s433shCnarNbvi9DDD7iHrGEgHavcWYqnAalKTX6g7fiHlYVTFv3FQCXJgW9ZWDTz5I7I3+CslD5Sd7LBPBBgxzeSgzGa2zoTBweVR4ektXGY1tg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=A6LsmxzF; 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="A6LsmxzF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 96D94C4CEF1; Mon, 15 Sep 2025 14:26:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757946410; bh=ecDGH4JvC36Mt1dYr+NSByvZEPzSYgEofb0b7nZBA5s=; h=From:To:Cc:Subject:Date:Reply-to:From; b=A6LsmxzFs/6JF+g6lEgmEul5hmQhMIPpmM9P8n1m2saINOmBm/zUTP6PfZIx4ysZ1 2sxWXmT5qpw2csRVUiCt3sz+a3neNU3wEoFcxm/QwvbzEewbrR0aNvyOHoQbZ7Lb2t z+r2Y/SNBVUc08mKfmjrl77Plc5iUSRQhpwk46pk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53218: rxrpc: Make it so that a waiting process can be aborted Date: Mon, 15 Sep 2025 16:21:52 +0200 Message-ID: <2025091512-CVE-2023-53218-0fca@gregkh> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2641; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=zbW3li1T5cH65xdvreD3Np4zsvg1Ns7rzy0M74xdqXY=; b=owGbwMvMwCRo6H6F97bub03G02pJDBknFG7cOlK9aNdxX+ZrHE7da7jyWs9Lriw4YTjBXndF/ /s3d5YKd8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEVgUxzLN98kLs0cWAixxr fnMt8fu+9+eTaC2GeXr6GT+lb3+p75wneeTkgtjpPydZmAIA 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: Make it so that a waiting process can be aborted When sendmsg() creates an rxrpc call, it queues it to wait for a connection and channel to be assigned and then waits before it can start shovelling data as the encrypted DATA packet content includes a summary of the connection parameters. However, sendmsg() may get interrupted before a connection gets assigned and further sendmsg() calls will fail with EBUSY until an assignment is made. Fix this so that the call can at least be aborted without failing on EBUSY. We have to be careful here as sendmsg() mustn't be allowed to start the call timer if the call doesn't yet have a connection assigned as an oops may follow shortly thereafter. The Linux kernel CVE team has assigned CVE-2023-53218 to this issue. Affected and fixed versions =========================== Issue introduced in 4.11 with commit 540b1c48c37ac0ad66212004db21e1ff7e2d78be and fixed in 6.2.16 with commit 7161cf61c64e9e9413d790f2fa2b9dada71a2249 Issue introduced in 4.11 with commit 540b1c48c37ac0ad66212004db21e1ff7e2d78be and fixed in 6.3.3 with commit 876d96faacbc407daf4978d7ec95051b68f5344a Issue introduced in 4.11 with commit 540b1c48c37ac0ad66212004db21e1ff7e2d78be and fixed in 6.4 with commit 0eb362d254814ce04848730bf32e75b8ee1a4d6c 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-2023-53218 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/sendmsg.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/7161cf61c64e9e9413d790f2fa2b9dada71a2249 https://git.kernel.org/stable/c/876d96faacbc407daf4978d7ec95051b68f5344a https://git.kernel.org/stable/c/0eb362d254814ce04848730bf32e75b8ee1a4d6c