Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792759142; b=zHKyGDr2NrpLZnT2TKBi2OchSR+Sr4j4lR3qdMidkprP3Dvi3IK1mEIl55l6HFk7bSJ4 z4DO2by9gW8NU6xRX6gX1TtzafjY/krv7UGE2ZN5qyoeuMw4PTFwDUBk4RRFVGkdflxMZ a0cJx+wSZe3qOQymVpnp0CFa9uBCFX+BZfGSrnQOYEDU8AHl+kSaPGMH7M6/+rL0gEIwv o60hWj8Bj0GNhhROhN1h2/Vsum8l1zABP7Anr9gKPUGVryKyFhk5EEur47SoNOw+5P6MO XmWKO0jPlFZyFsjwLI9agpgNlKYENoZ5NxaSEx9WBSwGSmg/CGrQdfJefG9uAP2ZReQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792759142; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=rVXvUiRZpZtyIPAFjHUluIDdWfptoOQxY+UThFCTHNs=; b=E988yt+4bzBgGameWI2rL0x+yPUqgwU1FA/D70rS9IjJorDArgRYAbNVpdLPu7Fq+63y gA7JgaDlfrMxkzHl9izYsmvd0DF+jeL60btD7S8yG6abXuB8EfotVeu87ptppRHCuTYLS crzV9VwSbnIoh+bk8ZVvS4LQZnMq34TtkzzJCrBVnfovERHQnJAPkNpzOYz5cArlXIplB pCjFoVO+ga4knrc3Y5FQbLR5aeC4Tb4rR2uZtzHKhNZY5ynkJmi+OR0t0mqzTJSXx7Sv3 H+O8Dtgjjkm77ZLj+htpSoLla4fh4+3G5It6YwcU8tRHuW6dUbvDvGukJlK/spYi1gw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=MWWHwfQo; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CCA0B606A323 for ; Fri, 23 Oct 2026 12:39:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=MWWHwfQo Received: by smtp.kernel.org (Postfix) with ESMTPSA id 510011F01825; Fri, 23 Oct 2026 12:39:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792759141; bh=rVXvUiRZpZtyIPAFjHUluIDdWfptoOQxY+UThFCTHNs=; h=From:To:Cc:Subject:Date:Reply-To; b=MWWHwfQof0cIT6uHGvikjsyn94dQDZa2YQQzUPeuhSYmjs3RaGgkbJb7HI9AbjTR9 5hUHVA6BfbdXhqOMT7dlSbe0GBVv+kQIqw6RhiUR8Ub9Y4+3Zr02GkXWz/FIiIyFpe ibNdXn018lUg6mpNHDMbRyQiIG9BiKMrNiKcGDVI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99015: Bluetooth: hci_sock: Serialize dead-device detachment Date: Fri, 23 Oct 2026 14:20:17 +0200 Message-ID: <2026102321-CVE-2026-99015-2634@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4424; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=+jZ+qYqyM398MK6sv881PjD+VXVg3ZSozUnw7FPQKXQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3A04ebLzcyyLwyt/6dpppV/HTrtl3Qhef2FmY/uXJ5 AONW24qdMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEGj0ZZjGVBoi8uNuz4LR2 rO/J/0J2v74sXM8wTyt3U1apg+Cb49UfTJTiD2XZt7IYAQA= 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_sock: Serialize dead-device detachment Rebinding an HCI socket after its controller is unregistered can race monitor control replay and crash the kernel. hci_sock_bind() clears hci_pi(sk)->hdev and drops the device reference under only the socket lock, whereas send_monitor_control_replay() holds hci_sk_list.lock for reading. Replay can observe a non-NULL hdev, then bind can clear it and drop the last reference before create_monitor_ctrl_open() reads hdev->id. This can cause a NULL pointer dereference if the pointer is reloaded, or a use-after-free if the old pointer is retained. The kernel reported: KASAN: null-ptr-deref in range [0x0000000000000068-0x000000000000006f] RIP: 0010:create_monitor_ctrl_open+0x579/0x800 Call Trace: hci_sock_bind+0xd96/0x1190 __sys_bind+0x166/0x200 __x64_sys_bind+0x6d/0xb0 do_syscall_64+0xdd/0x4a0 entry_SYSCALL_64_after_hwframe+0x77/0x7f The same missing serialization lets hci_send_to_sock() select a socket for the old device and queue its frame after bind has detached the socket or installed a new binding. Take hci_sk_list.lock for writing when clearing the device pointer and resetting the socket state. This waits for existing replay and delivery readers to finish before detachment and prevents later readers from using the old binding. Keep hci_dev_put() outside the critical section because the final device release can sleep. The Linux kernel CVE team has assigned CVE-2026-99015 to this issue. Affected and fixed versions =========================== Issue introduced in 5.14 with commit e04480920d1eec9c061841399aa6f35b6f987d8b and fixed in 6.6.160 with commit 37cef0c8fb537f40600910d2c2e5f2d5509305f3 Issue introduced in 5.14 with commit e04480920d1eec9c061841399aa6f35b6f987d8b and fixed in 6.12.113 with commit 76f2e2665697340ac719e7ff1bf148dd014e55c1 Issue introduced in 5.14 with commit e04480920d1eec9c061841399aa6f35b6f987d8b and fixed in 6.18.57 with commit c3d2799877906d0c8392d96e14216cd82b020330 Issue introduced in 5.14 with commit e04480920d1eec9c061841399aa6f35b6f987d8b and fixed in 7.2.11 with commit e660a22402944f2615a16fde7129a3c497537329 Issue introduced in 5.14 with commit e04480920d1eec9c061841399aa6f35b6f987d8b and fixed in 7.3 with commit 381a0925c556a8d91a80a9b9e3e86651d60ffee3 Issue introduced in 4.4.281 with commit d6ef8bb00aa65eceb413fc165a55086459863e38 Issue introduced in 4.9.280 with commit 0e77f979a97d3d517fad0b51249ba6fb8ae2d365 Issue introduced in 4.14.244 with commit 0782c8c7f80c9dd457acdfe16fd0f339f0e73093 Issue introduced in 4.19.203 with commit 3719acc161d5c1ce09912cc1c9eddc2c5faa3c66 Issue introduced in 5.4.140 with commit ff29fe26ab8679bc13a3f0bf5b2911535a1cfc35 Issue introduced in 5.10.58 with commit f2f856b65ac4b77049c76c0e89ecd3a177e9fcd1 Issue introduced in 5.13.10 with commit 75dd00b755ebfa9b24eaedc9f42e9adfc00ae00c 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-99015 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_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/37cef0c8fb537f40600910d2c2e5f2d5509305f3 https://git.kernel.org/stable/c/76f2e2665697340ac719e7ff1bf148dd014e55c1 https://git.kernel.org/stable/c/c3d2799877906d0c8392d96e14216cd82b020330 https://git.kernel.org/stable/c/e660a22402944f2615a16fde7129a3c497537329 https://git.kernel.org/stable/c/381a0925c556a8d91a80a9b9e3e86651d60ffee3