watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz-executor4:28829] Modules linked in: irq event stamp: 33820 hardirqs last enabled at (33819): [] trace_hardirqs_on_thunk+0x1a/0x1c hardirqs last disabled at (33820): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (0): [] copy_process+0x22a2/0x8780 kernel/fork.c:1812 softirqs last disabled at (0): [<0000000000000000>] (null) CPU: 1 PID: 28829 Comm: syz-executor4 Not tainted 4.19.0-rc4+ #148 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:csd_lock_wait kernel/smp.c:108 [inline] RIP: 0010:smp_call_function_single+0x262/0x660 kernel/smp.c:302 Code: 48 89 44 24 28 e8 8e 4d 0c 00 45 85 e4 74 67 48 8b 44 24 28 48 83 c3 18 49 89 c4 e8 68 4c 0c 00 f3 90 48 89 d8 41 c6 04 24 04 <48> c1 e8 03 42 0f b6 04 30 84 c0 74 08 3c 03 0f 8e 52 03 00 00 41 RSP: 0018:ffff88019476f420 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13 RAX: ffff88019476f498 RBX: ffff88019476f498 RCX: ffffffff81728839 RDX: 0000000000000000 RSI: ffffffff817287e8 RDI: 0000000000000005 RBP: ffff88019476f570 R08: ffff8801c588e4c0 R09: ffffed003b5c5ba0 R10: ffffed003b5c5ba0 R11: ffff8801dae2dd07 R12: ffffed00328edea0 R13: 1ffff100328ede8c R14: dffffc0000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8801daf00000(0063) knlGS:000000000960a900 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000200002c0 CR3: 00000001c3b30000 CR4: 00000000001426e0 Call Trace: task_function_call+0x189/0x280 kernel/events/core.c:115 event_function_call+0x305/0x600 kernel/events/core.c:277 perf_remove_from_context+0xa3/0x1d0 kernel/events/core.c:2105 perf_event_release_kernel+0x295/0xfa0 kernel/events/core.c:4555 perf_release+0x37/0x50 kernel/events/core.c:4642 __fput+0x385/0xa30 fs/file_table.c:278 ____fput+0x15/0x20 fs/file_table.c:309 task_work_run+0x1e8/0x2a0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x318/0x380 arch/x86/entry/common.c:166 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath arch/x86/entry/common.c:268 [inline] do_syscall_32_irqs_on arch/x86/entry/common.c:341 [inline] do_fast_syscall_32+0xcd5/0xfb2 arch/x86/entry/common.c:397 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7fcdca9 Code: 85 d2 74 02 89 0a 5b 5d c3 8b 04 24 c3 8b 0c 24 c3 8b 1c 24 c3 90 90 90 90 90 90 90 90 90 90 90 90 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:000000000845fdac EFLAGS: 00000216 ORIG_RAX: 0000000000000006 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 0000000000000000 RDX: 0000000000000007 RSI: 0000000000000010 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 28873 Comm: syz-executor2 Not tainted 4.19.0-rc4+ #148 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:vmx_vcpu_pi_put+0x24/0x180 arch/x86/kvm/vmx.c:3127 Code: 33 fe ff ff 66 90 55 48 89 e5 41 54 53 48 89 fb e8 81 5a 62 00 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 <0f> 85 31 01 00 00 48 8b 3b e8 ee 82 ef ff 31 ff 41 89 c4 89 c6 e8 RSP: 0018:ffff8801947b65c8 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffff880184198980 RCX: 1ffff1003971a98e RDX: 1ffff10030833130 RSI: ffffffff811c79cf RDI: ffff880184198980 RBP: ffff8801947b65d8 R08: 0000000000000000 R09: 0000000000000003 R10: ffff8801cb8d4cf8 R11: b98fd9e26f2b0138 R12: ffffffff89171000 R13: 0000000000000001 R14: ffffc9000d9907e0 R15: ffff8801cb8d4400 FS: 0000000000000000(0000) GS:ffff8801dae00000(0063) knlGS:00000000f5f64b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000001d2cfb000 CR4: 00000000001426f0 Call Trace: vmx_vcpu_put+0x15/0x20 arch/x86/kvm/vmx.c:3139 kvm_arch_vcpu_put+0x27c/0x420 arch/x86/kvm/x86.c:3182 kvm_sched_out+0x91/0xb0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3985 __fire_sched_out_preempt_notifiers kernel/sched/core.c:2497 [inline] fire_sched_out_preempt_notifiers kernel/sched/core.c:2505 [inline] prepare_task_switch kernel/sched/core.c:2611 [inline] context_switch kernel/sched/core.c:2790 [inline] __schedule+0xf8c/0x1ed0 kernel/sched/core.c:3473 preempt_schedule_irq+0x87/0x110 kernel/sched/core.c:3700 retint_kernel+0x1b/0x2d RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x50 kernel/kcov.c:146 Code: 14 dd 28 00 00 00 4d 39 d0 72 1b 49 83 c1 01 4a 89 7c 10 e0 4a 89 74 10 e8 4a 89 54 10 f0 4a 89 4c d8 20 4c 89 08 5d c3 66 90 <55> 48 89 e5 65 48 8b 04 25 40 ee 01 00 65 8b 15 6c 19 83 7e 81 e2 RSP: 0018:ffff8801947b6938 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000002 RBX: ffff8801947b69c0 RCX: ffffffff811cea63 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: ffff8801947b6970 R08: ffff8801cb8d4400 R09: 1ffffffff12b43d5 R10: ffffed003b5c4732 R11: ffff8801dae23993 R12: ffff880184198980 R13: 0000000000000002 R14: 0000000000000ef0 R15: 0000000000000000 kvm_get_segment arch/x86/kvm/x86.c:4781 [inline] emulator_get_segment+0xd5/0x7a0 arch/x86/kvm/x86.c:5561 stack_mask arch/x86/kvm/emulate.c:534 [inline] emulate_pop+0x1ae/0x3c0 arch/x86/kvm/emulate.c:1858 em_pop_sreg+0xa8/0x260 arch/x86/kvm/emulate.c:1971 x86_emulate_insn+0x6b2/0x5020 arch/x86/kvm/emulate.c:5592 x86_emulate_instruction+0xd45/0x1fc0 arch/x86/kvm/x86.c:6224 kvm_mmu_page_fault+0x396/0x1b30 arch/x86/kvm/mmu.c:5280 handle_ept_misconfig+0x12f/0x590 arch/x86/kvm/vmx.c:7711 vmx_handle_exit+0x2f7/0x17e0 arch/x86/kvm/vmx.c:10115 vcpu_enter_guest+0x14a9/0x62e0 arch/x86/kvm/x86.c:7648 vcpu_run arch/x86/kvm/x86.c:7711 [inline] kvm_arch_vcpu_ioctl_run+0x375/0x16e0 arch/x86/kvm/x86.c:7888 kvm_vcpu_ioctl+0x72b/0x1150 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2590 kvm_vcpu_compat_ioctl+0x210/0x4a0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2785 __do_compat_sys_ioctl fs/compat_ioctl.c:1419 [inline] __se_compat_sys_ioctl fs/compat_ioctl.c:1365 [inline] __ia32_compat_sys_ioctl+0x20e/0x630 fs/compat_ioctl.c:1365 do_syscall_32_irqs_on arch/x86/entry/common.c:326 [inline] do_fast_syscall_32+0x34d/0xfb2 arch/x86/entry/common.c:397 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7f68ca9 Code: 85 d2 74 02 89 0a 5b 5d c3 8b 04 24 c3 8b 0c 24 c3 8b 1c 24 c3 90 90 90 90 90 90 90 90 90 90 90 90 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000f5f640cc EFLAGS: 00000296 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 000000000000ae80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000