watchdog: BUG: soft lockup - CPU#1 stuck for 225s! [syz.1.568:2277] Modules linked in: CPU: 1 PID: 2277 Comm: syz.1.568 Tainted: G W 5.15.153-syzkaller-00623-gda92e689a0c3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:csd_lock_wait kernel/smp.c:440 [inline] RIP: 0010:smp_call_function_many_cond+0x843/0x9b0 kernel/smp.c:969 Code: 45 8b 7d 00 44 89 fe 83 e6 01 31 ff e8 f6 a8 0a 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 07 e8 31 a5 0a 00 eb 38 f3 90 <42> 0f b6 04 3b 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 15 a5 RSP: 0018:ffffc90000d07200 EFLAGS: 00000246 RAX: ffffffff8165a5cb RBX: 1ffff1103ee07af1 RCX: 0000000000040000 RDX: ffffc90000f3b000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90000d07308 R08: ffffffff8165a59a R09: ffffc90000d07140 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff8881f703d788 R14: ffff8881f7138e80 R15: dffffc0000000000 FS: 00007f8af33da6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000100000000 CR3: 000000012a367000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: on_each_cpu_cond_mask+0x40/0x80 kernel/smp.c:1135 on_each_cpu include/linux/smp.h:71 [inline] flush_tlb_kernel_range+0x49/0x210 arch/x86/mm/tlb.c:1026 __purge_vmap_area_lazy+0x230/0x1690 mm/vmalloc.c:1694 _vm_unmap_aliases+0x339/0x3b0 mm/vmalloc.c:2118 vm_unmap_aliases+0x19/0x20 mm/vmalloc.c:2141 change_page_attr_set_clr+0x308/0x1050 arch/x86/mm/pat/set_memory.c:1740 change_page_attr_clear arch/x86/mm/pat/set_memory.c:1797 [inline] set_memory_ro+0xa1/0xe0 arch/x86/mm/pat/set_memory.c:1943 bpf_jit_binary_lock_ro include/linux/filter.h:891 [inline] bpf_int_jit_compile+0xbf42/0xc6d0 arch/x86/net/bpf_jit_comp.c:2372 bpf_prog_select_runtime+0x706/0x9e0 kernel/bpf/core.c:1930 bpf_prog_load+0x1315/0x1b50 kernel/bpf/syscall.c:2337 __sys_bpf+0x4bc/0x760 kernel/bpf/syscall.c:4633 __do_sys_bpf kernel/bpf/syscall.c:4737 [inline] __se_sys_bpf kernel/bpf/syscall.c:4735 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:4735 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f8af475ce79 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8af33da038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f8af48f8f80 RCX: 00007f8af475ce79 RDX: 0000000000000090 RSI: 00000000200000c0 RDI: 0000000000000005 RBP: 00007f8af47ca916 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8af48f8f80 R15: 00007fff44b381f8 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 278 Comm: syz-executor Tainted: G W 5.15.153-syzkaller-00623-gda92e689a0c3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:native_halt arch/x86/include/asm/irqflags.h:57 [inline] RIP: 0010:halt arch/x86/include/asm/irqflags.h:98 [inline] RIP: 0010:kvm_wait+0x117/0x180 arch/x86/kernel/kvm.c:912 Code: 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b 74 24 1c 75 53 41 0f b6 45 00 44 38 f0 0f 85 63 ff ff ff 66 90 0f 00 2d ea fc 12 04 f4 54 ff ff ff fa 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b RSP: 0018:ffffc90000007620 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff92000000ec8 RCX: ffffffff81550ddf RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff88810eb06040 RBP: ffffc900000076d0 R08: dffffc0000000000 R09: ffffed1021d60c09 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88810eb06040 R14: 0000000000000003 R15: 1ffff92000000ecc FS: 0000555556b6b500(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000100000000 CR3: 0000000119cc8000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: pv_wait arch/x86/include/asm/paravirt.h:597 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline] __pv_queued_spin_lock_slowpath+0x6bc/0xc40 kernel/locking/qspinlock.c:508 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock_flags include/linux/spinlock.h:199 [inline] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irqsave+0x1a0/0x210 kernel/locking/spinlock.c:162 __lock_task_sighand kernel/signal.c:1413 [inline] lock_task_sighand include/linux/sched/signal.h:710 [inline] do_send_sig_info+0x7e/0x230 kernel/signal.c:1302 group_send_sig_info+0x113/0x460 kernel/signal.c:1451 bpf_send_signal_common+0x2d8/0x420 kernel/trace/bpf_trace.c:824 ____bpf_send_signal kernel/trace/bpf_trace.c:829 [inline] bpf_send_signal+0x19/0x20 kernel/trace/bpf_trace.c:827 bpf_prog_8cc4ff36b5985b6a+0x15/0x974 bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline] __bpf_prog_run include/linux/filter.h:621 [inline] bpf_prog_run include/linux/filter.h:635 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1880 [inline] bpf_trace_run3+0x194/0x250 kernel/trace/bpf_trace.c:1918 __bpf_trace_kmem_cache_free+0x99/0xc0 include/trace/events/kmem.h:138 trace_kmem_cache_free include/trace/events/kmem.h:138 [inline] kmem_cache_free+0x2c3/0x2e0 mm/slub.c:3536 inode_free_by_rcu+0x1c/0x20 security/security.c:1048 rcu_do_batch+0x57a/0xc10 kernel/rcu/tree.c:2523 rcu_core+0x517/0x1020 kernel/rcu/tree.c:2763 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2776 __do_softirq+0x26d/0x5bf kernel/softirq.c:565 do_softirq+0xf6/0x150 kernel/softirq.c:452 __local_bh_enable_ip+0x75/0x80 kernel/softirq.c:379 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:176 [inline] _raw_spin_unlock_bh+0x51/0x60 kernel/locking/spinlock.c:210 __sock_map_delete net/core/sock_map.c:426 [inline] sock_map_delete_elem+0xcb/0x130 net/core/sock_map.c:448 bpf_prog_8a405b5ced52e191+0x42/0x8b8 bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline] __bpf_prog_run include/linux/filter.h:621 [inline] bpf_prog_run include/linux/filter.h:635 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1880 [inline] bpf_trace_run5+0x1f3/0x290 kernel/trace/bpf_trace.c:1920 __bpf_trace_signal_generate+0x3c/0x50 include/trace/events/signal.h:50 trace_signal_generate include/trace/events/signal.h:50 [inline] __send_signal+0xc52/0xcb0 kernel/signal.c:1193 send_signal+0x43a/0x590 kernel/signal.c:1254 do_send_sig_info+0xde/0x230 kernel/signal.c:1303 group_send_sig_info+0x113/0x460 kernel/signal.c:1451 bpf_send_signal_common+0x2d8/0x420 kernel/trace/bpf_trace.c:824 ____bpf_send_signal kernel/trace/bpf_trace.c:829 [inline] bpf_send_signal+0x19/0x20 kernel/trace/bpf_trace.c:827 bpf_prog_8cc4ff36b5985b6a+0x15/0xd68 bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline] __bpf_prog_run include/linux/filter.h:621 [inline] bpf_prog_run include/linux/filter.h:635 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1880 [inline] bpf_trace_run2+0x159/0x210 kernel/trace/bpf_trace.c:1917 __bpf_trace_sys_exit+0x62/0x70 include/trace/events/syscalls.h:44 trace_sys_exit include/trace/events/syscalls.h:44 [inline] syscall_exit_work kernel/entry/common.c:258 [inline] syscall_exit_to_user_mode_prepare kernel/entry/common.c:289 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:294 [inline] syscall_exit_to_user_mode+0x140/0x160 kernel/entry/common.c:307 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f36136e4c3c Code: 29 44 24 30 80 3d 1b 29 17 00 00 4c 89 4c 24 40 4c 8d 4c 24 40 48 c7 44 24 48 08 00 00 00 74 2e 4c 89 ea b8 0e 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7c 48 8b 54 24 58 64 48 2b 14 25 28 00 00 00 RSP: 002b:00007ffd5f41a8e0 EFLAGS: 00000202 ORIG_RAX: 000000000000010e RAX: 0000000000000001 RBX: 0000000100000000 RCX: 00007f36136e4c3c RDX: 0000000000000000 RSI: 00007ffd5f41aa10 RDI: 0000000000000023 RBP: 00007ffd5f41ae40 R08: 00007ffd5f41a910 R09: 00007ffd5f41a920 R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffd5f41ac90 R13: 0000000000000000 R14: 585858582e7a7973 R15: 00007ffd5f41ad10