Bluetooth: hci3: hardware error 0x00 ============================================ WARNING: possible recursive locking detected 6.11.0-rc4-syzkaller-gbe6d853c7631 #0 Not tainted -------------------------------------------- kworker/u9:2/6403 is trying to acquire lock: ffff0000eb125948 ((wq_completion)hci3#3){+.+.}-{0:0}, at: touch_wq_lockdep_map+0x70/0x118 kernel/workqueue.c:3876 but task is already holding lock: ffff0000eb125948 ((wq_completion)hci3#3){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock((wq_completion)hci3#3); lock((wq_completion)hci3#3); *** DEADLOCK *** May be due to missing lock nesting notation 2 locks held by kworker/u9:2/6403: #0: ffff0000eb125948 ((wq_completion)hci3#3){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205 #1: ffff8000a0307c20 ((work_completion)(&hdev->error_reset)){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3205 stack backtrace: CPU: 0 UID: 0 PID: 6403 Comm: kworker/u9:2 Not tainted 6.11.0-rc4-syzkaller-gbe6d853c7631 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Workqueue: hci3 hci_error_reset Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:317 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:324 __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:119 dump_stack+0x1c/0x28 lib/dump_stack.c:128 print_deadlock_bug+0x4e4/0x660 kernel/locking/lockdep.c:3011 check_deadlock kernel/locking/lockdep.c:3061 [inline] validate_chain kernel/locking/lockdep.c:3855 [inline] __lock_acquire+0x6160/0x779c kernel/locking/lockdep.c:5142 lock_acquire+0x240/0x728 kernel/locking/lockdep.c:5759 touch_wq_lockdep_map+0x98/0x118 kernel/workqueue.c:3876 __flush_workqueue+0x118/0x1174 kernel/workqueue.c:3918 drain_workqueue+0xb8/0x32c kernel/workqueue.c:4082 destroy_workqueue+0xb8/0xdc0 kernel/workqueue.c:5781 hci_release_dev+0x118/0x11a4 net/bluetooth/hci_core.c:2727 bt_host_release+0x70/0x88 net/bluetooth/hci_sysfs.c:94 device_release+0x8c/0x1ac kobject_cleanup lib/kobject.c:689 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x2a8/0x41c lib/kobject.c:737 put_device+0x28/0x40 drivers/base/core.c:3790 hci_dev_put include/net/bluetooth/hci_core.h:1586 [inline] hci_error_reset+0x160/0x35c net/bluetooth/hci_core.c:1019 process_one_work+0x79c/0x15b8 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x938/0xebc kernel/workqueue.c:3390 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860