------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: kernel/locking/mutex.c:625 at __mutex_lock_common kernel/locking/mutex.c:625 [inline], CPU#1: kworker/u34:2/5890 WARNING: kernel/locking/mutex.c:625 at __mutex_lock+0x944/0x1bc0 kernel/locking/mutex.c:821, CPU#1: kworker/u34:2/5890 Modules linked in: CPU: 1 UID: 0 PID: 5890 Comm: kworker/u34:2 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Workqueue: hci0 hci_power_on RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:625 [inline] RIP: 0010:__mutex_lock+0x94b/0x1bc0 kernel/locking/mutex.c:821 Code: 0f b6 14 11 38 d0 7c 08 84 d2 0f 85 b4 10 00 00 44 8b 05 d8 d5 7a 05 45 85 c0 75 13 48 8d 3d ac da 7d 05 48 c7 c6 a0 d2 ef 8b <67> 48 0f b9 3a 90 e9 1b f8 ff ff 4d 8d a7 f0 0a 00 00 4c 89 e7 e8 RSP: 0018:ffffc90002937890 EFLAGS: 00010246 RAX: 0000000000000003 RBX: ffff88803c0a4440 RCX: 1ffffffff2287150 RDX: 0000000000000000 RSI: ffffffff8befd2a0 RDI: ffffffff91468f60 RBP: ffffc90002937a00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 00000000000075eb R12: 0000000000000000 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff888056a15980 FS: 0000000000000000(0000) GS:ffff8880d5ca2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8ddaddcff8 CR3: 000000002b956000 CR4: 0000000000352ef0 Call Trace: msft_do_close+0x32e/0x6a0 net/bluetooth/msft.c:698 hci_dev_close_sync+0x1020/0x13c0 net/bluetooth/hci_sync.c:5596 hci_dev_do_close+0x2e/0xb0 net/bluetooth/hci_core.c:502 hci_power_on+0x1be/0x630 net/bluetooth/hci_core.c:940 process_one_work+0xac7/0x1b10 kernel/workqueue.c:3387 process_scheduled_works kernel/workqueue.c:3470 [inline] worker_thread+0x5ef/0xe50 kernel/workqueue.c:3551 kthread+0x373/0x450 kernel/kthread.c:436 ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 ---------------- Code disassembly (best guess): 0: 0f b6 14 11 movzbl (%rcx,%rdx,1),%edx 4: 38 d0 cmp %dl,%al 6: 7c 08 jl 0x10 8: 84 d2 test %dl,%dl a: 0f 85 b4 10 00 00 jne 0x10c4 10: 44 8b 05 d8 d5 7a 05 mov 0x57ad5d8(%rip),%r8d # 0x57ad5ef 17: 45 85 c0 test %r8d,%r8d 1a: 75 13 jne 0x2f 1c: 48 8d 3d ac da 7d 05 lea 0x57ddaac(%rip),%rdi # 0x57ddacf 23: 48 c7 c6 a0 d2 ef 8b mov $0xffffffff8befd2a0,%rsi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: 90 nop 30: e9 1b f8 ff ff jmp 0xfffff850 35: 4d 8d a7 f0 0a 00 00 lea 0xaf0(%r15),%r12 3c: 4c 89 e7 mov %r12,%rdi 3f: e8 .byte 0xe8