watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [syz-executor.0:14954] Modules linked in: irq event stamp: 2939978 hardirqs last enabled at (2939977): [] restore_regs_and_return_to_kernel+0x0/0x2a hardirqs last disabled at (2939978): [] apic_timer_interrupt+0x8e/0xa0 arch/x86/entry/entry_64.S:793 softirqs last enabled at (35790): [] __do_softirq+0x68b/0x9ff kernel/softirq.c:314 softirqs last disabled at (35653): [] invoke_softirq kernel/softirq.c:368 [inline] softirqs last disabled at (35653): [] irq_exit+0x193/0x240 kernel/softirq.c:409 CPU: 0 PID: 14954 Comm: syz-executor.0 Not tainted 4.14.262-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88809cd946c0 task.stack: ffff888057330000 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+0xcb/0x1d0 kernel/locking/qrwlock.c:139 RSP: 0018:ffff888057337d38 EFLAGS: 00000206 ORIG_RAX: ffffffffffffff10 RAX: 0000000000000101 RBX: ffffffff89dd6668 RCX: 00000000000032ee RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff89dd6668 RBP: ffffffff89dd666c R08: ffffffff8b9b7230 R09: 000000000004059f R10: ffff88809cd94f70 R11: ffff88809cd946c0 R12: 0000000000000003 R13: fffffbfff13baccd R14: 00000000000000ff R15: ffffffff8863c1e0 FS: 00007f4593641700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f227000 CR3: 00000000a9ff1000 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_link+0x1f/0x120 net/bluetooth/af_bluetooth.c:143 hci_sock_create+0x15c/0x1d0 net/bluetooth/hci_sock.c:2034 bt_sock_create+0x13b/0x280 net/bluetooth/af_bluetooth.c:130 __sock_create+0x303/0x620 net/socket.c:1275 sock_create net/socket.c:1315 [inline] SYSC_socket net/socket.c:1345 [inline] SyS_socket+0xd1/0x1b0 net/socket.c:1325 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f4594ccbfe9 RSP: 002b:00007f4593641108 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 00007f4594ddef60 RCX: 00007f4594ccbfe9 RDX: 0000000000000001 RSI: 0000000000000003 RDI: 000000000000001f RBP: 0000000000000005 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdacca08af R14: 00007f4593641300 R15: 0000000000022000 Code: 75 dc 49 89 dd 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 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 14953 Comm: syz-executor.2 Not tainted 4.14.262-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880b56d2080 task.stack: ffff88808d308000 RIP: 0010:rdtsc arch/x86/include/asm/msr.h:193 [inline] RIP: 0010:rdtsc_ordered arch/x86/include/asm/msr.h:218 [inline] RIP: 0010:pvclock_clocksource_read+0xc0/0x4f0 arch/x86/kernel/pvclock.c:87 RSP: 0018:ffff8880ba507e98 EFLAGS: 00000006 RAX: 00000000f5c125b6 RBX: ffff88823fff7040 RCX: 0000000000000001 RDX: 00000000000000a7 RSI: ffffffff87ccf200 RDI: ffff88823fff705c RBP: dffffc0000000000 R08: ffff88823fff7058 R09: ffff88823fff704f R10: ffff88823fff7057 R11: ffff88823fff705b R12: ffff88823fff7043 R13: ffffed1047ffee09 R14: ffff88823fff705d R15: ffff88823fff7050 FS: 00007f0f85543700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000a1a6a000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kvm_clock_read+0x1f/0x30 arch/x86/kernel/kvmclock.c:88 kvm_sched_clock_read+0x5/0x10 arch/x86/kernel/kvmclock.c:100 paravirt_sched_clock arch/x86/include/asm/paravirt.h:175 [inline] sched_clock+0x2a/0x40 arch/x86/kernel/tsc.c:228 sched_clock_cpu+0x18/0x1b0 kernel/sched/clock.c:363 irqtime_account_irq+0x63/0x280 kernel/sched/cputime.c:63 account_irq_exit_time include/linux/vtime.h:114 [inline] irq_exit+0x49/0x240 kernel/softirq.c:406 exiting_irq arch/x86/include/asm/apic.h:638 [inline] smp_apic_timer_interrupt+0x141/0x5e0 arch/x86/kernel/apic/apic.c:1106 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+0x26e/0x910 kernel/locking/qspinlock.c:465 RSP: 0018:ffff88808d30fb48 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff10 RAX: 0000000000000003 RBX: ffff8880ba534f00 RCX: fffffbfff13baccd RDX: 0000000000001f7c 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:0x7f0f86bcdfe9 RSP: 002b:00007f0f85543168 EFLAGS: 00000246 ORIG_RAX: 0000000000000031 RAX: ffffffffffffffda RBX: 00007f0f86ce0f60 RCX: 00007f0f86bcdfe9 RDX: 0000000000000006 RSI: 0000000020000240 RDI: 0000000000000004 RBP: 00007f0f86c2808d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcc662239f R14: 00007f0f85543300 R15: 0000000000022000 Code: 48 c1 e8 03 49 01 ed 4c 8d 5b 1b 48 01 e8 4c 8d 7b 10 48 89 44 24 20 4c 8d 53 17 4c 8d 73 1d 83 e2 fe 89 54 24 04 0f ae e8 0f 31 <48> c1 e2 20 48 8b 74 24 10 4c 89 c9 48 09 d0 41 0f b6 55 00 48 ---------------- Code disassembly (best guess): 0: 75 dc jne 0xffffffde 2: 49 89 dd mov %rbx,%r13 5: 49 89 dc mov %rbx,%r12 8: 41 be ff 00 00 00 mov $0xff,%r14d e: 49 c1 ed 03 shr $0x3,%r13 12: 41 83 e4 07 and $0x7,%r12d 16: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1d: fc ff df 20: 49 01 c5 add %rax,%r13 23: 41 83 c4 03 add $0x3,%r12d 27: eb 02 jmp 0x2b 29: f3 90 pause * 2b: 41 0f b6 45 00 movzbl 0x0(%r13),%eax <-- trapping instruction 30: 41 38 c4 cmp %al,%r12b 33: 7c 08 jl 0x3d 35: 84 c0 test %al,%al 37: 0f 85 9e 00 00 00 jne 0xdb 3d: 8b 03 mov (%rbx),%eax 3f: 83 .byte 0x83