{"schema":"threatline.record/2","record":{"id":"CVE-2026-99015","aliases":[],"summary":"Bluetooth: hci_sock: Serialize dead-device detachment","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_sock: Serialize dead-device detachment\n\nRebinding an HCI socket after its controller is unregistered can race\nmonitor control replay and crash the kernel. hci_sock_bind() clears\nhci_pi(sk)->hdev and drops the device reference under only the socket\nlock, whereas send_monitor_control_replay() holds hci_sk_list.lock for\nreading.\n\nReplay can observe a non-NULL hdev, then bind can clear it and drop the\nlast reference before create_monitor_ctrl_open() reads hdev->id. This\ncan cause a NULL pointer dereference if the pointer is reloaded, or a\nuse-after-free if the old pointer is retained.\n\nThe kernel reported:\n\n  KASAN: null-ptr-deref in range [0x0000000000000068-0x000000000000006f]\n  RIP: 0010:create_monitor_ctrl_open+0x579/0x800\n  Call Trace:\n   hci_sock_bind+0xd96/0x1190\n   __sys_bind+0x166/0x200\n   __x64_sys_bind+0x6d/0xb0\n   do_syscall_64+0xdd/0x4a0\n   entry_SYSCALL_64_after_hwframe+0x77/0x7f\n\nThe same missing serialization lets hci_send_to_sock() select a socket\nfor the old device and queue its frame after bind has detached the socket\nor installed a new binding.\n\nTake hci_sk_list.lock for writing when clearing the device pointer and\nresetting the socket state. This waits for existing replay and delivery\nreaders to finish before detachment and prevents later readers from\nusing the old binding. Keep hci_dev_put() outside the critical section\nbecause the final device release can sleep.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99015","source_modified_at":"2026-10-23T12:20:41.608Z","fetched_at":"2026-10-23T18:42:43.628194Z","product":"Linux","vendor":"Linux","versions":[{"version":"e04480920d1eec9c061841399aa6f35b6f987d8b","lessThan":"37cef0c8fb537f40600910d2c2e5f2d5509305f3","status":"affected","versionType":"git"},{"version":"e04480920d1eec9c061841399aa6f35b6f987d8b","lessThan":"76f2e2665697340ac719e7ff1bf148dd014e55c1","status":"affected","versionType":"git"},{"version":"e04480920d1eec9c061841399aa6f35b6f987d8b","lessThan":"c3d2799877906d0c8392d96e14216cd82b020330","status":"affected","versionType":"git"},{"version":"e04480920d1eec9c061841399aa6f35b6f987d8b","lessThan":"e660a22402944f2615a16fde7129a3c497537329","status":"affected","versionType":"git"},{"version":"e04480920d1eec9c061841399aa6f35b6f987d8b","lessThan":"381a0925c556a8d91a80a9b9e3e86651d60ffee3","status":"affected","versionType":"git"},{"version":"d6ef8bb00aa65eceb413fc165a55086459863e38","status":"affected","versionType":"git"},{"version":"0e77f979a97d3d517fad0b51249ba6fb8ae2d365","status":"affected","versionType":"git"},{"version":"0782c8c7f80c9dd457acdfe16fd0f339f0e73093","status":"affected","versionType":"git"},{"version":"3719acc161d5c1ce09912cc1c9eddc2c5faa3c66","status":"affected","versionType":"git"},{"version":"ff29fe26ab8679bc13a3f0bf5b2911535a1cfc35","status":"affected","versionType":"git"},{"version":"f2f856b65ac4b77049c76c0e89ecd3a177e9fcd1","status":"affected","versionType":"git"},{"version":"75dd00b755ebfa9b24eaedc9f42e9adfc00ae00c","status":"affected","versionType":"git"},{"version":"4.4.281","lessThan":"4.5","status":"affected","versionType":"semver"},{"version":"4.9.280","lessThan":"4.10","status":"affected","versionType":"semver"},{"version":"4.14.244","lessThan":"4.15","status":"affected","versionType":"semver"},{"version":"4.19.203","lessThan":"4.20","status":"affected","versionType":"semver"},{"version":"5.4.140","lessThan":"5.5","status":"affected","versionType":"semver"},{"version":"5.10.58","lessThan":"5.11","status":"affected","versionType":"semver"},{"version":"5.13.10","lessThan":"5.14","status":"affected","versionType":"semver"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99015","source_modified_at":"2026-10-23T12:20:41.608Z","fetched_at":"2026-10-23T18:42:43.628194Z","product":"Linux","vendor":"Linux","versions":[{"version":"5.14","status":"affected"},{"version":"0","lessThan":"5.14","status":"unaffected","versionType":"semver"},{"version":"6.6.160","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.113","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.57","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.11","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"defaultStatus":"affected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99015","source_modified_at":"2026-10-23T12:20:41.608Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"Linux","ecosystem":null},"version":"37cef0c8fb537f40600910d2c2e5f2d5509305f3","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99015","source_modified_at":"2026-10-23T12:20:41.608Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"Linux","ecosystem":null},"version":"76f2e2665697340ac719e7ff1bf148dd014e55c1","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99015","source_modified_at":"2026-10-23T12:20:41.608Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"Linux","ecosystem":null},"version":"381a0925c556a8d91a80a9b9e3e86651d60ffee3","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99015","source_modified_at":"2026-10-23T12:20:41.608Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"Linux","ecosystem":null},"version":"4.5","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99015","source_modified_at":"2026-10-23T12:20:41.608Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"Linux","ecosystem":null},"version":"4.10","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99015","source_modified_at":"2026-10-23T12:20:41.608Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"Linux","ecosystem":null},"version":"4.15","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99015","source_modified_at":"2026-10-23T12:20:41.608Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"Linux","ecosystem":null},"version":"4.20","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99015","source_modified_at":"2026-10-23T12:20:41.608Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"Linux","ecosystem":null},"version":"5.5","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99015","source_modified_at":"2026-10-23T12:20:41.608Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"Linux","ecosystem":null},"version":"5.11","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99015","source_modified_at":"2026-10-23T12:20:41.608Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"Linux","ecosystem":null},"version":"5.14","basis":"first unaffected version stated in the CVE record"}],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-23T12:20:41.608Z","modified_at":"2026-10-23T12:20:41.608Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99015","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23T12:20:41.608Z"}],"sources":["CVE List"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/37cef0c8fb537f40600910d2c2e5f2d5509305f3"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/76f2e2665697340ac719e7ff1bf148dd014e55c1"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/c3d2799877906d0c8392d96e14216cd82b020330"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/e660a22402944f2615a16fde7129a3c497537329"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/381a0925c556a8d91a80a9b9e3e86651d60ffee3"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-23T12:20:41.608Z","content_hash":"d5ec29189c732df2687d9b0792089511086196f6b827aed20bb89efdf3305ac5"}}
