Warning: Permanently added '10.128.1.114' (ED25519) to the list of known hosts. [ 51.322766][ T3542] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 51.331002][ T3542] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 51.339148][ T3542] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 51.347340][ T3542] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 51.355040][ T3542] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [ 51.363048][ T3542] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 executing program [ 55.446732][ T3542] Bluetooth: hci0: Controller not accepting commands anymore: ncmd = 0 [ 55.455256][ T3542] Bluetooth: hci0: Injecting HCI hardware error event [ 55.462874][ T47] Bluetooth: hci0: hardware error 0x00 [ 55.469098][ T47] [ 55.471616][ T47] ====================================================== [ 55.479772][ T47] WARNING: possible circular locking dependency detected [ 55.486875][ T47] 6.1.84-syzkaller #0 Not tainted [ 55.491955][ T47] ------------------------------------------------------ [ 55.499055][ T47] kworker/u5:0/47 is trying to acquire lock: [ 55.505157][ T47] ffff888018ac1130 (sk_lock-AF_BLUETOOTH-BTPROTO_SCO){+.+.}-{0:0}, at: sco_conn_del+0x104/0x300 [ 55.515692][ T47] [ 55.515692][ T47] but task is already holding lock: [ 55.523063][ T47] ffffffff8e3f02e8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xb8/0x2a0 [ 55.532803][ T47] [ 55.532803][ T47] which lock already depends on the new lock. [ 55.532803][ T47] [ 55.543211][ T47] [ 55.543211][ T47] the existing dependency chain (in reverse order) is: [ 55.552462][ T47] [ 55.552462][ T47] -> #2 (hci_cb_list_lock){+.+.}-{3:3}: [ 55.560204][ T47] lock_acquire+0x1f8/0x5a0 [ 55.565244][ T47] __mutex_lock+0x132/0xd80 [ 55.570299][ T47] hci_remote_features_evt+0x664/0xab0 [ 55.576288][ T47] hci_event_packet+0xa9d/0x1510 [ 55.582030][ T47] hci_rx_work+0x3cd/0xce0 [ 55.586982][ T47] process_one_work+0x8a9/0x11d0 [ 55.592483][ T47] worker_thread+0xa47/0x1200 [ 55.597684][ T47] kthread+0x28d/0x320 [ 55.602367][ T47] ret_from_fork+0x1f/0x30 [ 55.607325][ T47] [ 55.607325][ T47] -> #1 (&hdev->lock){+.+.}-{3:3}: [ 55.614812][ T47] lock_acquire+0x1f8/0x5a0 [ 55.619878][ T47] __mutex_lock+0x132/0xd80 [ 55.625095][ T47] sco_sock_connect+0x181/0x8f0 [ 55.630563][ T47] __sys_connect+0x2c9/0x300 [ 55.635802][ T47] __x64_sys_connect+0x76/0x80 [ 55.641192][ T47] do_syscall_64+0x3d/0xb0 [ 55.646126][ T47] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 55.652618][ T47] [ 55.652618][ T47] -> #0 (sk_lock-AF_BLUETOOTH-BTPROTO_SCO){+.+.}-{0:0}: [ 55.661997][ T47] validate_chain+0x1661/0x5950 [ 55.667374][ T47] __lock_acquire+0x125b/0x1f80 [ 55.672830][ T47] lock_acquire+0x1f8/0x5a0 [ 55.678188][ T47] lock_sock_nested+0x44/0x100 [ 55.683459][ T47] sco_conn_del+0x104/0x300 [ 55.688500][ T47] hci_conn_hash_flush+0x10e/0x2a0 [ 55.694394][ T47] hci_dev_close_sync+0x9a9/0x1020 [ 55.700112][ T47] hci_error_reset+0x12c/0x3c0 [ 55.705510][ T47] process_one_work+0x8a9/0x11d0 [ 55.710961][ T47] worker_thread+0xa47/0x1200 [ 55.716249][ T47] kthread+0x28d/0x320 [ 55.720830][ T47] ret_from_fork+0x1f/0x30 [ 55.725752][ T47] [ 55.725752][ T47] other info that might help us debug this: [ 55.725752][ T47] [ 55.736041][ T47] Chain exists of: [ 55.736041][ T47] sk_lock-AF_BLUETOOTH-BTPROTO_SCO --> &hdev->lock --> hci_cb_list_lock [ 55.736041][ T47] [ 55.750495][ T47] Possible unsafe locking scenario: [ 55.750495][ T47] [ 55.757948][ T47] CPU0 CPU1 [ 55.763309][ T47] ---- ---- [ 55.768749][ T47] lock(hci_cb_list_lock); [ 55.773344][ T47] lock(&hdev->lock); [ 55.779933][ T47] lock(hci_cb_list_lock); [ 55.786959][ T47] lock(sk_lock-AF_BLUETOOTH-BTPROTO_SCO); [ 55.792839][ T47] [ 55.792839][ T47] *** DEADLOCK *** [ 55.792839][ T47] [ 55.801146][ T47] 5 locks held by kworker/u5:0/47: [ 55.806452][ T47] #0: ffff88807c166138 ((wq_completion)hci0){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 [ 55.816627][ T47] #1: ffffc90000b87d20 ((work_completion)(&hdev->error_reset)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 [ 55.828369][ T47] #2: ffff8880239150b8 (&hdev->req_lock){+.+.}-{3:3}, at: hci_error_reset+0x124/0x3c0 [ 55.838386][ T47] #3: ffff888023914078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x48d/0x1020 [ 55.848496][ T47] #4: ffffffff8e3f02e8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xb8/0x2a0 [ 55.858586][ T47] [ 55.858586][ T47] stack backtrace: [ 55.864560][ T47] CPU: 0 PID: 47 Comm: kworker/u5:0 Not tainted 6.1.84-syzkaller #0 [ 55.872802][ T47] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 55.882896][ T47] Workqueue: hci0 hci_error_reset [ 55.888026][ T47] Call Trace: [ 55.891302][ T47] [ 55.894245][ T47] dump_stack_lvl+0x1e3/0x2cb [ 55.898936][ T47] ? nf_tcp_handle_invalid+0x642/0x642 [ 55.904405][ T47] ? print_circular_bug+0x12b/0x1a0 [ 55.909690][ T47] check_noncircular+0x2fa/0x3b0 [ 55.914632][ T47] ? add_chain_block+0x850/0x850 [ 55.919607][ T47] ? lockdep_lock+0x11f/0x2a0 [ 55.924462][ T47] ? lockdep_unlock+0x165/0x300 [ 55.929514][ T47] ? lockdep_lock+0x2a0/0x2a0 [ 55.934306][ T47] ? _find_first_zero_bit+0xd0/0x100 [ 55.939592][ T47] validate_chain+0x1661/0x5950 [ 55.944511][ T47] ? reacquire_held_locks+0x660/0x660 [ 55.950168][ T47] ? reacquire_held_locks+0x660/0x660 [ 55.955920][ T47] ? mark_lock+0x9a/0x340 [ 55.960364][ T47] ? __lock_acquire+0x125b/0x1f80 [ 55.965380][ T47] ? mark_lock+0x9a/0x340 [ 55.970083][ T47] __lock_acquire+0x125b/0x1f80 [ 55.975101][ T47] lock_acquire+0x1f8/0x5a0 [ 55.979590][ T47] ? sco_conn_del+0x104/0x300 [ 55.984255][ T47] ? read_lock_is_recursive+0x10/0x10 [ 55.989634][ T47] ? sco_conn_del+0xfa/0x300 [ 55.994281][ T47] ? __lock_acquire+0x1f80/0x1f80 [ 55.999397][ T47] lock_sock_nested+0x44/0x100 [ 56.004263][ T47] ? sco_conn_del+0x104/0x300 [ 56.009003][ T47] sco_conn_del+0x104/0x300 [ 56.013520][ T47] ? sco_connect_cfm+0xc40/0xc40 [ 56.018617][ T47] hci_conn_hash_flush+0x10e/0x2a0 [ 56.023748][ T47] hci_dev_close_sync+0x9a9/0x1020 [ 56.028867][ T47] hci_error_reset+0x12c/0x3c0 [ 56.033636][ T47] ? process_one_work+0x7a9/0x11d0 [ 56.038734][ T47] process_one_work+0x8a9/0x11d0 [ 56.043668][ T47] ? worker_detach_from_pool+0x260/0x260 [ 56