Warning: Permanently added '10.128.0.68' (ED25519) to the list of known hosts. executing program syzkaller login: [ 42.455227][ T4024] [ 42.455871][ T4024] ====================================================== [ 42.457591][ T4024] WARNING: possible circular locking dependency detected [ 42.459315][ T4024] 5.15.165-syzkaller #0 Not tainted [ 42.460634][ T4024] ------------------------------------------------------ [ 42.462453][ T4024] syz-executor256/4024 is trying to acquire lock: [ 42.464102][ T4024] ffff0000ca428b98 ((work_completion)(&hdev->tx_work)){+.+.}-{0:0}, at: __flush_work+0xd0/0x1c0 [ 42.466893][ T4024] [ 42.466893][ T4024] but task is already holding lock: [ 42.468814][ T4024] ffff0000ca428ff0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x64/0x1060 [ 42.471265][ T4024] [ 42.471265][ T4024] which lock already depends on the new lock. [ 42.471265][ T4024] [ 42.473931][ T4024] [ 42.473931][ T4024] the existing dependency chain (in reverse order) is: [ 42.476291][ T4024] [ 42.476291][ T4024] -> #3 (&hdev->req_lock){+.+.}-{3:3}: [ 42.478376][ T4024] __mutex_lock_common+0x194/0x2154 [ 42.479845][ T4024] mutex_lock_nested+0xa4/0xf8 [ 42.481219][ T4024] hci_dev_do_close+0x64/0x1060 [ 42.482598][ T4024] hci_rfkill_set_block+0xdc/0x1d0 [ 42.484096][ T4024] rfkill_set_block+0x18c/0x37c [ 42.485508][ T4024] rfkill_fop_write+0x594/0x750 [ 42.486873][ T4024] vfs_write+0x280/0xb44 [ 42.488073][ T4024] ksys_write+0x15c/0x26c [ 42.489307][ T4024] __arm64_sys_write+0x7c/0x90 [ 42.490654][ T4024] invoke_syscall+0x98/0x2b8 [ 42.491955][ T4024] el0_svc_common+0x138/0x258 [ 42.493262][ T4024] do_el0_svc+0x58/0x14c [ 42.494601][ T4024] el0_svc+0x7c/0x1f0 [ 42.495835][ T4024] el0t_64_sync_handler+0x84/0xe4 [ 42.497312][ T4024] el0t_64_sync+0x1a0/0x1a4 [ 42.498619][ T4024] [ 42.498619][ T4024] -> #2 (rfkill_global_mutex){+.+.}-{3:3}: [ 42.500838][ T4024] __mutex_lock_common+0x194/0x2154 [ 42.502371][ T4024] mutex_lock_nested+0xa4/0xf8 [ 42.503805][ T4024] rfkill_register+0x44/0x7a4 [ 42.505141][ T4024] hci_register_dev+0x3e0/0x880 [ 42.506562][ T4024] vhci_create_device+0x2c4/0x568 [ 42.507989][ T4024] vhci_write+0x318/0x3b8 [ 42.509239][ T4024] vfs_write+0x884/0xb44 [ 42.510502][ T4024] ksys_write+0x15c/0x26c [ 42.511944][ T4024] __arm64_sys_write+0x7c/0x90 [ 42.513248][ T4024] invoke_syscall+0x98/0x2b8 [ 42.514549][ T4024] el0_svc_common+0x138/0x258 [ 42.515916][ T4024] do_el0_svc+0x58/0x14c [ 42.517115][ T4024] el0_svc+0x7c/0x1f0 [ 42.518294][ T4024] el0t_64_sync_handler+0x84/0xe4 [ 42.519859][ T4024] el0t_64_sync+0x1a0/0x1a4 [ 42.521201][ T4024] [ 42.521201][ T4024] -> #1 (&data->open_mutex){+.+.}-{3:3}: [ 42.523091][ T4024] __mutex_lock_common+0x194/0x2154 [ 42.524516][ T4024] mutex_lock_nested+0xa4/0xf8 [ 42.525851][ T4024] vhci_send_frame+0x8c/0x10c [ 42.527167][ T4024] hci_send_frame+0x194/0x2f0 [ 42.528595][ T4024] hci_tx_work+0x8d8/0x157c [ 42.529965][ T4024] process_one_work+0x790/0x11b8 [ 42.531392][ T4024] worker_thread+0x910/0x1034 [ 42.532741][ T4024] kthread+0x37c/0x45c [ 42.533945][ T4024] ret_from_fork+0x10/0x20 [ 42.535213][ T4024] [ 42.535213][ T4024] -> #0 ((work_completion)(&hdev->tx_work)){+.+.}-{0:0}: [ 42.537702][ T4024] __lock_acquire+0x32d4/0x7638 [ 42.539185][ T4024] lock_acquire+0x240/0x77c [ 42.540455][ T4024] __flush_work+0xf8/0x1c0 [ 42.541729][ T4024] flush_work+0x24/0x38 [ 42.542896][ T4024] hci_dev_do_close+0x16c/0x1060 [ 42.544277][ T4024] hci_rfkill_set_block+0xdc/0x1d0 [ 42.545867][ T4024] rfkill_set_block+0x18c/0x37c [ 42.547321][ T4024] rfkill_fop_write+0x594/0x750 [ 42.548769][ T4024] vfs_write+0x280/0xb44 [ 42.549982][ T4024] ksys_write+0x15c/0x26c [ 42.551161][ T4024] __arm64_sys_write+0x7c/0x90 [ 42.552565][ T4024] invoke_syscall+0x98/0x2b8 [ 42.553950][ T4024] el0_svc_common+0x138/0x258 [ 42.555491][ T4024] do_el0_svc+0x58/0x14c [ 42.556887][ T4024] el0_svc+0x7c/0x1f0 [ 42.558070][ T4024] el0t_64_sync_handler+0x84/0xe4 [ 42.559520][ T4024] el0t_64_sync+0x1a0/0x1a4 [ 42.560857][ T4024] [ 42.560857][ T4024] other info that might help us debug this: [ 42.560857][ T4024] [ 42.563575][ T4024] Chain exists of: [ 42.563575][ T4024] (work_completion)(&hdev->tx_work) --> rfkill_global_mutex --> &hdev->req_lock [ 42.563575][ T4024] [ 42.567655][ T4024] Possible unsafe locking scenario: [ 42.567655][ T4024] [ 42.569562][ T4024] CPU0 CPU1 [ 42.570937][ T4024] ---- ---- [ 42.572430][ T4024] lock(&hdev->req_lock); [ 42.573650][ T4024] lock(rfkill_global_mutex); [ 42.575604][ T4024] lock(&hdev->req_lock); [ 42.577388][ T4024] lock((work_completion)(&hdev->tx_work)); [ 42.578953][ T4024] [ 42.578953][ T4024] *** DEADLOCK *** [ 42.578953][ T4024] [ 42.581124][ T4024] 2 locks held by syz-executor256/4024: [ 42.582645][ T4024] #0: ffff800016e77d28 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_write+0x250/0x750 [ 42.585364][ T4024] #1: ffff0000ca428ff0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x64/0x1060 [ 42.587979][ T4024] [ 42.587979][ T4024] stack backtrace: [ 42.589572][ T4024] CPU: 1 PID: 4024 Comm: syz-executor256 Not tainted 5.15.165-syzkaller #0 [ 42.591860][ T4024] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 [ 42.594386][ T4024] Call trace: [ 42.595183][ T4024] dump_backtrace+0x0/0x530 [ 42.596338][ T4024] show_stack+0x2c/0x3c [ 42.597454][ T4024] dump_stack_lvl+0x108/0x170 [ 42.598742][ T4024] dump_stack+0x1c/0x58 [ 42.599871][ T4024] print_circular_bug+0x150/0x1b8 [ 42.601259][ T4024] check_noncircular+0x2cc/0x378 [ 42.602507][ T4024] __lock_acquire+0x32d4/0x7638 [ 42.603721][ T4024] lock_acquire+0x240/0x77c [ 42.604907][ T4024] __flush_work+0xf8/0x1c0 [ 42.605998][ T4024] flush_work+0x24/0x38 [ 42.607099][ T4024] hci_dev_do_close+0x16c/0x1060 [ 42.608451][ T4024] hci_rfkill_set_block+0xdc/0x1d0 [ 42.609902][ T4024] rfkill_set_block+0x18c/0x37c [ 42.611208][ T4024] rfkill_fop_write+0x594/0x750 [ 42.612438][ T4024] vfs_write+0x280/0xb44 [ 42.613460][ T4024] ksys_write+0x15c/0x26c [ 42.614549][ T4024] __arm64_sys_write+0x7c/0x90 [ 42.615973][ T4024] invoke_syscall+0x98/0x2b8 [ 42.617192][ T4024] el0_svc_common+0x138/0x258 [ 42.618546][ T4024] do_el0_svc+0x58/0x14c [ 42.619795][ T4024] el0_svc+0x7c/0x1f0 [ 42.620845][ T4024] el0t_64_sync_handler+0x84/0xe4 [ 42.622144][ T4024] el0t_64_sync+0x1a0/0x1a4 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program