watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.5:13989] Modules linked in: irq event stamp: 14538 hardirqs last enabled at (14537): [] restore_regs_and_return_to_kernel+0x0/0x2a hardirqs last disabled at (14538): [] apic_timer_interrupt+0x8e/0xa0 arch/x86/entry/entry_64.S:793 softirqs last enabled at (10090): [] __do_softirq+0x68b/0x9ff kernel/softirq.c:314 softirqs last disabled at (10037): [] invoke_softirq kernel/softirq.c:368 [inline] softirqs last disabled at (10037): [] irq_exit+0x193/0x240 kernel/softirq.c:409 CPU: 0 PID: 13989 Comm: syz-executor.5 Not tainted 4.14.262-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88804f3a81c0 task.stack: ffff888050a20000 RIP: 0010:__read_once_size include/linux/compiler.h:185 [inline] RIP: 0010:atomic_read arch/x86/include/asm/atomic.h:27 [inline] RIP: 0010:queued_write_lock_slowpath+0xd5/0x1d0 kernel/locking/qrwlock.c:139 RSP: 0018:ffff888050a27d10 EFLAGS: 00000206 ORIG_RAX: ffffffffffffff10 RAX: 0000000000000000 RBX: ffffffff89dd6668 RCX: 00000000000074f0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff89dd6668 RBP: ffffffff89dd666c R08: ffffffff8b9d8240 R09: 00000000000405a3 R10: ffff88804f3a8a98 R11: ffff88804f3a81c0 R12: 0000000000000003 R13: fffffbfff13baccd R14: 00000000000000ff R15: ffff8880b067d350 FS: 0000555556c81400(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e443000 CR3: 000000009c9be000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: queued_write_lock include/asm-generic/qrwlock.h:134 [inline] do_raw_write_lock+0xc2/0x1d0 kernel/locking/spinlock_debug.c:203 bt_sock_unlink+0x1d/0x170 net/bluetooth/af_bluetooth.c:151 hci_sock_release+0xc1/0x4c0 net/bluetooth/hci_sock.c:855 __sock_release+0xcd/0x2b0 net/socket.c:602 sock_close+0x15/0x20 net/socket.c:1139 __fput+0x25f/0x7a0 fs/file_table.c:210 task_work_run+0x11f/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7fbaf0e28c2b RSP: 002b:00007ffc7b3b0630 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007fbaf0e28c2b RDX: 0000000000000000 RSI: 00007fbaf0ded000 RDI: 0000000000000006 RBP: 00007fbaf0f8a960 R08: 0000000000000000 R09: 00000000180750c6 R10: 0000000000000000 R11: 0000000000000293 R12: 000000000005feba R13: 00007ffc7b3b0730 R14: 00007fbaf0f89030 R15: 0000000000000032 Code: ff 00 00 00 49 c1 ed 03 41 83 e4 07 48 b8 00 00 00 00 00 fc ff df 49 01 c5 41 83 c4 03 eb 02 f3 90 41 0f b6 45 00 41 38 c4 7c 08 <84> c0 0f 85 9e 00 00 00 8b 03 83 f8 01 75 e5 f0 44 0f b1 33 83 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 14036 Comm: syz-executor.3 Not tainted 4.14.262-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888055f4a080 task.stack: ffff888056910000 RIP: 0010:__lock_release kernel/locking/lockdep.c:3776 [inline] RIP: 0010:lock_release+0x2b0/0x870 kernel/locking/lockdep.c:4017 RSP: 0018:ffff8880ba507ce0 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff110174a0f9f RCX: 0000000000000000 RDX: ffff888055f4a9a8 RSI: ffffffff8bfe5e60 RDI: ffff888055f4a9ca RBP: ffffffff8bfe5e60 R08: ffffffff8b9d0270 R09: 0000000000000001 R10: 0000000000000000 R11: ffff888055f4a080 R12: ffffffff8319e6da R13: ffffffff8bec9d40 R14: ffff888055f4a080 R15: 0000000000000005 FS: 00007f77f5e8b700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000009cfb2000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:158 [inline] _raw_spin_unlock_irqrestore+0x1b/0xe0 kernel/locking/spinlock.c:192 debug_object_deactivate lib/debugobjects.c:530 [inline] debug_object_deactivate+0x1da/0x2e0 lib/debugobjects.c:491 debug_hrtimer_deactivate kernel/time/hrtimer.c:406 [inline] debug_deactivate kernel/time/hrtimer.c:453 [inline] __run_hrtimer kernel/time/hrtimer.c:1193 [inline] __hrtimer_run_queues+0x15b/0xc80 kernel/time/hrtimer.c:1287 hrtimer_interrupt+0x1e6/0x5e0 kernel/time/hrtimer.c:1321 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1079 [inline] smp_apic_timer_interrupt+0x117/0x5e0 arch/x86/kernel/apic/apic.c:1104 apic_timer_interrupt+0x93/0xa0 arch/x86/entry/entry_64.S:793 RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:411 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x265/0x910 kernel/locking/qspinlock.c:465 RSP: 0018:ffff888056917b48 EFLAGS: 00000206 ORIG_RAX: ffffffffffffff10 RAX: 0000000000000003 RBX: ffff8880ba534f00 RCX: fffffbfff13baccd RDX: 000000000000608b RSI: 0000000000000004 RDI: 0000000000000286 RBP: ffffffff89dd666c R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: ffffffff89dd666d R15: ffffed10174a69e8 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:669 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:52 [inline] queued_spin_lock include/asm-generic/qspinlock.h:90 [inline] queued_read_lock_slowpath+0x150/0x190 kernel/locking/qrwlock.c:90 hci_send_to_channel+0x3c/0x200 net/bluetooth/hci_sock.c:272 hci_send_monitor_ctrl_event+0x3dd/0x500 net/bluetooth/hci_sock.c:402 mgmt_send_event+0x2b3/0x330 net/bluetooth/mgmt_util.c:86 mgmt_index_event net/bluetooth/mgmt.c:256 [inline] mgmt_index_removed+0x200/0x240 net/bluetooth/mgmt.c:6600 hci_sock_bind+0xe00/0x12b0 net/bluetooth/hci_sock.c:1186 SYSC_bind net/socket.c:1489 [inline] SyS_bind+0x174/0x1f0 net/socket.c:1475 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f77f7515fe9 RSP: 002b:00007f77f5e8b168 EFLAGS: 00000246 ORIG_RAX: 0000000000000031 RAX: ffffffffffffffda RBX: 00007f77f7628f60 RCX: 00007f77f7515fe9 RDX: 0000000000000006 RSI: 0000000020000240 RDI: 0000000000000004 RBP: 00007f77f757008d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe897f52cf R14: 00007f77f5e8b300 R15: 0000000000022000 Code: 00 00 fc ff df 48 89 f9 48 c1 e9 03 0f b6 0c 01 48 89 f8 83 e0 07 83 c0 01 38 c8 7c 08 84 c9 0f 85 03 05 00 00 66 f7 42 22 f0 ff <74> 36 48 8d 7a 20 48 b8 00 00 00 00 00 fc ff df 48 89 f9 48 c1 ---------------- Code disassembly (best guess): 0: ff 00 incl (%rax) 2: 00 00 add %al,(%rax) 4: 49 c1 ed 03 shr $0x3,%r13 8: 41 83 e4 07 and $0x7,%r12d c: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 13: fc ff df 16: 49 01 c5 add %rax,%r13 19: 41 83 c4 03 add $0x3,%r12d 1d: eb 02 jmp 0x21 1f: f3 90 pause 21: 41 0f b6 45 00 movzbl 0x0(%r13),%eax 26: 41 38 c4 cmp %al,%r12b 29: 7c 08 jl 0x33 * 2b: 84 c0 test %al,%al <-- trapping instruction 2d: 0f 85 9e 00 00 00 jne 0xd1 33: 8b 03 mov (%rbx),%eax 35: 83 f8 01 cmp $0x1,%eax 38: 75 e5 jne 0x1f 3a: f0 44 0f b1 33 lock cmpxchg %r14d,(%rbx) 3f: 83 .byte 0x83