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 385A33C8705 for ; Fri, 3 Apr 2026 15:25:54 +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=1775229954; cv=none; b=rOHJr6yxlXjWk9knWE2ciPwW4bwh6VjmNNQ6EiVoDROjZueGfF5hC7X4FYrMa/ieFSXLZSm9btvKu0qoc364xotqQ4GOthoPQ2uFH8c4dnD/wBMbIHdq724O8lFfpSj05DdJpwQXJTthH6eKYtT+r/PD3Y3/H+rWUrbTvyfaM9M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775229954; c=relaxed/simple; bh=NEzcJctzdJUe+NvJXCGkFeR4CjSh7HoIDXr4CGm4iSA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=O08xH7Q7/0o/k0JaT349z/fEVuDI2ImslREFS6PsCcoFDeRw82zegSYOroBn8y4YuZMVvKzBS/EfOXTBVWjDXlvE6qXAB2hMxa38A9N86Za2buse8taak2yWxtue1Jl4529YFCbpbQdyNdtrZ8HLyYFWNJYDXJCDjW9GKwEqXuQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tHz/Uorc; 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="tHz/Uorc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86BA1C4CEF7; Fri, 3 Apr 2026 15:25:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1775229953; bh=NEzcJctzdJUe+NvJXCGkFeR4CjSh7HoIDXr4CGm4iSA=; h=From:To:Cc:Subject:Date:Reply-To:From; b=tHz/UorciXkh1tcNzpRpObLInoikvd/M0aat2VNstBNT0uPi6jczFAXwmaFLaOCO4 /XQaLt/sxSjBZTe6Q//D9QM9MRo39TCq+8CKRjrknocsyyTPKi4iqeoJ4yLYhxW74q ka++CY0v1nfimoGavA2rA8bbtYIZZ2qqAvGT9dUY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23461: Bluetooth: L2CAP: Fix use-after-free in l2cap_unregister_user Date: Fri, 3 Apr 2026 17:18:42 +0200 Message-ID: <2026040319-CVE-2026-23461-f03d@gregkh> X-Mailer: git-send-email 2.53.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=3171; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=78++poWYuBYx3TnBzFneiXeUUOchsUaezFFNPMHFrMk=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnnb1kbTGL087ibfq6DxcommMf+tKZ10Ay2SM3Wde0cJ 89dWpzVEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABP53sIwP7C+/0NY94QjNyta TlSbBrxR1P71kGGe4lZxwd1N9utqZ+lq3xZ5vtVffsEVAA== 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_unregister_user After commit ab4eedb790ca ("Bluetooth: L2CAP: Fix corrupted list in hci_chan_del"), l2cap_conn_del() uses conn->lock to protect access to conn->users. However, l2cap_register_user() and l2cap_unregister_user() don't use conn->lock, creating a race condition where these functions can access conn->users and conn->hchan concurrently with l2cap_conn_del(). This can lead to use-after-free and list corruption bugs, as reported by syzbot. Fix this by changing l2cap_register_user() and l2cap_unregister_user() to use conn->lock instead of hci_dev_lock(), ensuring consistent locking for the l2cap_conn structure. The Linux kernel CVE team has assigned CVE-2026-23461 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6.84 with commit efc30877bd4bc85fefe98d80af60fafc86e5775e and fixed in 6.6.130 with commit 11a87dd5df428a4b79a84d2790cac7f3c73f1f0d Issue introduced in 6.12.20 with commit f87271d21dd4ee83857ca11b94e7b4952749bbae and fixed in 6.12.78 with commit c22a5e659959eb77c2fbb58a5adfaf3c3dab7abf Issue introduced in 6.14 with commit ab4eedb790cae44313759b50fe47da285e2519d5 and fixed in 6.18.20 with commit da3000cbe4851458a22be38bb18c0689c39fdd5f Issue introduced in 6.14 with commit ab4eedb790cae44313759b50fe47da285e2519d5 and fixed in 6.19.10 with commit 71030f3b3015a412133a805ff47970cdcf30c2b8 Issue introduced in 6.14 with commit ab4eedb790cae44313759b50fe47da285e2519d5 and fixed in 7.0-rc5 with commit 752a6c9596dd25efd6978a73ff21f3b592668f4a Issue introduced in 6.13.8 with commit 18ab6b6078fa8191ca30a3065d57bf35d5635761 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-23461 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/11a87dd5df428a4b79a84d2790cac7f3c73f1f0d https://git.kernel.org/stable/c/c22a5e659959eb77c2fbb58a5adfaf3c3dab7abf https://git.kernel.org/stable/c/da3000cbe4851458a22be38bb18c0689c39fdd5f https://git.kernel.org/stable/c/71030f3b3015a412133a805ff47970cdcf30c2b8 https://git.kernel.org/stable/c/752a6c9596dd25efd6978a73ff21f3b592668f4a