watchdog: BUG: soft lockup - CPU#0 stuck for 246s! [syz-executor.2:4859] Modules linked in: CPU: 0 PID: 4859 Comm: syz-executor.2 Not tainted 5.15.149-syzkaller-00490-g5d96939590c0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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 5b 03 f3 03 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:ffffc90000007780 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 1ffff92000000ef4 RCX: 1ffffffff0d1aa9c RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff8881f7037ed4 RBP: ffffc90000007830 R08: dffffc0000000000 R09: ffffed103ee06fdb R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881f7037ed4 R14: 0000000000000001 R15: 1ffff92000000ef8 FS: 0000555555a7e480(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ed22000 CR3: 0000000124933000 CR4: 00000000003506b0 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_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+0xb1/0x2f0 net/core/sock_map.c:937 bpf_prog_2c29ac5cdc6b1842+0x3a/0x77c bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline] __bpf_prog_run include/linux/filter.h:625 [inline] bpf_prog_run include/linux/filter.h:632 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1883 [inline] bpf_trace_run2+0xec/0x210 kernel/trace/bpf_trace.c:1920 __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 security_task_free+0x9a/0xc0 security/security.c:1692 __put_task_struct+0xed/0x3e0 kernel/fork.c:802 put_task_struct include/linux/sched/task.h:141 [inline] delayed_put_task_struct+0x69/0x1a0 kernel/exit.c:222 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 invoke_softirq kernel/softirq.c:425 [inline] __irq_exit_rcu+0x50/0xf0 kernel/softirq.c:648 irq_exit_rcu+0x9/0x10 kernel/softirq.c:660 sysvec_apic_timer_interrupt+0x9a/0xc0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:call_rcu+0xd64/0x12a0 kernel/rcu/tree.c:3088 Code: df 41 80 3c 04 00 74 08 4c 89 f7 e8 b6 f8 55 00 48 8b 05 ff 5a 3e 05 49 03 06 48 39 c3 7f 61 fb 49 be 00 00 00 00 00 fc ff df <48> c7 84 24 80 00 00 00 0e 36 e0 45 48 8b 44 24 78 49 c7 04 06 00 RSP: 0018:ffffc900011a7480 EFLAGS: 00000287 RAX: 0000000000002710 RBX: 00000000000000ba RCX: ffffffff815c4fed RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8881f7038008 RBP: ffffc900011a75e8 R08: dffffc0000000000 R09: ffffed103ee07002 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103ee07007 R13: 1ffff1103ee07001 R14: dffffc0000000000 R15: ffff8881f7038008 dentry_free+0xbf/0x160 __dentry_kill+0x505/0x660 fs/dcache.c:596 shrink_dentry_list+0x35e/0x4b0 fs/dcache.c:1177 shrink_dcache_parent+0xc9/0x340 d_invalidate+0x115/0x2d0 fs/dcache.c:1713 proc_invalidate_siblings_dcache+0x2a2/0x3d0 fs/proc/inode.c:150 proc_flush_pid+0x1d/0x20 fs/proc/base.c:3376 release_task+0x10d9/0x1210 kernel/exit.c:271 wait_task_zombie kernel/exit.c:1185 [inline] wait_consider_task+0x195d/0x29a0 kernel/exit.c:1412 do_wait_thread kernel/exit.c:1475 [inline] do_wait+0x260/0xa10 kernel/exit.c:1592 kernel_wait4+0x29e/0x3d0 kernel/exit.c:1755 __do_sys_wait4 kernel/exit.c:1783 [inline] __se_sys_wait4 kernel/exit.c:1779 [inline] __x64_sys_wait4+0x130/0x1e0 kernel/exit.c:1779 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:0x7f91ce0ab8d3 Code: 00 00 0f 1f 44 00 00 31 c9 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 80 3d 31 56 10 00 00 49 89 ca 74 14 b8 3d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 5d c3 0f 1f 40 00 48 83 ec 28 89 54 24 14 48 RSP: 002b:00007ffc4c674848 EFLAGS: 00000202 ORIG_RAX: 000000000000003d RAX: ffffffffffffffda RBX: 0000000000000021 RCX: 00007f91ce0ab8d3 RDX: 0000000040000001 RSI: 00007ffc4c6748ac RDI: 00000000ffffffff RBP: 00007ffc4c6748ac R08: 00007ffc4c6e5080 R09: 00007ffc4c6e50b0 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000032 R13: 000000000001e856 R14: 000000000001e4f4 R15: 0000000000000014 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5092 Comm: syz-executor.1 Not tainted 5.15.149-syzkaller-00490-g5d96939590c0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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 5b 03 f3 03 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:ffffc90001346a80 EFLAGS: 00000246 RAX: 0000000000000003 RBX: 1ffff92000268d54 RCX: ffffffff8154fa7f RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff8881132ab8d8 RBP: ffffc90001346b30 R08: dffffc0000000000 R09: ffffed102265571c R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881132ab8d8 R14: 0000000000000003 R15: 1ffff92000268d58 FS: 00007f73d21dd6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9e3f6ba988 CR3: 000000010e050000 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+0xb1/0x2f0 net/core/sock_map.c:937 bpf_prog_2c29ac5cdc6b1842+0x3a/0x77c bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline] __bpf_prog_run include/linux/filter.h:625 [inline] bpf_prog_run include/linux/filter.h:632 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1883 [inline] bpf_trace_run2+0xec/0x210 kernel/trace/bpf_trace.c:1920 __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+0x274/0x2f0 net/core/sock_map.c:941 bpf_prog_2c29ac5cdc6b1842+0x3a/0x77c bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline] __bpf_prog_run include/linux/filter.h:625 [inline] bpf_prog_run include/linux/filter.h:632 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1883 [inline] bpf_trace_run2+0xec/0x210 kernel/trace/bpf_trace.c:1920 __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 skb_free_head net/core/skbuff.c:656 [inline] skb_release_data+0x8a9/0xa80 net/core/skbuff.c:678 skb_release_all net/core/skbuff.c:743 [inline] __kfree_skb net/core/skbuff.c:757 [inline] kfree_skb_reason net/core/skbuff.c:778 [inline] kfree_skb+0xba/0x360 net/core/skbuff.c:792 vti_tunnel_xmit+0xcf8/0x1410 __netdev_start_xmit include/linux/netdevice.h:5059 [inline] netdev_start_xmit include/linux/netdevice.h:5073 [inline] xmit_one net/core/dev.c:3624 [inline] dev_hard_start_xmit+0x228/0x620 net/core/dev.c:3640 __dev_queue_xmit+0x18b4/0x2e70 net/core/dev.c:4255 dev_queue_xmit+0x17/0x20 net/core/dev.c:4288 __bpf_tx_skb net/core/filter.c:2115 [inline] __bpf_redirect_no_mac net/core/filter.c:2149 [inline] __bpf_redirect+0x690/0xe60 net/core/filter.c:2172 ____bpf_clone_redirect net/core/filter.c:2439 [inline] bpf_clone_redirect+0x24d/0x390 net/core/filter.c:2411 bpf_prog_b36a1f39e2fdd4f4+0x56/0xe58 bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline] __bpf_prog_run include/linux/filter.h:625 [inline] bpf_prog_run include/linux/filter.h:632 [inline] bpf_test_run+0x478/0xa10 net/bpf/test_run.c:119 bpf_prog_test_run_skb+0xb41/0x1420 net/bpf/test_run.c:663 bpf_prog_test_run+0x3b0/0x630 kernel/bpf/syscall.c:3348 __sys_bpf+0x525/0x760 kernel/bpf/syscall.c:4651 __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:0x7f73d3468ee9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 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 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f73d21dd0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f73d3597f80 RCX: 00007f73d3468ee9 RDX: 0000000000000048 RSI: 0000000020000040 RDI: 000000000000000a RBP: 00007f73d34b549e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f73d3597f80 R15: 00007fff1439e248