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 286122F1FEC for ; Tue, 9 Dec 2025 01:33:21 +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=1765244002; cv=none; b=n7L3+GMqZME0Ete4qz7KA5PixVRilLHIkwI0/LzXP8Hw/tdh2uenAnldK5xtqOhjQCCRbkEB4kiS9scG7/fUuIg4SJr0scCWL8OavYY+l/7+u8eJqxdbfRC2v32ffMVqADfxCQzl1FbpePSWvX0oPgs3FxiQUy9MEXAXaukcAEA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765244002; c=relaxed/simple; bh=OevgRQqjmEkLPIuq3zHkU0XVR1mrPpvt+FHSeOVLW4M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FVMbOzhj3ze+qdjEFX9iioiSfDeYIr2GJyXtK+Sdh9bEX6KX8ZK8hE3g5jfUZCn+M2419UIDTenE8kDdHAERbSw0IVdhQqDAGE2/p62izUWt99HiK98FH7BNJkdcukj7pobiKPYWt889m3MW7m/i3DGax4NapZ567rsYB4tU8vc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=oxhZtco4; 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="oxhZtco4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34CD3C4CEF1; Tue, 9 Dec 2025 01:33:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765244001; bh=OevgRQqjmEkLPIuq3zHkU0XVR1mrPpvt+FHSeOVLW4M=; h=From:To:Cc:Subject:Date:Reply-To:From; b=oxhZtco4BBHr/qBi29yyY1uNcMyQK0D4oJrxFkD7AanK4KBbMwdoKG3RSlXNoUfEH nybfjLqTgJXm8JBJJFQkpG4z14ZujVNWvenGRO4s+Q22N4DF0fEz+/baEivJD4LS6E XtU263jMr8q0dzBKiDbjP2h6XHZGDyp9HhPNzTwM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53827: Bluetooth: L2CAP: Fix use-after-free in l2cap_disconnect_{req,rsp} Date: Tue, 9 Dec 2025 10:31:11 +0900 Message-ID: <2025120952-CVE-2023-53827-b045@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=2696; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=cqJlQuoWKiOsjSoAfj1wcIClJ8hXN8yatepikFE+b/o=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnm1Wd0J++SWXzmzt32ou0L+MQYX0ssEN9l6s94wj7LU OzG92OfOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAinzcyLJjc8i942dxAJQ65 ytTgszaXEqfFhDPMFbh65f82i2QOtgbrbCODRytkZ/rfBAA= 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: L2CAP: Fix use-after-free in l2cap_disconnect_{req,rsp} Similar to commit d0be8347c623 ("Bluetooth: L2CAP: Fix use-after-free caused by l2cap_chan_put"), just use l2cap_chan_hold_unless_zero to prevent referencing a channel that is about to be destroyed. The Linux kernel CVE team has assigned CVE-2023-53827 to this issue. Affected and fixed versions =========================== Fixed in 4.14.313 with commit f2d38e77aa5f3effc143e7dd24da8acf02925958 Fixed in 4.19.281 with commit 1351551aa9058e07a20a27a158270cf84fcde621 Fixed in 5.4.241 with commit c02421992505c95c7f3c9ad59ee35e22eac60988 Fixed in 5.10.178 with commit d9ba36c22a7bb09d6bac4cc2f243eff05da53f43 Fixed in 5.15.108 with commit ac6725a634f7e8c0330610a8527f20c730b61115 Fixed in 6.1.25 with commit 348d446762e7c70778df8bafbdf3fa0df2123f58 Fixed in 6.2.12 with commit d82a439c3cfdb28aa7e82e2e849c5c4dd9fca284 Fixed in 6.3 with commit a2a9339e1c9deb7e1e079e12e27a0265aea8421a 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-53827 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/l2cap_core.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/f2d38e77aa5f3effc143e7dd24da8acf02925958 https://git.kernel.org/stable/c/1351551aa9058e07a20a27a158270cf84fcde621 https://git.kernel.org/stable/c/c02421992505c95c7f3c9ad59ee35e22eac60988 https://git.kernel.org/stable/c/d9ba36c22a7bb09d6bac4cc2f243eff05da53f43 https://git.kernel.org/stable/c/ac6725a634f7e8c0330610a8527f20c730b61115 https://git.kernel.org/stable/c/348d446762e7c70778df8bafbdf3fa0df2123f58 https://git.kernel.org/stable/c/d82a439c3cfdb28aa7e82e2e849c5c4dd9fca284 https://git.kernel.org/stable/c/a2a9339e1c9deb7e1e079e12e27a0265aea8421a