watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.1:12809] Modules linked in: irq event stamp: 8754 hardirqs last enabled at (8753): [] restore_regs_and_return_to_kernel+0x0/0x2a hardirqs last disabled at (8754): [] apic_timer_interrupt+0x8e/0xa0 arch/x86/entry/entry_64.S:793 softirqs last enabled at (4704): [] __do_softirq+0x68b/0x9ff kernel/softirq.c:314 softirqs last disabled at (4661): [] invoke_softirq kernel/softirq.c:368 [inline] softirqs last disabled at (4661): [] irq_exit+0x193/0x240 kernel/softirq.c:409 CPU: 0 PID: 12809 Comm: syz-executor.1 Not tainted 4.14.260-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888097e781c0 task.stack: ffff88809f7e8000 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+0xd0/0x1d0 kernel/locking/qrwlock.c:139 RSP: 0018:ffff88809f7efd10 EFLAGS: 00000206 ORIG_RAX: ffffffffffffff10 RAX: 0000000000000000 RBX: ffffffff89dd6628 RCX: 0000000000001b5d RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff89dd6628 RBP: ffffffff89dd662c R08: ffffffff8b9ab5a8 R09: 0000000000040595 R10: ffff888097e78a98 R11: ffff888097e781c0 R12: 0000000000000003 R13: fffffbfff13bacc5 R14: 00000000000000ff R15: ffff88809cdbb010 FS: 0000555555ef6400(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d92f000 CR3: 000000009104f000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000001000 DR2: 0000000000000000 DR3: 000000000000d000 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:0x7f5353455adb RSP: 002b:00007ffcc09c1f40 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00007f5353455adb RDX: 00007f53535bb3c0 RSI: ffffffffffffffff RDI: 0000000000000005 RBP: 00007f53535b7960 R08: 0000000000000000 R09: 00007f53535bb3c8 R10: 00007ffcc09c2040 R11: 0000000000000293 R12: 000000000001d457 R13: 00007ffcc09c2040 R14: 00007f53535b5f60 R15: 0000000000000032 Code: 49 89 dc 41 be 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 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 12815 Comm: syz-executor.5 Not tainted 4.14.260-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88808f874440 task.stack: ffff88809ca98000 RIP: 0010:hrtimer_get_softexpires_tv64 include/linux/hrtimer.h:251 [inline] RIP: 0010:__hrtimer_run_queues+0x42d/0xc80 kernel/time/hrtimer.c:1284 RSP: 0018:ffff8880ba507e58 EFLAGS: 00000046 RAX: 1ffff110132d8d5c RBX: 00000020bb20ce66 RCX: 1ffff110131d9df9 RDX: 0000000000010000 RSI: ffff8880ba52ed50 RDI: ffff8880996c6ae0 RBP: ffff8880ba52ece0 R08: ffffffff8bfff9c8 R09: 0000000000000004 R10: 0000000000000000 R11: ffff88808f874440 R12: ffff8880ba52ec80 R13: ffff8880996c6ac0 R14: dffffc0000000000 R15: 0000000000000001 FS: 00007f43fecd4700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2dc2c000 CR3: 0000000093217000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000001000 DR2: 0000000000000000 DR3: 000000000000d000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: 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:__read_once_size include/linux/compiler.h:185 [inline] RIP: 0010:trylock_clear_pending kernel/locking/qspinlock_paravirt.h:99 [inline] RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:412 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x271/0x910 kernel/locking/qspinlock.c:465 RSP: 0018:ffff88809ca9fb48 EFLAGS: 00000206 ORIG_RAX: ffffffffffffff10 RAX: 0000000000000000 RBX: ffff8880ba534f00 RCX: fffffbfff13bacc5 RDX: 00000000000036dd RSI: 0000000000000004 RDI: 0000000000000286 RBP: ffffffff89dd662c R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: ffffffff89dd662d 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:0x7f440035ee99 RSP: 002b:00007f43fecd4168 EFLAGS: 00000246 ORIG_RAX: 0000000000000031 RAX: ffffffffffffffda RBX: 00007f4400471f60 RCX: 00007f440035ee99 RDX: 0000000000000006 RSI: 00000000200000c0 RDI: 0000000000000005 RBP: 00007f44003b8ff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc4f0b12cf R14: 00007f43fecd4300 R15: 0000000000022000 Code: 4c 8b 28 4d 85 ed 0f 84 c0 fc ff ff e8 ad 56 0c 00 48 8b 5c 24 70 e8 a3 56 0c 00 49 8d 7d 20 48 89 f8 48 c1 e8 03 42 80 3c 30 00 <0f> 85 69 07 00 00 49 39 5d 20 0f 8f 91 fc ff ff e8 7e 56 0c 00 ---------------- Code disassembly (best guess): 0: 49 89 dc mov %rbx,%r12 3: 41 be ff 00 00 00 mov $0xff,%r14d 9: 49 c1 ed 03 shr $0x3,%r13 d: 41 83 e4 07 and $0x7,%r12d 11: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 18: fc ff df 1b: 49 01 c5 add %rax,%r13 1e: 41 83 c4 03 add $0x3,%r12d 22: eb 02 jmp 0x26 24: f3 90 pause 26: 41 0f b6 45 00 movzbl 0x0(%r13),%eax * 2b: 41 38 c4 cmp %al,%r12b <-- trapping instruction 2e: 7c 08 jl 0x38 30: 84 c0 test %al,%al 32: 0f 85 9e 00 00 00 jne 0xd6 38: 8b 03 mov (%rbx),%eax 3a: 83 f8 01 cmp $0x1,%eax 3d: 75 e5 jne 0x24 3f: f0 lock