{"id":"CVE-2026-139377","aliases":["CVE-2026-139377"],"related":[],"kind":"vulnerability","state":"published","title":"Bluetooth: ISO: Hold the listener during disconnect notification","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: ISO: Hold the listener during disconnect notification\n\nAn ISO listener must remain alive until a queued child's disconnect\nnotification completes. bt_accept_enqueue() retains only the child and\nstores a raw parent pointer; iso_conn_ready() drops its temporary\nlistener reference after setup. iso_chan_del() saves that pointer,\nunlinks the child and then calls parent->sk_data_ready() without holding\na listener reference.\n\nWith an incoming CIS child still queued, disconnect and listener release\ncan proceed in this order:\n\n  HCI disconnect                   Listener release\n  iso_conn_del(): lock child\n  iso_chan_del(): save parent\n  bt_accept_unlink(child)\n                                   iso_sock_cleanup_listen():\n                                     drain empty accept queue\n                                   iso_sock_release():\n                                     orphan and kill listener\n                                     final sock_put(listener)\n  parent->sk_data_ready(parent)\n\nAfter unlink, listener cleanup no longer has to take the child socket\nlock. The listener can therefore be freed before iso_chan_del() reads\nsk_data_ready, causing a use-after-free.\n\nTake a temporary parent reference before bt_accept_unlink() and drop it\nafter the notification. The child lock excludes accept dequeue while the\nchild is still queued, so listener cleanup cannot complete before\nsock_hold(). The reference then keeps the listener alive across unlink\nand through the callback without changing lock order.\n\nKASAN report as below:\n\n    ==================================================================\n    BUG: KASAN: slab-use-after-free in iso_chan_del+0x302/0x320\n    Read of size 8 at addr ffff888105ca2188 by task kworker/2:1/50\n\n        CPU: 2 UID: 0 PID: 50 Comm: kworker/2:1 Not tainted\n    7.2.0-rc6-pmb-bt-functional-v1+ #1 PREEMPT(lazy)\n        Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps\n    fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014\n    Workqueue: events iso_fixture_disconnect_work\n    Call Trace:\n     <TASK>\n     dump_stack_lvl+0x93/0xd0\n     print_report+0xce/0x630\n     ? iso_chan_del+0x302/0x320\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __virt_addr_valid+0x20d/0x410\n     ? iso_chan_del+0x302/0x320\n     kasan_report+0xe0/0x110\n     ? iso_chan_del+0x302/0x320\n     iso_chan_del+0x302/0x320\n     iso_conn_del+0x19d/0x3c0\n     ? __pfx_iso_disconn_cfm+0x10/0x10\n     iso_disconn_cfm+0x78/0x120\n     hci_disconn_complete_evt+0x319/0xa30\n     ? find_held_lock+0x2b/0x80\n     hci_test_iso_disconn_event+0x85/0xb0\n     ? __pfx_hci_test_iso_disconn_event+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? _raw_read_unlock+0x23/0x40\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __hci_dev_get+0x15d/0x280\n     iso_fixture_disconnect_work+0x67/0x290\n     process_one_work+0x908/0x19c0\n     ? __pfx_process_one_work+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? lock_is_held_type+0x8f/0x100\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     worker_thread+0x65c/0xe40\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __kthread_parkme+0x175/0x220\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __pfx_worker_thread+0x10/0x10\n     kthread+0x34f/0x460\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __pfx_kthread+0x10/0x10\n     ret_from_fork+0x659/0x940\n     ? __pfx_ret_from_fork+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __switch_to+0x74f/0xf80\n     ? __pfx_kthread+0x10/0x10\n     ret_from_fork_asm+0x1a/0x30\n     </TASK>\n\n    Allocated by task 521:\n     kasan_save_stack+0x33/0x60\n     kasan_save_track+0x14/0x30\n     __kasan_kmalloc+0xaa/0xb0\n     __kmalloc_noprof+0x2d7/0x770\n     sk_prot_alloc+0x13e/0x260\n     sk_alloc+0x37/0xb40\n     bt_sock_alloc+0x40/0x3b0\n     iso_sock_alloc.constprop.0+0x3a/0x360\n     iso_sock_create+0xc7/0x160\n     bt_sock_cre\n---truncated---","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: ISO: Hold the listener during disconnect notification\n\nAn ISO listener must remain alive until a queued child's disconnect\nnotification completes. bt_accept_enqueue() retains only the child and\nstores a raw parent pointer; iso_conn_ready() drops its temporary\nlistener reference after setup. iso_chan_del() saves that pointer,\nunlinks the child and then calls parent->sk_data_ready() without holding\na listener reference.\n\nWith an incoming CIS child still queued, disconnect and listener release\ncan proceed in this order:\n\n  HCI disconnect                   Listener release\n  iso_conn_del(): lock child\n  iso_chan_del(): save parent\n  bt_accept_unlink(child)\n                                   iso_sock_cleanup_listen():\n                                     drain empty accept queue\n                                   iso_sock_release():\n                                     orphan and kill listener\n                                     final sock_put(listener)\n  parent->sk_data_ready(parent)\n\nAfter unlink, listener cleanup no longer has to take the child socket\nlock. The listener can therefore be freed before iso_chan_del() reads\nsk_data_ready, causing a use-after-free.\n\nTake a temporary parent reference before bt_accept_unlink() and drop it\nafter the notification. The child lock excludes accept dequeue while the\nchild is still queued, so listener cleanup cannot complete before\nsock_hold(). The reference then keeps the listener alive across unlink\nand through the callback without changing lock order.\n\nKASAN report as below:\n\n    ==================================================================\n    BUG: KASAN: slab-use-after-free in iso_chan_del+0x302/0x320\n    Read of size 8 at addr ffff888105ca2188 by task kworker/2:1/50\n\n        CPU: 2 UID: 0 PID: 50 Comm: kworker/2:1 Not tainted\n    7.2.0-rc6-pmb-bt-functional-v1+ #1 PREEMPT(lazy)\n        Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps\n    fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014\n    Workqueue: events iso_fixture_disconnect_work\n    Call Trace:\n     <TASK>\n     dump_stack_lvl+0x93/0xd0\n     print_report+0xce/0x630\n     ? iso_chan_del+0x302/0x320\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __virt_addr_valid+0x20d/0x410\n     ? iso_chan_del+0x302/0x320\n     kasan_report+0xe0/0x110\n     ? iso_chan_del+0x302/0x320\n     iso_chan_del+0x302/0x320\n     iso_conn_del+0x19d/0x3c0\n     ? __pfx_iso_disconn_cfm+0x10/0x10\n     iso_disconn_cfm+0x78/0x120\n     hci_disconn_complete_evt+0x319/0xa30\n     ? find_held_lock+0x2b/0x80\n     hci_test_iso_disconn_event+0x85/0xb0\n     ? __pfx_hci_test_iso_disconn_event+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? _raw_read_unlock+0x23/0x40\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __hci_dev_get+0x15d/0x280\n     iso_fixture_disconnect_work+0x67/0x290\n     process_one_work+0x908/0x19c0\n     ? __pfx_process_one_work+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? lock_is_held_type+0x8f/0x100\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     worker_thread+0x65c/0xe40\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __kthread_parkme+0x175/0x220\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __pfx_worker_thread+0x10/0x10\n     kthread+0x34f/0x460\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __pfx_kthread+0x10/0x10\n     ret_from_fork+0x659/0x940\n     ? __pfx_ret_from_fork+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __switch_to+0x74f/0xf80\n     ? __pfx_kthread+0x10/0x10\n     ret_from_fork_asm+0x1a/0x30\n     </TASK>\n\n    Allocated by task 521:\n     kasan_save_stack+0x33/0x60\n     kasan_save_track+0x14/0x30\n     __kasan_kmalloc+0xaa/0xb0\n     __kmalloc_noprof+0x2d7/0x770\n     sk_prot_alloc+0x13e/0x260\n     sk_alloc+0x37/0xb40\n     bt_sock_alloc+0x40/0x3b0\n     iso_sock_alloc.constprop.0+0x3a/0x360\n     iso_sock_create+0xc7/0x160\n     bt_sock_cre\n---truncated---","source":"cvelist"}],"published":"2026-11-30T13:34:11.665Z","modified":"2026-12-01T06:17:44.850Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"f764a6c2c1e446f560faa3232271a0637369170b","fixed":"ea864b3343d140f58fe1a85192d592cac8e5eb15","status":"affected"},{"type":"git","introduced":"f764a6c2c1e446f560faa3232271a0637369170b","fixed":"d56da3d8c5be6e8476e6a6f3f2f9b4822f201305","status":"affected"},{"type":"git","introduced":"f764a6c2c1e446f560faa3232271a0637369170b","fixed":"e0259a01cea107040ab35e358029e7896858ed73","status":"affected"},{"type":"git","introduced":"f764a6c2c1e446f560faa3232271a0637369170b","fixed":"d7a90e3122b46feb751bf0c60305a20829827d53","status":"affected"},{"type":"git","introduced":"f764a6c2c1e446f560faa3232271a0637369170b","fixed":"2aac3d8f993b35c83f694ba2091db43081c11dcb","status":"affected"},{"type":"git","introduced":"f764a6c2c1e446f560faa3232271a0637369170b","fixed":"b4a00dedc5cc6f6f98c07ec1b54d24a817d9fc88","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.0","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ea864b3343d140f58fe1a85192d592cac8e5eb15","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d56da3d8c5be6e8476e6a6f3f2f9b4822f201305","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e0259a01cea107040ab35e358029e7896858ed73","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d7a90e3122b46feb751bf0c60305a20829827d53","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2aac3d8f993b35c83f694ba2091db43081c11dcb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b4a00dedc5cc6f6f98c07ec1b54d24a817d9fc88","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139377","url":"https://www.cve.org/CVERecord?id=CVE-2026-139377","licence":"CVE Terms of Use","modified":"2026-12-01T05:42:39.272Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139377","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139377","licence":"Public domain","modified":"2026-12-01T06:17:44.850Z"}],"updatedAt":"2026-12-01T06:32:20.924Z","epss":{"score":0.00368,"percentile":0.32673,"date":"2026-12-01T12:00:22.000Z"}}