watchdog: BUG: soft lockup - CPU#1 stuck for 143s! [syz-executor.4:12364]
Modules linked in:
CPU: 1 PID: 12364 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:trylock_clear_pending kernel/locking/qspinlock_paravirt.h:121 [inline]
RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:435 [inline]
RIP: 0010:__pv_queued_spin_lock_slowpath+0x5c4/0xc40 kernel/locking/qspinlock.c:508
Code: 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 ff c3 74 5e 41 0f b6 44 15 00 <84> c0 75 36 41 80 3f 00 75 ea 4c 89 ff be 02 00 00 00 e8 f5 50 5d
RSP: 0018:ffffc900001cfdc0 EFLAGS: 00000282
RAX: 0000000000000000 RBX: 00000000ffffe8b5 RCX: ffffffff8154fa7f
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff888118afce88
RBP: ffffc900001cfeb0 R08: dffffc0000000000 R09: ffffed102315f9d2
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f7137ed4
R13: 1ffff1102315f9d1 R14: 1ffff1103ee20001 R15: ffff888118afce88
FS: 00007f8f54ff16c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002022b000 CR3: 0000000123ea8000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
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
tcp_v4_rcv+0x229e/0x2a70 net/ipv4/tcp_ipv4.c:2119
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]
gro_normal_one net/core/dev.c:5893 [inline]
napi_skb_finish net/core/dev.c:6230 [inline]
napi_gro_receive+0x45f/0x920 net/core/dev.c:6260
receive_buf+0x37ce/0x5720 drivers/net/virtio_net.c:1208
virtnet_receive drivers/net/virtio_net.c:1472 [inline]
virtnet_poll+0x628/0x1260 drivers/net/virtio_net.c:1585
__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
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:preempt_schedule_irq+0xc2/0x140 kernel/sched/core.c:6916
Code: 4c 89 e7 e8 50 0f eb fc f6 44 24 21 02 74 0b 0f 0b 48 f7 03 08 00 00 00 74 4d bf 01 00 00 00 e8 84 ee 84 fc fb bf 01 00 00 00 e9 e3 ff ff fa bf 01 00 00 00 e8 0e f0 84 fc 65 48 8b 1d a6 33
RSP: 0018:ffffc900014e7300 EFLAGS: 00000246
RAX: 1ffff1102198bdae RBX: 1ffff9200029ce64 RCX: ffffffff84c8ea00
RDX: 1ffff1102198bc5d RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffffc900014e7388 R08: ffffffff87290040 R09: ffffffff87290048
R10: ffffffff87290058 R11: ffffffff87290050 R12: ffffc900014e7320
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff9200029ce60
irqentry_exit_cond_resched+0x2a/0x30 kernel/entry/common.c:392
irqentry_exit+0x30/0x40 kernel/entry/common.c:426
sysvec_apic_timer_interrupt+0x55/0xc0 arch/x86/kernel/apic/apic.c:1096
asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:stack_trace_consume_entry+0xe1/0x290 kernel/stacktrace.c:93
Code: ce e8 e3 06 53 00 4d 89 f1 4c 8b 45 d0 4c 8b 55 c8 4c 89 ee 48 ba 00 00 00 00 00 fc ff df 4c 8b 33 41 8d 59 01 41 0f b6 04 17 <84> c0 0f 85 38 01 00 00 41 89 1a 4b 8d 1c ce 48 89 d8 48 c1 e8 03
RSP: 0018:ffffc900014e7488 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00000000014e7501
RDX: dffffc0000000000 RSI: ffffffff81ad32ae RDI: ffffc900014e75cc
RBP: ffffc900014e74d0 R08: ffffc900014e75c8 R09: 0000000000000003
R10: ffffc900014e75d0 R11: dffffc0000000001 R12: 1ffff9200029ceb9
R13: 1ffff9200029ceb9 R14: ffffc900014e76a0 R15: 1ffff9200029ceba
arch_stack_walk+0x101/0x140 arch/x86/kernel/stacktrace.c:27
stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
save_stack+0xf6/0x1e0 mm/page_owner.c:139
__set_page_owner+0x28/0x2e0 mm/page_owner.c:200
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0x1a3/0x1b0 mm/page_alloc.c:2604
prep_new_page+0x1b/0x110 mm/page_alloc.c:2610
get_page_from_freelist+0x3550/0x35d0 mm/page_alloc.c:4484
__alloc_pages+0x27e/0x8f0 mm/page_alloc.c:5776
__alloc_pages_node include/linux/gfp.h:591 [inline]
alloc_pages_node include/linux/gfp.h:605 [inline]
bpf_ringbuf_area_alloc kernel/bpf/ringbuf.c:96 [inline]
bpf_ringbuf_alloc+0xd0/0x3d0 kernel/bpf/ringbuf.c:133
ringbuf_map_alloc+0x202/0x320 kernel/bpf/ringbuf.c:172
find_and_alloc_map kernel/bpf/syscall.c:129 [inline]
map_create+0x411/0x2050 kernel/bpf/syscall.c:857
__sys_bpf+0x296/0x760 kernel/bpf/syscall.c:4615
__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:0x7f8f5627dd69
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:00007f8f54ff10c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f8f563abf80 RCX: 00007f8f5627dd69
RDX: 0000000000000048 RSI: 00000000200009c0 RDI: 0000000000000000
RBP: 00007f8f562ca49e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f8f563abf80 R15: 00007fff16051c58
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 12373 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_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:ffffc90000006520 EFLAGS: 00000046
RAX: 0000000000000003 RBX: 1ffff92000000ca8 RCX: ffffffff8154fa7f
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff8881f7036cc0
RBP: ffffc900000065d0 R08: dffffc0000000000 R09: ffffed103ee06d99
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8881f7036cc0 R14: 0000000000000003 R15: 1ffff92000000cac
FS: 00007fed115406c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055555600a818 CR3: 000000011f5ec000 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 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]
ttwu_queue kernel/sched/core.c:3908 [inline]
try_to_wake_up+0x625/0x1160 kernel/sched/core.c:4251
wake_up_process+0x10/0x20 kernel/sched/core.c:4322
hrtimer_wakeup+0x62/0x80 kernel/time/hrtimer.c:1939
__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:arch_stack_walk+0x105/0x140 arch/x86/kernel/stacktrace.c:25
Code: 83 bd 70 ff ff ff 00 74 32 48 8d 9d 70 ff ff ff 48 89 df e8 3d 90 05 00 48 85 c0 74 1e 4c 89 f7 48 89 c6 41 ff d5 84 c0 74 11 <48> 89 df e8 53 91 05 00 83 bd 70 ff ff ff 00 75 d5 65 48 8b 04 25
RSP: 0018:ffffc90000006c20 EFLAGS: 00000202
RAX: 0000000000000001 RBX: ffffc90000006c20 RCX: 0000000000006c01
RDX: dffffc0000000000 RSI: ffffffff83e5b4fe RDI: ffffc90000006d0c
RBP: ffffc90000006cb0 R08: ffffc90000006d08 R09: 0000000000000007
R10: ffffc90000006d10 R11: dffffc0000000001 R12: ffff88812a7d93c0
R13: ffffffff815f4150 R14: ffffc90000006d00 R15: 0000000000000000
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_slab_alloc+0xb1/0xe0 mm/kasan/common.c:466
kasan_slab_alloc include/linux/kasan.h:217 [inline]
slab_post_alloc_hook+0x53/0x2c0 mm/slab.h:550
slab_alloc_node mm/slub.c:3240 [inline]
slab_alloc mm/slub.c:3248 [inline]
kmem_cache_alloc+0xf5/0x200 mm/slub.c:3253
skb_clone+0x1d1/0x360 net/core/skbuff.c:1547
dev_queue_xmit_nit+0x25b/0xa40 net/core/dev.c:2317
xmit_one net/core/dev.c:3619 [inline]
dev_hard_start_xmit+0x149/0x620 net/core/dev.c:3640
sch_direct_xmit+0x298/0x9b0 net/sched/sch_generic.c:342
__dev_xmit_skb net/core/dev.c:3851 [inline]
__dev_queue_xmit+0x161e/0x2e70 net/core/dev.c:4220
dev_queue_xmit+0x17/0x20 net/core/dev.c:4288
neigh_hh_output include/net/neighbour.h:501 [inline]
neigh_output include/net/neighbour.h:515 [inline]
ip_finish_output2+0xb9f/0xf60 net/ipv4/ip_output.c:228
__ip_finish_output+0x162/0x360
ip_finish_output+0x31/0x210 net/ipv4/ip_output.c:316
NF_HOOK_COND include/linux/netfilter.h:294 [inline]
ip_output+0x1d6/0x420 net/ipv4/ip_output.c:430
dst_output include/net/dst.h:444 [inline]
ip_local_out net/ipv4/ip_output.c:126 [inline]
__ip_queue_xmit+0x1105/0x1c20 net/ipv4/ip_output.c:532
ip_queue_xmit+0x4c/0x70 net/ipv4/ip_output.c:546
__tcp_transmit_skb+0x1e84/0x3920 net/ipv4/tcp_output.c:1402
tcp_transmit_skb net/ipv4/tcp_output.c:1420 [inline]
tcp_write_xmit+0x144a/0x5e80 net/ipv4/tcp_output.c:2705
tcp_tsq_write+0x228/0x330 net/ipv4/tcp_output.c:1019
tcp_tsq_handler+0xa9/0x150 net/ipv4/tcp_output.c:1028
tcp_tasklet_func+0x436/0x4b0 net/ipv4/tcp_output.c:1060
tasklet_action_common+0x22e/0x610 kernel/softirq.c:796
tasklet_action+0x4c/0x60 kernel/softirq.c:821
__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_hash_delete_elem+0x2a2/0x2f0 net/core/sock_map.c:945
bpf_prog_2c29ac5cdc6b1842+0x3a/0xef4
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_run3+0x11e/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_common+0x9b/0xf0 kernel/sched/core.c:6688
preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6713
preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34
migrate_enable+0x205/0x2a0 kernel/sched/core.c:2218
bpf_enable_instrumentation include/linux/bpf.h:1404 [inline]
bpf_map_update_value+0x321/0x3c0 kernel/bpf/syscall.c:226
generic_map_update_batch+0x53d/0x860 kernel/bpf/syscall.c:1401
bpf_map_do_batch+0x4c3/0x620
__sys_bpf+0x5dc/0x760
__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:0x7fed127ccd69
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:00007fed115400c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fed128faf80 RCX: 00007fed127ccd69
RDX: 0000000000000038 RSI: 0000000020000200 RDI: 000000000000001a
RBP: 00007fed1281949e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fed128faf80 R15: 00007fff97a96018