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 7A4F33081D0 for ; Thu, 18 Sep 2025 13:35:29 +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=1758202529; cv=none; b=QNGW9fxAiehlyUQ4P0+YZtoZ344dT+Iou25VoJV7vCWwVp4roo3oL9m7wk/Q8FEOkrSA6S4coR2IsTxaZdkJuUIenKPUMUvkCuNtHwPy9HBF79VQY2KS0OMcfm4D3viltN7Ko3AV6JyhnRWKkNQebaXgECaDAj/PIiJquhlNE/o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758202529; c=relaxed/simple; bh=lnX5w+C0hNvEVxOAsBwPrgyEY+8ZM4jERtU/SQ6vUIA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ukQWPSspVjD3tahFH8IJSLYrbt1SxtJDwVjJjHvf4pxZiepVkYyfOSp/kBqk+aHi3Mi2OrfvLHVAXn/bdqE+Qw7f3F0mibLZcYIMxXlIPytwgC4smW7iCx/2IBre04tU2xIlgTqTUWTZnxR1jS0kzJubJfQKUkYEhSoUP3KHRWk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=N5jlHjM/; 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="N5jlHjM/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 92A5EC4CEE7; Thu, 18 Sep 2025 13:35:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758202529; bh=lnX5w+C0hNvEVxOAsBwPrgyEY+8ZM4jERtU/SQ6vUIA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=N5jlHjM/bUulHISISr/zkbcXXhTh9HTv/LQ5xmJtlbOMoI5DBr3QSiAlGl3mZA1sQ dODGpAJxGYjbMfyzwNehetrI6rQpMHPPI6lCG7sBltHH/6wF6kwjQ7ZIYsq0ZzTGsP pcuvX/OsOdp18tby17sHSdd3tjMq4N55h54L9FF0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53374: Bluetooth: hci_conn: fail SCO/ISO via hci_conn_failed if ACL gone early Date: Thu, 18 Sep 2025 15:34:19 +0200 Message-ID: <2025091855-CVE-2023-53374-d003@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=2487; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=XonFEQOxZaDwaCgObVDhJojorzEKMa0lsL+qPoO30wo=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlnuJznT2eZpHxTYpLbP83Or1Y808pV7/j/SHB+4ruP8 XHWt4PFHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRJTkM82vOVjZL3DBzzzEt dmG6fLG20yW5kWG+/xR2AcE7cX4RNnHrDjKd9Yt4OnkjAA== 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: Bluetooth: hci_conn: fail SCO/ISO via hci_conn_failed if ACL gone early Not calling hci_(dis)connect_cfm before deleting conn referred to by a socket generally results to use-after-free. When cleaning up SCO connections when the parent ACL is deleted too early, use hci_conn_failed to do the connection cleanup properly. We also need to clean up ISO connections in a similar situation when connecting has started but LE Create CIS is not yet sent, so do it too here. The Linux kernel CVE team has assigned CVE-2023-53374 to this issue. Affected and fixed versions =========================== Issue introduced in 6.4 with commit ca1fd42e7dbfcb34890ffbf1f2f4b356776dab6f and fixed in 6.4.16 with commit 397d58007532644b35fad746da48c41161f32a57 Issue introduced in 6.4 with commit ca1fd42e7dbfcb34890ffbf1f2f4b356776dab6f and fixed in 6.5.3 with commit e94b898463a62b72a2a8b75dea8936bf4db78e00 Issue introduced in 6.4 with commit ca1fd42e7dbfcb34890ffbf1f2f4b356776dab6f and fixed in 6.6 with commit 3344d318337d9dca928fd448e966557ec5063f85 Issue introduced in 6.3.8 with commit 75e35bd4b7935ceed2aacd82f55940e73bf0b63b 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-53374 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/bluetooth/hci_conn.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/397d58007532644b35fad746da48c41161f32a57 https://git.kernel.org/stable/c/e94b898463a62b72a2a8b75dea8936bf4db78e00 https://git.kernel.org/stable/c/3344d318337d9dca928fd448e966557ec5063f85