watchdog: BUG: soft lockup - CPU#0 stuck for 246s! [syz-executor.0:13946] Modules linked in: CPU: 0 PID: 13946 Comm: syz-executor.0 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:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:434 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x5ba/0xc40 kernel/locking/qspinlock.c:508 Code: 00 00 49 89 dc c6 03 00 48 8b 44 24 10 0f b6 04 10 84 c0 0f 85 48 01 00 00 48 8b 44 24 08 c6 00 01 bb 00 80 ff ff eb 06 f3 90 c3 74 5e 41 0f b6 44 15 00 84 c0 75 36 41 80 3f 00 75 ea 4c 89 RSP: 0018:ffffc90000007b80 EFLAGS: 00000206 RAX: 0000000000000000 RBX: 00000000ffff9ea4 RCX: ffffffff8154fa7f RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff888118526208 RBP: ffffc90000007c70 R08: dffffc0000000000 R09: ffffed10230a4c42 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f7037ed4 R13: 1ffff110230a4c41 R14: 1ffff1103ee00001 R15: ffff888118526208 FS: 00007f83b0d556c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200d1000 CR3: 0000000138c22000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: 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 include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_lock+0x139/0x1b0 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:363 [inline] tcp_write_timer+0x25/0x1d0 net/ipv4/tcp_timer.c:662 call_timer_fn+0x3b/0x2d0 kernel/time/timer.c:1427 expire_timers kernel/time/timer.c:1472 [inline] __run_timers+0x72a/0xa10 kernel/time/timer.c:1743 run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1756 __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:kasan_check_range+0x1c6/0x2a0 mm/kasan/generic.c:189 Code: ed 49 0f 49 dd 48 83 e3 f8 49 29 dd 74 12 41 80 39 00 0f 85 a6 00 00 00 49 ff c1 49 ff cd 75 ee 5b 41 5c 41 5d 41 5e 41 5f 5d 45 84 f6 75 61 41 f7 c6 00 ff 00 00 75 5d 41 f7 c6 00 00 ff 00 RSP: 0018:ffffc90002b47610 EFLAGS: 00000256 RAX: 1ffffd4000936b01 RBX: 0000000000000004 RCX: ffffffff81ae1b1a RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffea00049b5ef4 RBP: ffffc90002b47618 R08: dffffc0000000000 R09: fffff94000936bdf R10: 0000000000000000 R11: dffffc0000000001 R12: ffffea00049b5ec0 R13: 0000000000000000 R14: ffffea00049b5ef4 R15: dffffc0000000000 instrument_atomic_read include/linux/instrumented.h:71 [inline] atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline] page_ref_count include/linux/page_ref.h:67 [inline] page_expected_state mm/page_alloc.c:1269 [inline] check_free_page+0x7a/0x140 mm/page_alloc.c:1311 free_pages_prepare mm/page_alloc.c:1453 [inline] __free_pages_ok+0x62e/0xa50 mm/page_alloc.c:1771 free_the_page mm/page_alloc.c:806 [inline] __free_pages+0xe9/0xf0 mm/page_alloc.c:5852 free_nonslab_page+0x82/0xc0 mm/slub.c:3555 kfree+0x19e/0x220 mm/slub.c:4576 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 tsk_advance_rx_queue+0x10a/0x260 net/tipc/socket.c:281 tipc_recvstream+0x807/0xf70 net/tipc/socket.c:2092 ____sys_recvmsg+0x286/0x530 ___sys_recvmsg+0x1ec/0x690 net/socket.c:2692 __sys_recvmsg net/socket.c:2722 [inline] __do_sys_recvmsg net/socket.c:2732 [inline] __se_sys_recvmsg net/socket.c:2729 [inline] __x64_sys_recvmsg+0x1dc/0x2b0 net/socket.c:2729 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:0x7f83b1fe1d69 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:00007f83b0d550c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002f RAX: ffffffffffffffda RBX: 00007f83b210ff80 RCX: 00007f83b1fe1d69 RDX: 0000000000001f00 RSI: 0000000020000500 RDI: 000000000000000a RBP: 00007f83b202e49e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f83b210ff80 R15: 00007ffd84ef3ed8 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 13950 Comm: syz-executor.4 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_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 8a 03 f3 03 f4 54 ff ff ff fa 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b RSP: 0018:ffffc900001cf9a0 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff92000039f38 RCX: ffffffff8154fa7f RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff8881f7136cc0 RBP: ffffc900001cfa50 R08: dffffc0000000000 R09: ffffed103ee26d99 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881f7136cc0 R14: 0000000000000003 R15: 1ffff92000039f3c FS: 00007fa50737c6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f83b0d34d58 CR3: 0000000119b12000 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 include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_lock+0x139/0x1b0 kernel/locking/spinlock.c:154 raw_spin_rq_lock_nested kernel/sched/core.c:489 [inline] raw_spin_rq_lock kernel/sched/sched.h:1352 [inline] rq_lock kernel/sched/sched.h:1660 [inline] scheduler_tick+0xa2/0x470 kernel/sched/core.c:5425 update_process_times+0x1cc/0x200 kernel/time/timer.c:1799 tick_sched_handle kernel/time/tick-sched.c:257 [inline] tick_sched_timer+0x188/0x240 kernel/time/tick-sched.c:1478 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x41a/0xad0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x40c/0xaa0 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0xfd/0x3c0 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x44/0xc0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:190 Code: 00 00 00 0f 0b 0f 1f 44 00 00 55 48 89 e5 53 48 89 fb e8 13 00 00 00 48 8b 3d 64 23 96 05 48 89 de e8 d4 5f 41 00 5b 5d c3 cc <55> 48 89 e5 48 8b 45 08 65 48 8b 0d 40 47 92 7e 65 8b 15 41 47 92 RSP: 0018:ffffc900001d0010 EFLAGS: 00000206 RAX: 0000000080000105 RBX: 0000000000000004 RCX: 1ffff110230a4cf2 RDX: ffff888112c38000 RSI: 0000000000000001 RDI: 0000000000000004 RBP: ffffc900001d0050 R08: ffffffff84282cbd R09: ffffed103ee24f26 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888118526180 R13: ffff888118526794 R14: dffffc0000000000 R15: 0000000000000001 tcp_rcv_established+0x113e/0x1ac0 net/ipv4/tcp_input.c:5960 tcp_v4_do_rcv+0x3d7/0xa00 net/ipv4/tcp_ipv4.c:1722 tcp_v4_rcv+0x23dd/0x2a70 net/ipv4/tcp_ipv4.c:2125 ip_protocol_deliver_rcu+0x32f/0x710 net/ipv4/ip_input.c:204 ip_local_deliver_finish net/ipv4/ip_input.c:231 [inline] NF_HOOK include/linux/netfilter.h:305 [inline] ip_local_deliver+0x2c6/0x590 net/ipv4/ip_input.c:252 dst_input include/net/dst.h:454 [inline] ip_sublist_rcv_finish net/ipv4/ip_input.c:577 [inline] ip_list_rcv_finish net/ipv4/ip_input.c:628 [inline] ip_sublist_rcv+0x7e2/0x980 net/ipv4/ip_input.c:636 ip_list_rcv+0x422/0x470 net/ipv4/ip_input.c:671 __netif_receive_skb_list_ptype net/core/dev.c:5535 [inline] __netif_receive_skb_list_core+0x6b1/0x890 net/core/dev.c:5583 __netif_receive_skb_list net/core/dev.c:5635 [inline] netif_receive_skb_list_internal+0x967/0xcc0 net/core/dev.c:5726 gro_normal_list net/core/dev.c:5880 [inline] napi_complete_done+0x344/0x770 net/core/dev.c:6618 virtqueue_napi_complete drivers/net/virtio_net.c:357 [inline] virtnet_poll+0xbee/0x1260 drivers/net/virtio_net.c:1592 __napi_poll+0xc4/0x5a0 net/core/dev.c:7042 napi_poll net/core/dev.c:7109 [inline] net_rx_action+0x47d/0xc50 net/core/dev.c:7196 __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/0x688 bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline] __bpf_prog_run include/linux/filter.h:618 [inline] bpf_prog_run include/linux/filter.h:632 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1883 [inline] bpf_trace_run3+0x194/0x250 kernel/trace/bpf_trace.c:1921 __bpf_trace_sched_switch+0xb/0x10 include/trace/events/sched.h:220 __traceiter_sched_switch+0x85/0xc0 include/trace/events/sched.h:220 trace_sched_switch include/trace/events/sched.h:220 [inline] __schedule+0x134b/0x1590 kernel/sched/core.c:6509 preempt_schedule_irq+0xc7/0x140 kernel/sched/core.c:6916 irqentry_exit_cond_resched+0x2a/0x30 kernel/entry/common.c:392 irqentry_exit+0x30/0x40 kernel/entry/common.c:426 common_interrupt+0x65/0xd0 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x27/0x40 arch/x86/include/asm/idtentry.h:629 RIP: 0010:check_kcov_mode kernel/kcov.c:165 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x30/0x60 kernel/kcov.c:197 Code: 45 08 65 48 8b 0d 40 47 92 7e 65 8b 15 41 47 92 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 5c 0b 00 00 00 74 2c <8b> 91 38 0b 00 00 83 fa 02 75 21 48 8b 91 40 0b 00 00 48 8b 32 48 RSP: 0018:ffffc900015e7540 EFLAGS: 00000246 RAX: ffffffff817e4250 RBX: 0000000000000000 RCX: ffff888112c38000 RDX: 0000000080000000 RSI: ffffffff85830500 RDI: 0000000000000000 RBP: ffffc900015e7540 R08: ffffc900015e76c8 R09: 000000000000000c R10: ffffc900015e76d0 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffffffff815f4150 R14: 0000000000000000 R15: 0000000000000001 is_bpf_text_address+0x20/0x190 kernel/bpf/core.c:718 kernel_text_address kernel/extable.c:151 [inline] __kernel_text_address+0x9b/0x110 kernel/extable.c:105 unwind_get_return_address+0x4d/0x90 arch/x86/kernel/unwind_frame.c:19 arch_stack_walk+0xf3/0x140 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:433 [inline] ____kasan_kmalloc+0xdb/0x110 mm/kasan/common.c:512 __kasan_kmalloc+0x9/0x10 mm/kasan/common.c:521 kasan_kmalloc include/linux/kasan.h:227 [inline] kmem_cache_alloc_trace+0x115/0x210 mm/slub.c:3267 kmem_cache_alloc_node_trace include/linux/slab.h:491 [inline] kmalloc_node include/linux/slab.h:621 [inline] kzalloc_node include/linux/slab.h:744 [inline] __get_vm_area_node+0x117/0x360 mm/vmalloc.c:2432 __vmalloc_node_range+0xe2/0x8d0 mm/vmalloc.c:3051 __vmalloc_node mm/vmalloc.c:3151 [inline] __vmalloc+0x7a/0x90 mm/vmalloc.c:3165 bpf_prog_alloc_no_stats+0x3b/0x2f0 kernel/bpf/core.c:90 bpf_prog_alloc+0x1f/0x1e0 kernel/bpf/core.c:124 bpf_prog_load+0x800/0x1b50 kernel/bpf/syscall.c:2280 __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:0x7fa508608d69 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:00007fa50737c0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fa508736f80 RCX: 00007fa508608d69 RDX: 0000000000000080 RSI: 0000000020000200 RDI: 0000000000000005 RBP: 00007fa50865549e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fa508736f80 R15: 00007ffdf5e8ca48