watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [syz-executor2:18561] Modules linked in: irq event stamp: 301706 hardirqs last enabled at (301705): [] trace_hardirqs_on_thunk+0x1a/0x1c hardirqs last disabled at (301706): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (11924): [] __do_softirq+0x74d/0xa74 kernel/softirq.c:318 softirqs last disabled at (11881): [] invoke_softirq kernel/softirq.c:372 [inline] softirqs last disabled at (11881): [] irq_exit+0x1d6/0x210 kernel/softirq.c:412 CPU: 0 PID: 18561 Comm: syz-executor2 Not tainted 4.19.0-rc2+ #220 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__read_once_size include/linux/compiler.h:188 [inline] RIP: 0010:csd_lock_wait kernel/smp.c:108 [inline] RIP: 0010:smp_call_function_single+0x414/0x5c0 kernel/smp.c:302 Code: 00 f3 90 48 89 d8 41 c6 04 24 04 48 c1 e8 03 42 0f b6 04 28 84 c0 74 08 3c 03 0f 8e 35 01 00 00 41 0f b6 14 24 44 8b 7c 24 78 <84> d2 74 09 80 fa 03 0f 8e 02 01 00 00 44 89 bc 24 e0 00 00 00 41 RSP: 0018:ffff88018b636f80 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: ffff88018b636ff8 RCX: ffffc90002a8a000 RDX: 0000000000000004 RSI: ffffffff817094ab RDI: 0000000000000005 RBP: ffff88018b6370d8 R08: ffff88018d784380 R09: ffffed003b625b98 R10: ffffed003b625b98 R11: ffff8801db12dcc7 R12: ffffed00316c6e0c R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000003 FS: 00007f21ba5ae700(0000) GS:ffff8801db000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fe21000 CR3: 0000000188014000 CR4: 00000000001426f0 Call Trace: smp_call_function_many+0x884/0xa40 kernel/smp.c:434 smp_call_function kernel/smp.c:492 [inline] on_each_cpu+0x46/0x1d0 kernel/smp.c:604 flush_tlb_kernel_range+0x98/0x160 arch/x86/mm/tlb.c:692 __purge_vmap_area_lazy+0x11b/0x280 mm/vmalloc.c:676 vm_unmap_aliases+0x4a1/0x610 mm/vmalloc.c:1108 change_page_attr_set_clr+0x2b4/0x1020 arch/x86/mm/pageattr.c:1497 change_page_attr_clear arch/x86/mm/pageattr.c:1560 [inline] set_memory_ro+0x7b/0xa0 arch/x86/mm/pageattr.c:1789 bpf_jit_binary_lock_ro include/linux/filter.h:704 [inline] bpf_int_jit_compile+0xbba/0xe96 arch/x86/net/bpf_jit_comp.c:1168 bpf_prog_select_runtime+0x46d/0x650 kernel/bpf/core.c:1487 bpf_migrate_filter net/core/filter.c:1273 [inline] bpf_prepare_filter+0xbd6/0x1100 net/core/filter.c:1321 __get_filter+0x1e0/0x280 net/core/filter.c:1490 sk_attach_filter+0x1d/0x90 net/core/filter.c:1505 sock_setsockopt+0x105b/0x2290 net/core/sock.c:892 __sys_setsockopt+0x2f3/0x3b0 net/socket.c:1896 __do_sys_setsockopt net/socket.c:1911 [inline] __se_sys_setsockopt net/socket.c:1908 [inline] __x64_sys_setsockopt+0xbe/0x150 net/socket.c:1908 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457099 Code: fd b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f21ba5adc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f21ba5ae6d4 RCX: 0000000000457099 RDX: 000000000000001a RSI: 0000000000000001 RDI: 0000000000000003 RBP: 00000000009300a0 R08: 0000000000000010 R09: 0000000000000000 R10: 0000000020000040 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d4e18 R14: 00000000004c91a1 R15: 0000000000000000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 18553 Comm: syz-executor3 Not tainted 4.19.0-rc2+ #220 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:788 [inline] RIP: 0010:lock_acquire+0x25f/0x4f0 kernel/locking/lockdep.c:3904 Code: 00 00 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 41 02 00 00 48 83 3d d8 05 b2 06 00 0f 84 a6 01 00 00 48 8b bd 20 ff ff ff 57 9d <0f> 1f 44 00 00 48 b8 00 00 00 00 00 fc ff df 48 01 c3 48 c7 03 00 RSP: 0018:ffff88018a5674e0 EFLAGS: 00000086 RAX: dffffc0000000000 RBX: 1ffff100314acea1 RCX: 0000000000000000 RDX: 1ffffffff10237c5 RSI: 0000000000000000 RDI: 0000000000000086 RBP: ffff88018a5675d0 R08: 0000000000000008 R09: 0000000000000002 R10: ffff88014ae10ad0 R11: b5ba0bf4e9e7c143 R12: ffff88014ae10240 R13: 0000000000000000 R14: 0000000000000002 R15: 0000000000000000 FS: 00007fce30de6700(0000) GS:ffff8801db100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ff24000 CR3: 000000018a932000 CR4: 00000000001426e0 Call Trace: rcu_lock_acquire include/linux/rcupdate.h:244 [inline] srcu_read_lock include/linux/srcu.h:199 [inline] kvm_arch_vcpu_put+0x171/0x420 arch/x86/kvm/x86.c:3178 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+0xf1e/0x1df0 kernel/sched/core.c:3473 preempt_schedule_common+0x22/0x60 kernel/sched/core.c:3597 _cond_resched+0x1d/0x30 kernel/sched/core.c:4963 vcpu_run arch/x86/kvm/x86.c:7723 [inline] kvm_arch_vcpu_ioctl_run+0xdf1/0x16d0 arch/x86/kvm/x86.c:7870 kvm_vcpu_ioctl+0x7b8/0x1280 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2590 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0x1de/0x1720 fs/ioctl.c:685 ksys_ioctl+0xa9/0xd0 fs/ioctl.c:702 __do_sys_ioctl fs/ioctl.c:709 [inline] __se_sys_ioctl fs/ioctl.c:707 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:707 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457099 Code: fd b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fce30de5c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fce30de66d4 RCX: 0000000000457099 RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000005 RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004cf460 R14: 00000000004c5786 R15: 0000000000000000