Bluetooth: hci4: hardware error 0x00 ============================================ WARNING: possible recursive locking detected 6.11.0-syzkaller-11558-g075dbe9f6e3c #0 Not tainted -------------------------------------------- kworker/u33:6/5347 is trying to acquire lock: ffff888024ff0948 ((wq_completion)hci4){+.+.}-{0:0}, at: touch_wq_lockdep_map+0xa7/0x1c0 kernel/workqueue.c:3880 but task is already holding lock: ffff888024ff0948 ((wq_completion)hci4){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock((wq_completion)hci4); lock((wq_completion)hci4); *** DEADLOCK *** May be due to missing lock nesting notation 2 locks held by kworker/u33:6/5347: #0: ffff888024ff0948 ((wq_completion)hci4){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204 #1: ffffc90004b9fd80 ((work_completion)(&hdev->error_reset)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 stack backtrace: CPU: 3 UID: 0 PID: 5347 Comm: kworker/u33:6 Not tainted 6.11.0-syzkaller-11558-g075dbe9f6e3c #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: hci4 hci_error_reset Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 print_deadlock_bug+0x2e3/0x410 kernel/locking/lockdep.c:3034 check_deadlock kernel/locking/lockdep.c:3086 [inline] validate_chain kernel/locking/lockdep.c:3888 [inline] __lock_acquire+0x2185/0x3ce0 kernel/locking/lockdep.c:5199 lock_acquire kernel/locking/lockdep.c:5822 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5787 touch_wq_lockdep_map+0xad/0x1c0 kernel/workqueue.c:3880 __flush_workqueue+0x129/0x1200 kernel/workqueue.c:3922 drain_workqueue+0x18f/0x3d0 kernel/workqueue.c:4086 destroy_workqueue+0xc2/0xaa0 kernel/workqueue.c:5830 hci_release_dev+0x14e/0x600 net/bluetooth/hci_core.c:2733 bt_host_release+0x6a/0xb0 net/bluetooth/hci_sysfs.c:94 device_release+0xa1/0x240 drivers/base/core.c:2582 kobject_cleanup lib/kobject.c:689 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x1e4/0x5a0 lib/kobject.c:737 put_device+0x1f/0x30 drivers/base/core.c:3790 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244