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 8C6A62D46B3 for ; Tue, 30 Dec 2025 12:14:52 +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=1767096892; cv=none; b=odwVlfLDghJhT23G5spJH7Em5YF5kcwaBMZ00tXzG0gleyJot1nm9USXGkcSqBuLH+oxJUf6U3rsOrXvUE5TZiVbRQvg1RW0cf9bwRnrS1p7M1p4onPwovjb85bj75oMkr0i1WySdMIgksp81P3lI2bpKioKIT8YNU3h+9duYTs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767096892; c=relaxed/simple; bh=MwDIMCmYIhYrsR4VoF3S5cmSvzWUSEojBnFY902WG2A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mdGdZfTQj1SFyNaACyNIhQxb8YVRAiE6Q1y008eWkmGslFfw9iAY9KJIQYJ9UH7j5ziaHzMMQePIlP0xzEmcAmstOE0bHboK6MKKD+kTlbN4A1WPU+kY8oYI0jeNM4ai9+b9YmZGnx6TSwwRD/4XnLWVeucrndsJPDG9JMT+r1c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=q8TH9nXV; 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="q8TH9nXV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C7351C4CEFB; Tue, 30 Dec 2025 12:14:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767096892; bh=MwDIMCmYIhYrsR4VoF3S5cmSvzWUSEojBnFY902WG2A=; h=From:To:Cc:Subject:Date:Reply-To:From; b=q8TH9nXVFy07IbaJA24M0Zk6Aw/kxQaG8Rss/2rugcE7Ii9nyW6KaN1JzlAvfVuER GZQuLyLUNOyEZIv4IybHfqMCSuO1ALLO2pH9Dz5A03B2Dk1axW9uEfSrCpdKmED3xw 0F43Q2JaSON0GB1EPLJJmdNEsTQIG7M10Xl5EOlo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54214: Bluetooth: L2CAP: Fix potential user-after-free Date: Tue, 30 Dec 2025 13:13:44 +0100 Message-ID: <2025123025-CVE-2023-54214-c4a6@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=3358; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=tFuY2d84dTGJYR3fZh7UaOmlpJds9YJBHeoFz7ILWiY=; b=kA0DAAIRMUfUDdst+ykByyZiAGlTweXIugKylhUq6MhQBrzN+mvrw3ZRiTdRoQkjQpUBHzGR4 ohdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmlTweUACgkQMUfUDdst+ynXkQCg0goW lylC2oaKeKfUuWtykA/jzOIAn2jM1EAVnqCXEE9/MTVDqn7Oz2ND 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 potential user-after-free This fixes all instances of which requires to allocate a buffer calling alloc_skb which may release the chan lock and reacquire later which makes it possible that the chan is disconnected in the meantime. The Linux kernel CVE team has assigned CVE-2023-54214 to this issue. Affected and fixed versions =========================== Issue introduced in 3.5 with commit a6a5568c03c4805d4d250f6bd9d468eeeb4ea059 and fixed in 4.14.308 with commit b2fde8cb2a25125111f2144604e0e7c0ebcc4bba Issue introduced in 3.5 with commit a6a5568c03c4805d4d250f6bd9d468eeeb4ea059 and fixed in 4.19.276 with commit a6a7d1541fefddf7ca0cfb34c1bff63ff809cc49 Issue introduced in 3.5 with commit a6a5568c03c4805d4d250f6bd9d468eeeb4ea059 and fixed in 5.4.235 with commit 60aaccf16d1e099c16bebfb96428ae762cb528f7 Issue introduced in 3.5 with commit a6a5568c03c4805d4d250f6bd9d468eeeb4ea059 and fixed in 5.10.173 with commit b8ed41cc04fb74005aa51d17865ca3d022760335 Issue introduced in 3.5 with commit a6a5568c03c4805d4d250f6bd9d468eeeb4ea059 and fixed in 5.15.99 with commit 31a288a4df7f6a28e65da22a4ab2add4a963738e Issue introduced in 3.5 with commit a6a5568c03c4805d4d250f6bd9d468eeeb4ea059 and fixed in 6.1.16 with commit 64e28ecf44e46de9f01915a4146706a21c3469d2 Issue introduced in 3.5 with commit a6a5568c03c4805d4d250f6bd9d468eeeb4ea059 and fixed in 6.2.3 with commit 994e3e18908f5c4a12d07b44018e6aa85f071048 Issue introduced in 3.5 with commit a6a5568c03c4805d4d250f6bd9d468eeeb4ea059 and fixed in 6.3 with commit df5703348813235874d851934e957c3723d71644 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-54214 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 net/bluetooth/l2cap_sock.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/b2fde8cb2a25125111f2144604e0e7c0ebcc4bba https://git.kernel.org/stable/c/a6a7d1541fefddf7ca0cfb34c1bff63ff809cc49 https://git.kernel.org/stable/c/60aaccf16d1e099c16bebfb96428ae762cb528f7 https://git.kernel.org/stable/c/b8ed41cc04fb74005aa51d17865ca3d022760335 https://git.kernel.org/stable/c/31a288a4df7f6a28e65da22a4ab2add4a963738e https://git.kernel.org/stable/c/64e28ecf44e46de9f01915a4146706a21c3469d2 https://git.kernel.org/stable/c/994e3e18908f5c4a12d07b44018e6aa85f071048 https://git.kernel.org/stable/c/df5703348813235874d851934e957c3723d71644