Warning: Permanently added '10.128.0.55' (ED25519) to the list of known hosts. [ 30.610465][ T6094] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 30.612866][ T6094] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 30.615275][ T6094] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 30.618127][ T6094] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 30.620117][ T6094] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [ 30.621831][ T6094] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 executing program [ 30.793322][ T6093] [ 30.793918][ T6093] ====================================================== [ 30.795522][ T6093] WARNING: possible circular locking dependency detected [ 30.797113][ T6093] 6.7.0-rc6-syzkaller-gaafe7ad77b91 #0 Not tainted [ 30.798670][ T6093] ------------------------------------------------------ [ 30.800300][ T6093] syz-executor420/6093 is trying to acquire lock: [ 30.801928][ T6093] ffff0000cc15ce10 ((work_completion)(&hdev->tx_work)){+.+.}-{0:0}, at: __flush_work+0xd0/0x1c0 [ 30.804682][ T6093] [ 30.804682][ T6093] but task is already holding lock: [ 30.806397][ T6093] ffff0000cc15d108 (&hdev->req_lock){+.+.}-{3:3}, at: hci_rfkill_set_block+0xe8/0x20c [ 30.808688][ T6093] [ 30.808688][ T6093] which lock already depends on the new lock. [ 30.808688][ T6093] [ 30.811146][ T6093] [ 30.811146][ T6093] the existing dependency chain (in reverse order) is: [ 30.813251][ T6093] [ 30.813251][ T6093] -> #3 (&hdev->req_lock){+.+.}-{3:3}: [ 30.815168][ T6093] __mutex_lock_common+0x190/0x21a0 [ 30.816437][ T6093] mutex_lock_nested+0x2c/0x38 [ 30.817744][ T6093] hci_rfkill_set_block+0xe8/0x20c [ 30.819107][ T6093] rfkill_set_block+0x18c/0x37c [ 30.820394][ T6093] rfkill_fop_write+0x578/0x734 [ 30.821619][ T6093] vfs_write+0x2a0/0x910 [ 30.822814][ T6093] ksys_write+0x15c/0x26c [ 30.823915][ T6093] __arm64_sys_write+0x7c/0x90 [ 30.825156][ T6093] invoke_syscall+0x98/0x2b8 [ 30.826398][ T6093] el0_svc_common+0x130/0x23c [ 30.827569][ T6093] do_el0_svc+0x48/0x58 [ 30.828749][ T6093] el0_svc+0x54/0x158 [ 30.829854][ T6093] el0t_64_sync_handler+0x84/0xfc [ 30.831247][ T6093] el0t_64_sync+0x190/0x194 [ 30.832427][ T6093] [ 30.832427][ T6093] -> #2 (rfkill_global_mutex){+.+.}-{3:3}: [ 30.834343][ T6093] __mutex_lock_common+0x190/0x21a0 [ 30.835666][ T6093] mutex_lock_nested+0x2c/0x38 [ 30.836993][ T6093] rfkill_register+0x44/0x7d4 [ 30.838177][ T6093] hci_register_dev+0x3e0/0x954 [ 30.839452][ T6093] vhci_create_device+0x358/0x6c4 [ 30.840823][ T6093] vhci_write+0x318/0x3b8 [ 30.842085][ T6093] vfs_write+0x610/0x910 [ 30.843288][ T6093] ksys_write+0x15c/0x26c [ 30.844415][ T6093] __arm64_sys_write+0x7c/0x90 [ 30.845678][ T6093] invoke_syscall+0x98/0x2b8 [ 30.846909][ T6093] el0_svc_common+0x130/0x23c [ 30.848215][ T6093] do_el0_svc+0x48/0x58 [ 30.849488][ T6093] el0_svc+0x54/0x158 [ 30.850578][ T6093] el0t_64_sync_handler+0x84/0xfc [ 30.851909][ T6093] el0t_64_sync+0x190/0x194 [ 30.853016][ T6093] [ 30.853016][ T6093] -> #1 (&data->open_mutex){+.+.}-{3:3}: [ 30.854784][ T6093] __mutex_lock_common+0x190/0x21a0 [ 30.856089][ T6093] mutex_lock_nested+0x2c/0x38 [ 30.857373][ T6093] vhci_send_frame+0x8c/0x10c [ 30.858554][ T6093] hci_send_frame+0x1c4/0x35c [ 30.859783][ T6093] hci_tx_work+0xba0/0x18e4 [ 30.860910][ T6093] process_one_work+0x694/0x1204 [ 30.862288][ T6093] worker_thread+0x938/0xef4 [ 30.863589][ T6093] kthread+0x288/0x310 [ 30.864613][ T6093] ret_from_fork+0x10/0x20 [ 30.865886][ T6093] [ 30.865886][ T6093] -> #0 ((work_completion)(&hdev->tx_work)){+.+.}-{0:0}: [ 30.868022][ T6093] __lock_acquire+0x3384/0x763c [ 30.869267][ T6093] lock_acquire+0x23c/0x71c [ 30.870506][ T6093] __flush_work+0xf8/0x1c0 [ 30.871841][ T6093] flush_work+0x24/0x38 [ 30.873015][ T6093] hci_dev_close_sync+0x1c8/0xf30 [ 30.874329][ T6093] hci_rfkill_set_block+0xf0/0x20c [ 30.875674][ T6093] rfkill_set_block+0x18c/0x37c [ 30.876958][ T6093] rfkill_fop_write+0x578/0x734 [ 30.878186][ T6093] vfs_write+0x2a0/0x910 [ 30.879408][ T6093] ksys_write+0x15c/0x26c [ 30.880609][ T6093] __arm64_sys_write+0x7c/0x90 [ 30.881970][ T6093] invoke_syscall+0x98/0x2b8 [ 30.883258][ T6093] el0_svc_common+0x130/0x23c [ 30.884549][ T6093] do_el0_svc+0x48/0x58 [ 30.885658][ T6093] el0_svc+0x54/0x158 [ 30.886715][ T6093] el0t_64_sync_handler+0x84/0xfc [ 30.888135][ T6093] el0t_64_sync+0x190/0x194 [ 30.889412][ T6093] [ 30.889412][ T6093] other info that might help us debug this: [ 30.889412][ T6093] [ 30.891795][ T6093] Chain exists of: [ 30.891795][ T6093] (work_completion)(&hdev->tx_work) --> rfkill_global_mutex --> &hdev->req_lock [ 30.891795][ T6093] [ 30.895131][ T6093] Possible unsafe locking scenario: [ 30.895131][ T6093] [ 30.896912][ T6093] CPU0 CPU1 [ 30.898277][ T6093] ---- ---- [ 30.899511][ T6093] lock(&hdev->req_lock); [ 30.900569][ T6093] lock(rfkill_global_mutex); [ 30.902142][ T6093] lock(&hdev->req_lock); [ 30.903729][ T6093] lock((work_completion)(&hdev->tx_work)); [ 30.905084][ T6093] [ 30.905084][ T6093] *** DEADLOCK *** [ 30.905084][ T6093] [ 30.906969][ T6093] 2 locks held by syz-executor420/6093: [ 30.908218][ T6093] #0: ffff80009122cca8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_write+0x234/0x734 [ 30.910421][ T6093] #1: ffff0000cc15d108 (&hdev->req_lock){+.+.}-{3:3}, at: hci_rfkill_set_block+0xe8/0x20c [ 30.912795][ T6093] [ 30.912795][ T6093] stack backtrace: [ 30.914205][ T6093] CPU: 1 PID: 6093 Comm: syz-executor420 Not tainted 6.7.0-rc6-syzkaller-gaafe7ad77b91 #0 [ 30.916479][ T6093] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 30.918843][ T6093] Call trace: [ 30.919594][ T6093] dump_backtrace+0x1b8/0x1e4 [ 30.920665][ T6093] show_stack+0x2c/0x3c [ 30.921655][ T6093] dump_stack_lvl+0xd0/0x124 [ 30.922817][ T6093] dump_stack+0x1c/0x28 [ 30.923870][ T6093] print_circular_bug+0x150/0x1b8 [ 30.925103][ T6093] check_noncircular+0x310/0x404 [ 30.926184][ T6093] __lock_acquire+0x3384/0x763c [ 30.927281][ T6093] lock_acquire+0x23c/0x71c [ 30.928318][ T6093] __flush_work+0xf8/0x1c0 [ 30.929352][ T6093] flush_work+0x24/0x38 [ 30.930267][ T6093] hci_dev_close_sync+0x1c8/0xf30 [ 30.931386][ T6093] hci_rfkill_set_block+0xf0/0x20c [ 30.932624][ T6093] rfkill_set_block+0x18c/0x37c [ 30.933792][ T6093] rfkill_fop_write+0x578/0x734 [ 30.934902][ T6093] vfs_write+0x2a0/0x910 [ 30.935873][ T6093] ksys_write+0x15c/0x26c [ 30.936823][ T6093] __arm64_sys_write+0x7c/0x90 [ 30.938004][ T6093] invoke_syscall+0x98/0x2b8 [ 30.939104][ T6093] el0_svc_common+0x130/0x23c [ 30.940251][ T6093] do_el0_svc+0x48/0x58 [ 30.941196][ T6093] el0_svc+0x54/0x158 [ 30.942095][ T6093] el0t_64_sync_handler+0x84/0xfc [ 30.943199][ T6093] el0t_64_sync+0x190/0x194