From mboxrd@z Thu Jan 1 00:00:00 1970 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 CA5A72ED164 for ; Tue, 30 Dec 2025 12:25:00 +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=1767097500; cv=none; b=BPUZBS0GyGl0P9o9OKVw/gcDssWje2pZ/lxGvAB64Bc66RWctmSAai5kw5zHX1z8hZeaSN04DyceDdv+MbWUNMs/yl4iTLPhqhd2W1doUsoPJv2Iva6l3YH7LU7R2Wx9jYS8YVJIXWYyueRrzvO9002V2i5fg/od8eNoEmXVuao= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767097500; c=relaxed/simple; bh=KrMED0C3ul9BrD4i5EFuVOkKtMnVZxCXbg4aBrx63Fk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cBwfDP7dDn1NTV3SHrcwD0kBhF9j5E8V6iCKJpaVJCz6pDXFK35O3ao5otGTfY7J2nIwYyl2YRxxsHOKnd4K8+MmU1eTaQeXpg9ASXFtb16pkKH8ue9UPv/2rrsEhr6t04jkHyDsGvE4AewaDFpkZfRslxnvlf/oqXWonb/jcD0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=P7SM+RK4; 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="P7SM+RK4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2FFBDC4CEFB; Tue, 30 Dec 2025 12:25:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767097500; bh=KrMED0C3ul9BrD4i5EFuVOkKtMnVZxCXbg4aBrx63Fk=; h=From:To:Cc:Subject:Date:Reply-To:From; b=P7SM+RK4fdT4J1Zr8q9Efn7BqsXvSdLSeCqQg+Lb1PVSaerTOTKKfjzfmYMqv3L1Y pBjxGpiWohMAYpLiR0oVWdn/yLD0/SoEDJfgTesm6GpnRp6pW+zL2PEwgi9vb8HepB PlHwABWw0CH/iX1WQSeTd2c4vM8vh0AHk9qkh0VE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54306: net: tls: avoid hanging tasks on the tx_lock Date: Tue, 30 Dec 2025 13:23:59 +0100 Message-ID: <2025123034-CVE-2023-54306-e40f@gregkh> X-Mailer: git-send-email 2.52.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=3106; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xgYcvOQVCYJxtywBOLF0WbOVaBnJvNS6D1mRfCvX41k=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnBR9y4Z32cOF0ldJKb6cMM5pvtry/sMpxjcXyPYe3kF e4XVd7t7ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJzItnmB9efpQrLvqzPO99 F5kAmYCoB2fbeRjmZ8Y8q4nPe8RqeHDVSza5c/cWzCm8DgA= 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: tls: avoid hanging tasks on the tx_lock syzbot sent a hung task report and Eric explains that adversarial receiver may keep RWIN at 0 for a long time, so we are not guaranteed to make forward progress. Thread which took tx_lock and went to sleep may not release tx_lock for hours. Use interruptible sleep where possible and reschedule the work if it can't take the lock. Testing: existing selftest passes The Linux kernel CVE team has assigned CVE-2023-54306 to this issue. Affected and fixed versions =========================== Issue introduced in 5.4 with commit 79ffe6087e9145d2377385cac48d0d6a6b4225a5 and fixed in 5.4.235 with commit bde541a57b4204d0a800afbbd3d1c06c9cdb133f Issue introduced in 5.4 with commit 79ffe6087e9145d2377385cac48d0d6a6b4225a5 and fixed in 5.10.173 with commit 7123a4337bf73132bbfb5437e4dc83ba864a9a1e Issue introduced in 5.4 with commit 79ffe6087e9145d2377385cac48d0d6a6b4225a5 and fixed in 5.15.100 with commit be5d5d0637fd88c18ee76024bdb22649a1de00d6 Issue introduced in 5.4 with commit 79ffe6087e9145d2377385cac48d0d6a6b4225a5 and fixed in 6.1.18 with commit 1f800f6aae57d2d8f63d32fff383017cbc11cf65 Issue introduced in 5.4 with commit 79ffe6087e9145d2377385cac48d0d6a6b4225a5 and fixed in 6.2.5 with commit ccf1ccdc5926907befbe880b562b2a4b5f44c087 Issue introduced in 5.4 with commit 79ffe6087e9145d2377385cac48d0d6a6b4225a5 and fixed in 6.3 with commit f3221361dc85d4de22586ce8441ec2c67b454f5d Issue introduced in 5.3.11 with commit c8d6817345f4ba228d07380e571676405e112872 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-54306 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/tls/tls_sw.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/bde541a57b4204d0a800afbbd3d1c06c9cdb133f https://git.kernel.org/stable/c/7123a4337bf73132bbfb5437e4dc83ba864a9a1e https://git.kernel.org/stable/c/be5d5d0637fd88c18ee76024bdb22649a1de00d6 https://git.kernel.org/stable/c/1f800f6aae57d2d8f63d32fff383017cbc11cf65 https://git.kernel.org/stable/c/ccf1ccdc5926907befbe880b562b2a4b5f44c087 https://git.kernel.org/stable/c/f3221361dc85d4de22586ce8441ec2c67b454f5d