Warning: Permanently added '10.128.1.43' (ED25519) to the list of known hosts. [ 93.956419][ T5066] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 93.968337][ T5066] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 93.976351][ T5066] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 93.985231][ T5066] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 93.993388][ T5066] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [ 94.001027][ T5066] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 executing program [ 94.188115][ T5070] [ 94.190598][ T5070] ====================================================== [ 94.197654][ T5070] WARNING: possible circular locking dependency detected [ 94.204711][ T5070] 6.7.0-rc5-syzkaller #0 Not tainted [ 94.210035][ T5070] ------------------------------------------------------ [ 94.217090][ T5070] syz-executor104/5070 is trying to acquire lock: [ 94.223543][ T5070] ffff88806a530e10 ((work_completion)(&hdev->tx_work)){+.+.}-{0:0}, at: __flush_work+0xfa/0xa10 [ 94.234113][ T5070] [ 94.234113][ T5070] but task is already holding lock: [ 94.241513][ T5070] ffff88806a531108 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x26/0x90 [ 94.250755][ T5070] [ 94.250755][ T5070] which lock already depends on the new lock. [ 94.250755][ T5070] [ 94.261197][ T5070] [ 94.261197][ T5070] the existing dependency chain (in reverse order) is: [ 94.270255][ T5070] [ 94.270255][ T5070] -> #3 (&hdev->req_lock){+.+.}-{3:3}: [ 94.277980][ T5070] __mutex_lock+0x175/0x9d0 [ 94.283100][ T5070] hci_dev_do_close+0x26/0x90 [ 94.288433][ T5070] hci_rfkill_set_block+0x1b9/0x200 [ 94.294232][ T5070] rfkill_set_block+0x200/0x550 [ 94.299659][ T5070] rfkill_fop_write+0x2d4/0x570 [ 94.305085][ T5070] vfs_write+0x2a4/0xdf0 [ 94.309976][ T5070] ksys_write+0x1f0/0x250 [ 94.314878][ T5070] __do_fast_syscall_32+0x62/0xe0 [ 94.320487][ T5070] do_fast_syscall_32+0x33/0x70 [ 94.325917][ T5070] entry_SYSENTER_compat_after_hwframe+0x70/0x7a [ 94.332832][ T5070] [ 94.332832][ T5070] -> #2 (rfkill_global_mutex){+.+.}-{3:3}: [ 94.340894][ T5070] __mutex_lock+0x175/0x9d0 [ 94.346054][ T5070] rfkill_register+0x3a/0xb30 [ 94.351330][ T5070] hci_register_dev+0x43a/0xd40 [ 94.356757][ T5070] __vhci_create_device+0x393/0x800 [ 94.362539][ T5070] vhci_write+0x2c7/0x470 [ 94.367447][ T5070] vfs_write+0x64f/0xdf0 [ 94.372248][ T5070] ksys_write+0x12f/0x250 [ 94.377148][ T5070] __do_fast_syscall_32+0x62/0xe0 [ 94.382741][ T5070] do_fast_syscall_32+0x33/0x70 [ 94.388160][ T5070] entry_SYSENTER_compat_after_hwframe+0x70/0x7a [ 94.395054][ T5070] [ 94.395054][ T5070] -> #1 (&data->open_mutex){+.+.}-{3:3}: [ 94.402946][ T5070] __mutex_lock+0x175/0x9d0 [ 94.408035][ T5070] vhci_send_frame+0x67/0xa0 [ 94.413216][ T5070] hci_send_frame+0x220/0x470 [ 94.418451][ T5070] hci_tx_work+0x1456/0x1e40 [ 94.423596][ T5070] process_one_work+0x886/0x15d0 [ 94.429112][ T5070] worker_thread+0x8b9/0x1290 [ 94.434358][ T5070] kthread+0x2c6/0x3a0 [ 94.438998][ T5070] ret_from_fork+0x45/0x80 [ 94.444025][ T5070] ret_from_fork_asm+0x11/0x20 [ 94.449378][ T5070] [ 94.449378][ T5070] -> #0 ((work_completion)(&hdev->tx_work)){+.+.}-{0:0}: [ 94.458637][ T5070] __lock_acquire+0x2433/0x3b20 [ 94.464075][ T5070] lock_acquire+0x1ae/0x520 [ 94.469504][ T5070] __flush_work+0x103/0xa10 [ 94.474582][ T5070] hci_dev_close_sync+0x22d/0x1160 [ 94.480259][ T5070] hci_dev_do_close+0x2e/0x90 [ 94.485497][ T5070] hci_rfkill_set_block+0x1b9/0x200 [ 94.491258][ T5070] rfkill_set_block+0x200/0x550 [ 94.496680][ T5070] rfkill_fop_write+0x2d4/0x570 [ 94.502100][ T5070] vfs_write+0x2a4/0xdf0 [ 94.507031][ T5070] ksys_write+0x1f0/0x250 [ 94.511958][ T5070] __do_fast_syscall_32+0x62/0xe0 [ 94.517571][ T5070] do_fast_syscall_32+0x33/0x70 [ 94.523000][ T5070] entry_SYSENTER_compat_after_hwframe+0x70/0x7a [ 94.529902][ T5070] [ 94.529902][ T5070] other info that might help us debug this: [ 94.529902][ T5070] [ 94.540155][ T5070] Chain exists of: [ 94.540155][ T5070] (work_completion)(&hdev->tx_work) --> rfkill_global_mutex --> &hdev->req_lock [ 94.540155][ T5070] [ 94.555182][ T5070] Possible unsafe locking scenario: [ 94.555182][ T5070] [ 94.562654][ T5070] CPU0 CPU1 [ 94.568083][ T5070] ---- ---- [ 94.573479][ T5070] lock(&hdev->req_lock); [ 94.577949][ T5070] lock(rfkill_global_mutex); [ 94.585275][ T5070] lock(&hdev->req_lock); [ 94.592247][ T5070] lock((work_completion)(&hdev->tx_work)); [ 94.598268][ T5070] [ 94.598268][ T5070] *** DEADLOCK *** [ 94.598268][ T5070] [ 94.606437][ T5070] 2 locks held by syz-executor104/5070: [ 94.612017][ T5070] #0: ffffffff8ef2d9e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_write+0x16e/0x570 [ 94.622184][ T5070] #1: ffff88806a531108 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x26/0x90 [ 94.631828][ T5070] [ 94.631828][ T5070] stack backtrace: [ 94.637825][ T5070] CPU: 0 PID: 5070 Comm: syz-executor104 Not tainted 6.7.0-rc5-syzkaller #0 [ 94.646623][ T5070] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 94.656834][ T5070] Call Trace: [ 94.660246][ T5070] [ 94.663207][ T5070] dump_stack_lvl+0xd9/0x1b0 [ 94.667855][ T5070] check_noncircular+0x317/0x400 [ 94.672859][ T5070] ? print_circular_bug+0x5c0/0x5c0 [ 94.678308][ T5070] ? is_bpf_text_address+0x94/0x1a0 [ 94.683577][ T5070] ? lockdep_lock+0xc6/0x200 [ 94.688229][ T5070] ? hlock_class+0x130/0x130 [ 94.692888][ T5070] __lock_acquire+0x2433/0x3b20 [ 94.697889][ T5070] ? lockdep_hardirqs_on_prepare+0x420/0x420 [ 94.703950][ T5070] ? save_trace+0x4e/0xb30 [ 94.708430][ T5070] ? _find_first_zero_bit+0x94/0xb0 [ 94.713704][ T5070] lock_acquire+0x1ae/0x520 [ 94.718278][ T5070] ? __flush_work+0xfa/0xa10 [ 94.722927][ T5070] ? lock_sync+0x190/0x190 [ 94.727407][ T5070] ? __flush_work+0xfa/0xa10 [ 94.732058][ T5070] __flush_work+0x103/0xa10 [ 94.736618][ T5070] ? __flush_work+0xfa/0xa10 [ 94.741263][ T5070] ? cancel_delayed_work+0x20/0x20 [ 94.746478][ T5070] hci_dev_close_sync+0x22d/0x1160 [ 94.751638][ T5070] ? find_held_lock+0x2d/0x110 [ 94.756552][ T5070] ? hci_reset_sync+0x50/0x50 [ 94.761273][ T5070] ? reacquire_held_locks+0x4c0/0x4c0 [ 94.767029][ T5070] hci_dev_do_close+0x2e/0x90 [ 94.771846][ T5070] hci_rfkill_set_block+0x1b9/0x200 [ 94.777097][ T5070] ? lockdep_hardirqs_on+0x7d/0x110 [ 94.782364][ T5070] ? hci_power_on+0x670/0x670 [ 94.787139][ T5070] rfkill_set_block+0x200/0x550 [ 94.792092][ T5070] rfkill_fop_write+0x2d4/0x570 [ 94.796999][ T5070] ? rfkill_register+0xb30/0xb30 [ 94.801986][ T5070] ? bpf_lsm_inode_killpriv+0x10/0x10 [ 94.807491][ T5070] ? security_file_permission+0x94/0x100 [ 94.813180][ T5070] vfs_write+0x2a4/0xdf0 [ 94.817464][ T5070] ? rfkill_register+0xb30/0xb30 [ 94.822458][ T5070] ? kernel_write+0x6c0/0x6c0 [ 94.827184][ T5070] ? do_sys_openat2+0xb1/0x1e0 [ 94.832014][ T5070] ? build_open_flags+0x690/0x690 [ 94.837191][ T5070] ? find_held_lock+0x2d/0x110 [ 94.842021][ T5070] ? __fget_light+0x1fc/0x260 [ 94.846745][ T5070] ksys_write+0x1f0/0x250 [ 94.851132][ T5070] ? __ia32_sys_read+0xb0/0xb0 [ 94.855952][ T5070] __do_fast_syscall_32+0x62/0xe0 [ 94.861035][ T5070] do_fast_syscall_32+0x33/0x70 [ 94.865941][ T5070] entry_SYSENTER_compat_after_hwframe+0x70/0x7a [ 94.872319][ T5070] RIP: 0023:0xf7e35579 [ 94.876428][ T5070] Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 [ 94.896090][ T5070] RSP: 002b:00000000ffa8417c EFLAGS: 00000246 ORIG_RAX: 0000000000000004 [ 94.904558][ T5070] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000020000080 [ 94.912573][ T5070] RDX: 0000000000000008 RSI: 00000000f7ef7bfc RDI: 00000000f7e508f6 [ 94.920586][ T5070] RBP: 00000000ffa841f4 R08: 0000000000000000 R09: 0000000000000000 [ 94.928594][ T5070] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 executing program [ 94.936863][ T5070] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 94.944884][ T5070] executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 97.319475][ T55] cfg80211: failed to load regulatory.db executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program