{"id":"CVE-2026-139377","state":"PUBLISHED","title":"Bluetooth: ISO: Hold the listener during disconnect notification","description":"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---","publishedAt":"2026-11-30T13:34:11.665Z","updatedAt":"2026-11-30T13:34:11.665Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f764a6c2c1e446f560faa3232271a0637369170b","status":"affected","lessThan":"ea864b3343d140f58fe1a85192d592cac8e5eb15","versionType":"git"},{"version":"f764a6c2c1e446f560faa3232271a0637369170b","status":"affected","lessThan":"d56da3d8c5be6e8476e6a6f3f2f9b4822f201305","versionType":"git"},{"version":"f764a6c2c1e446f560faa3232271a0637369170b","status":"affected","lessThan":"e0259a01cea107040ab35e358029e7896858ed73","versionType":"git"},{"version":"f764a6c2c1e446f560faa3232271a0637369170b","status":"affected","lessThan":"d7a90e3122b46feb751bf0c60305a20829827d53","versionType":"git"},{"version":"f764a6c2c1e446f560faa3232271a0637369170b","status":"affected","lessThan":"2aac3d8f993b35c83f694ba2091db43081c11dcb","versionType":"git"},{"version":"f764a6c2c1e446f560faa3232271a0637369170b","status":"affected","lessThan":"b4a00dedc5cc6f6f98c07ec1b54d24a817d9fc88","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/iso.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.0","versionType":"semver"},{"version":"6.1.193","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/iso.c"]}],"references":["https://git.kernel.org/stable/c/ea864b3343d140f58fe1a85192d592cac8e5eb15","https://git.kernel.org/stable/c/d56da3d8c5be6e8476e6a6f3f2f9b4822f201305","https://git.kernel.org/stable/c/e0259a01cea107040ab35e358029e7896858ed73","https://git.kernel.org/stable/c/d7a90e3122b46feb751bf0c60305a20829827d53","https://git.kernel.org/stable/c/2aac3d8f993b35c83f694ba2091db43081c11dcb","https://git.kernel.org/stable/c/b4a00dedc5cc6f6f98c07ec1b54d24a817d9fc88"],"weaknesses":[],"ingestedAt":"2026-11-30T13:48:04.491Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139377.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139377","state":"PUBLISHED","datePublished":"2026-11-30T13:34:11.665Z","dateUpdated":"2026-11-30T13:34:11.665Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.930Z"},"containers":{"cna":{"title":"Bluetooth: ISO: Hold the listener during disconnect notification","descriptions":[{"lang":"en","value":"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---"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f764a6c2c1e446f560faa3232271a0637369170b","status":"affected","lessThan":"ea864b3343d140f58fe1a85192d592cac8e5eb15","versionType":"git"},{"version":"f764a6c2c1e446f560faa3232271a0637369170b","status":"affected","lessThan":"d56da3d8c5be6e8476e6a6f3f2f9b4822f201305","versionType":"git"},{"version":"f764a6c2c1e446f560faa3232271a0637369170b","status":"affected","lessThan":"e0259a01cea107040ab35e358029e7896858ed73","versionType":"git"},{"version":"f764a6c2c1e446f560faa3232271a0637369170b","status":"affected","lessThan":"d7a90e3122b46feb751bf0c60305a20829827d53","versionType":"git"},{"version":"f764a6c2c1e446f560faa3232271a0637369170b","status":"affected","lessThan":"2aac3d8f993b35c83f694ba2091db43081c11dcb","versionType":"git"},{"version":"f764a6c2c1e446f560faa3232271a0637369170b","status":"affected","lessThan":"b4a00dedc5cc6f6f98c07ec1b54d24a817d9fc88","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/iso.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.0","versionType":"semver"},{"version":"6.1.193","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/iso.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/ea864b3343d140f58fe1a85192d592cac8e5eb15"},{"url":"https://git.kernel.org/stable/c/d56da3d8c5be6e8476e6a6f3f2f9b4822f201305"},{"url":"https://git.kernel.org/stable/c/e0259a01cea107040ab35e358029e7896858ed73"},{"url":"https://git.kernel.org/stable/c/d7a90e3122b46feb751bf0c60305a20829827d53"},{"url":"https://git.kernel.org/stable/c/2aac3d8f993b35c83f694ba2091db43081c11dcb"},{"url":"https://git.kernel.org/stable/c/b4a00dedc5cc6f6f98c07ec1b54d24a817d9fc88"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:34:11.665Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}