watchdog: BUG: soft lockup - CPU#0 stuck for 226s! [syz.0.419:1527] Modules linked in: CPU: 0 PID: 1527 Comm: syz.0.419 Not tainted 5.15.160-syzkaller-00026-ge6fb3b0fa87f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] RIP: 0010:kvm_wait+0x147/0x180 arch/x86/kernel/kvm.c:918 Code: 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b 74 24 1c 75 34 41 0f b6 45 00 44 38 f0 75 10 66 90 0f 00 2d 0b ed 12 04 fb f4 24 ff ff ff fb e9 1e ff ff ff 44 89 e9 80 e1 07 38 c1 7c a3 4c RSP: 0018:ffffc90000e26bc0 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 1ffff920001c4d7c RCX: 1ffffffff0d5ab14 RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff8881f7038ad4 RBP: ffffc90000e26c70 R08: dffffc0000000000 R09: ffffed103ee0715b R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881f7038ad4 R14: 0000000000000001 R15: 1ffff920001c4d80 FS: 00007f803690e6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2cfb15 CR3: 000000012ea37000 CR4: 00000000003506b0 DR0: 0000000020000300 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: pv_wait arch/x86/include/asm/paravirt.h:597 [inline] pv_wait_node kernel/locking/qspinlock_paravirt.h:325 [inline] __pv_queued_spin_lock_slowpath+0x41b/0xc40 kernel/locking/qspinlock.c:473 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 include/linux/spinlock.h:187 [inline] __raw_spin_lock_bh include/linux/spinlock_api_smp.h:136 [inline] _raw_spin_lock_bh+0x139/0x1b0 kernel/locking/spinlock.c:178 sock_hash_delete_elem+0x177/0x400 net/core/sock_map.c:943 bpf_prog_c9faa1663fd3be42+0x3d/0xcb4 bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline] __bpf_prog_run include/linux/filter.h:628 [inline] bpf_prog_run include/linux/filter.h:635 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1880 [inline] bpf_trace_run2+0xec/0x210 kernel/trace/bpf_trace.c:1917 __bpf_trace_kfree+0x6f/0x90 include/trace/events/kmem.h:118 trace_kfree include/trace/events/kmem.h:118 [inline] kfree+0x1f3/0x220 mm/slub.c:4569 copy_array kernel/bpf/verifier.c:775 [inline] copy_verifier_state+0xd7/0xcc0 kernel/bpf/verifier.c:953 is_state_visited kernel/bpf/verifier.c:11048 [inline] do_check+0x47a0/0xf2c0 kernel/bpf/verifier.c:11163 do_check_common+0x909/0x1290 kernel/bpf/verifier.c:13437 do_check_main kernel/bpf/verifier.c:13500 [inline] bpf_check+0x3835/0x12bf0 kernel/bpf/verifier.c:14071 bpf_prog_load+0x12ac/0x1b50 kernel/bpf/syscall.c:2333 __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 x64_sys_call+0x87f/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:322 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f8037c94ef9 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:00007f803690e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f8037e4cf80 RCX: 00007f8037c94ef9 RDX: 0000000000000080 RSI: 0000000020000040 RDI: 0000000000000005 RBP: 00007f8037d07b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8037e4cf80 R15: 00007ffc9a86ea48 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 1530 Comm: syz.4.421 Not tainted 5.15.160-syzkaller-00026-ge6fb3b0fa87f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] RIP: 0010:kvm_wait+0x147/0x180 arch/x86/kernel/kvm.c:918 Code: 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b 74 24 1c 75 34 41 0f b6 45 00 44 38 f0 75 10 66 90 0f 00 2d 0b ed 12 04 fb f4 24 ff ff ff fb e9 1e ff ff ff 44 89 e9 80 e1 07 38 c1 7c a3 4c RSP: 0018:ffffc90005676f60 EFLAGS: 00000246 RAX: 0000000000000003 RBX: 1ffff92000acedf0 RCX: ffffffff81552f9f RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff88810ce3a2d8 RBP: ffffc90005677010 R08: dffffc0000000000 R09: ffffed10219c745c R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88810ce3a2d8 R14: 0000000000000003 R15: 1ffff92000acedf4 FS: 00007f6ebc2b46c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000011941e000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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 include/linux/spinlock.h:187 [inline] __raw_spin_lock_bh include/linux/spinlock_api_smp.h:136 [inline] _raw_spin_lock_bh+0x139/0x1b0 kernel/locking/spinlock.c:178 sock_hash_delete_elem+0x177/0x400 net/core/sock_map.c:943 bpf_prog_c9faa1663fd3be42+0x3d/0xcb4 bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline] __bpf_prog_run include/linux/filter.h:628 [inline] bpf_prog_run include/linux/filter.h:635 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1880 [inline] bpf_trace_run2+0xec/0x210 kernel/trace/bpf_trace.c:1917 __bpf_trace_kfree+0x6f/0x90 include/trace/events/kmem.h:118 trace_kfree include/trace/events/kmem.h:118 [inline] kfree+0x1f3/0x220 mm/slub.c:4569 sk_psock_free_link include/linux/skmsg.h:420 [inline] sock_map_del_link net/core/sock_map.c:160 [inline] sock_map_unref+0x352/0x4d0 net/core/sock_map.c:182 sock_hash_delete_elem+0x388/0x400 net/core/sock_map.c:947 bpf_prog_c9faa1663fd3be42+0x3d/0xcb4 bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline] __bpf_prog_run include/linux/filter.h:628 [inline] bpf_prog_run include/linux/filter.h:635 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1880 [inline] bpf_trace_run2+0xec/0x210 kernel/trace/bpf_trace.c:1917 __bpf_trace_kfree+0x6f/0x90 include/trace/events/kmem.h:118 trace_kfree include/trace/events/kmem.h:118 [inline] kfree+0x1f3/0x220 mm/slub.c:4569 selinux_sk_free_security+0x5b/0x70 security/selinux/hooks.c:5358 security_sk_free+0x44/0x80 security/security.c:2314 sk_prot_free net/core/sock.c:1900 [inline] __sk_destruct+0x468/0x5b0 net/core/sock.c:1991 sk_destruct net/core/sock.c:2006 [inline] __sk_free+0x36c/0x470 net/core/sock.c:2017 sk_free+0x51/0x80 net/core/sock.c:2028 sock_put+0x51/0x80 include/net/sock.h:1921 unix_dgram_sendmsg+0x1d7a/0x2090 net/unix/af_unix.c:1881 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2431 ___sys_sendmsg+0x252/0x2e0 net/socket.c:2485 __sys_sendmsg net/socket.c:2514 [inline] __do_sys_sendmsg net/socket.c:2523 [inline] __se_sys_sendmsg+0x19a/0x260 net/socket.c:2521 __x64_sys_sendmsg+0x7b/0x90 net/socket.c:2521 x64_sys_call+0x16a/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:47 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f6ebd63aef9 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:00007f6ebc2b4038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f6ebd7f2f80 RCX: 00007f6ebd63aef9 RDX: 0000000000000000 RSI: 0000000020000800 RDI: 0000000000000005 RBP: 00007f6ebd6adb76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f6ebd7f2f80 R15: 00007ffc4f276758