Bluetooth: hci1: Opcode 0x0c03 failed: -110 ============================================ WARNING: possible recursive locking detected 6.8.0-rc7-syzkaller #0 Not tainted -------------------------------------------- kworker/u17:1/4612 is trying to acquire lock: ffff888011404138 ((wq_completion)hci1){+.+.}-{0:0}, at: __flush_workqueue+0x141/0x1340 kernel/workqueue.c:3146 but task is already holding lock: ffff888011404138 ((wq_completion)hci1){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock((wq_completion)hci1); lock((wq_completion)hci1); *** DEADLOCK *** May be due to missing lock nesting notation 2 locks held by kworker/u17:1/4612: #0: ffff888011404138 ((wq_completion)hci1){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608 #1: ffffc90002f9fd80 ((work_completion)(&hdev->error_reset)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609 stack backtrace: CPU: 0 PID: 4612 Comm: kworker/u17:1 Not tainted 6.8.0-rc7-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 Workqueue: hci1 hci_error_reset Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 check_deadlock kernel/locking/lockdep.c:3062 [inline] validate_chain kernel/locking/lockdep.c:3856 [inline] __lock_acquire+0x2111/0x3b40 kernel/locking/lockdep.c:5137 lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719 __flush_workqueue+0x14b/0x1340 kernel/workqueue.c:3146 drain_workqueue+0x18f/0x3d0 kernel/workqueue.c:3311 destroy_workqueue+0xc3/0xb10 kernel/workqueue.c:4793 hci_release_dev+0x14e/0x620 net/bluetooth/hci_core.c:2775 bt_host_release+0x6a/0xb0 net/bluetooth/hci_sysfs.c:94 device_release+0xa1/0x240 drivers/base/core.c:2499 kobject_cleanup lib/kobject.c:689 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x1fa/0x5b0 lib/kobject.c:737 put_device+0x1f/0x30 drivers/base/core.c:3747 process_one_work+0x889/0x15e0 kernel/workqueue.c:2633 process_scheduled_works kernel/workqueue.c:2706 [inline] worker_thread+0x8b9/0x12a0 kernel/workqueue.c:2787 kthread+0x2c6/0x3b0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243