watchdog: BUG: soft lockup - CPU#1 stuck for 118s! [syz.1.38:6060]
Modules linked in:
irq event stamp: 21261385
hardirqs last  enabled at (21261384): [<ffffffff8c3091a3>] irqentry_exit+0x63/0x90 kernel/entry/common.c:357
hardirqs last disabled at (21261385): [<ffffffff8c306cee>] sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1049
softirqs last  enabled at (14682744): [<ffffffff81844b5b>] __do_softirq kernel/softirq.c:613 [inline]
softirqs last  enabled at (14682744): [<ffffffff81844b5b>] invoke_softirq kernel/softirq.c:453 [inline]
softirqs last  enabled at (14682744): [<ffffffff81844b5b>] __irq_exit_rcu+0xfb/0x220 kernel/softirq.c:680
softirqs last disabled at (14682747): [<ffffffff81844b5b>] __do_softirq kernel/softirq.c:613 [inline]
softirqs last disabled at (14682747): [<ffffffff81844b5b>] invoke_softirq kernel/softirq.c:453 [inline]
softirqs last disabled at (14682747): [<ffffffff81844b5b>] __irq_exit_rcu+0xfb/0x220 kernel/softirq.c:680
CPU: 1 UID: 0 PID: 6060 Comm: syz.1.38 Not tainted 6.14.0-syzkaller-g9bae8f4f2168 #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:lock_release+0x244/0x3e0 arch/x86/include/asm/irqflags.h:-1
Code: 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f7 44 24 20 00 02 00 00 0f 85 c3 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 65 48 8b 03 <48> 3b 44 24 28 0f 85 82 01 00 00 48 83 c4 30 5b 41 5c 41 5d 41 5e
RSP: 0018:ffffc90000a06b80 EFLAGS: 00000206
RAX: 30b5e05ddf35f600 RBX: ffffffff9368a020 RCX: 0000000000000009
RDX: ffffffff8581050d RSI: ffffffff8e4fd4bd RDI: ffffffff8ca1b620
RBP: ffff88802d842a58 R08: ffffffff858107bf R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000009
R13: ffff88802d841e00 R14: 0000000000000206 R15: ffffffff8ed3df60
FS:  0000000000000000(0000) GS:ffff888125096000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fde44b48010 CR3: 000000000eb38000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 rcu_lock_release include/linux/rcupdate.h:341 [inline]
 rcu_read_unlock_sched include/linux/rcupdate.h:953 [inline]
 pfn_valid include/linux/mmzone.h:2126 [inline]
 sg_phys include/linux/scatterlist.h:389 [inline]
 vring_map_one_sg+0x648/0x7d0 drivers/virtio/virtio_ring.c:382
 virtqueue_add_split drivers/virtio/virtio_ring.c:604 [inline]
 virtqueue_add+0x119e/0x4820 drivers/virtio/virtio_ring.c:2282
 virtqueue_add_outbuf+0xc5/0x110 drivers/virtio/virtio_ring.c:2339
 virtnet_add_outbuf drivers/net/virtio_net.c:545 [inline]
 xmit_skb drivers/net/virtio_net.c:3280 [inline]
 start_xmit+0xeb5/0x24b0 drivers/net/virtio_net.c:3304
 __netdev_start_xmit include/linux/netdevice.h:5201 [inline]
 netdev_start_xmit include/linux/netdevice.h:5210 [inline]
 xmit_one net/core/dev.c:3783 [inline]
 dev_hard_start_xmit+0x2d4/0x840 net/core/dev.c:3799
 sch_direct_xmit+0x2b2/0x600 net/sched/sch_generic.c:343
 __dev_xmit_skb net/core/dev.c:4025 [inline]
 __dev_queue_xmit+0x1a9c/0x3f60 net/core/dev.c:4602
 neigh_output include/net/neighbour.h:539 [inline]
 ip_finish_output2+0xdea/0x12e0 net/ipv4/ip_output.c:235
 ip_local_out net/ipv4/ip_output.c:129 [inline]
 __ip_queue_xmit+0x1042/0x1960 net/ipv4/ip_output.c:527
 __tcp_transmit_skb+0x23d8/0x3a90 net/ipv4/tcp_output.c:1479
 tcp_rcv_established+0x13b9/0x1ec0 net/ipv4/tcp_input.c:6275
 tcp_v4_do_rcv+0x970/0xc70 net/ipv4/tcp_ipv4.c:1925
 tcp_v4_rcv+0x29b3/0x3430 net/ipv4/tcp_ipv4.c:2363
 ip_protocol_deliver_rcu+0x22e/0x450 net/ipv4/ip_input.c:205
 ip_local_deliver_finish+0x343/0x600 net/ipv4/ip_input.c:233
 NF_HOOK+0x3a0/0x450 include/linux/netfilter.h:314
 ip_local_deliver net/ipv4/ip_input.c:254 [inline]
 dst_input include/net/dst.h:469 [inline]
 ip_sublist_rcv_finish+0x3c1/0x4f0 net/ipv4/ip_input.c:578
 ip_list_rcv_finish net/ipv4/ip_input.c:627 [inline]
 ip_sublist_rcv+0x75f/0xab0 net/ipv4/ip_input.c:635
 ip_list_rcv+0x42d/0x480 net/ipv4/ip_input.c:669
 __netif_receive_skb_list_ptype net/core/dev.c:5937 [inline]
 __netif_receive_skb_list_core+0x952/0x980 net/core/dev.c:5984
 __netif_receive_skb_list net/core/dev.c:6036 [inline]
 netif_receive_skb_list_internal+0xa53/0xe30 net/core/dev.c:6127
 gro_normal_list include/net/gro.h:532 [inline]
 gro_normal_one include/net/gro.h:546 [inline]
 gro_skb_finish net/core/gro.c:601 [inline]
 gro_receive_skb+0x5e8/0xcd0 net/core/gro.c:631
 napi_gro_receive include/linux/netdevice.h:4149 [inline]
 virtnet_receive_done+0x11e2/0x1c40 drivers/net/virtio_net.c:2534
 receive_buf+0xa06/0x1800 drivers/net/virtio_net.c:2578
 virtnet_receive_packets drivers/net/virtio_net.c:2926 [inline]
 virtnet_receive drivers/net/virtio_net.c:2950 [inline]
 virtnet_poll+0x279a/0x39f0 drivers/net/virtio_net.c:3045
 __napi_poll+0xcb/0x480 net/core/dev.c:7331
 napi_poll net/core/dev.c:7395 [inline]
 net_rx_action+0x89d/0x1240 net/core/dev.c:7517
 handle_softirqs+0x2d6/0x9b0 kernel/softirq.c:579
 __do_softirq kernel/softirq.c:613 [inline]
 invoke_softirq kernel/softirq.c:453 [inline]
 __irq_exit_rcu+0xfb/0x220 kernel/softirq.c:680
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696
 instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline]
 sysvec_irq_work+0xa3/0xc0 arch/x86/kernel/irq_work.c:17
 </IRQ>
 <TASK>
 asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:738
RIP: 0010:preempt_schedule_irq+0xf9/0x1c0 kernel/sched/core.c:7090
Code: 89 fe 49 c1 ee 03 eb 0d 48 f7 03 08 00 00 00 0f 84 89 00 00 00 bf 01 00 00 00 e8 42 d5 5e f5 e8 4d 95 99 f5 fb bf 01 00 00 00 <e8> 32 a5 ff ff 43 80 3c 26 00 74 08 4c 89 ff e8 63 cd fb f5 48 c7
RSP: 0018:ffffc9000ae1ec60 EFLAGS: 00000282
RAX: 30b5e05ddf35f600 RBX: 1ffff920015c3d94 RCX: 0000000000000007
RDX: 0000000000000007 RSI: ffffffff8e69c63c RDI: 0000000000000001
RBP: ffffc9000ae1ed20 R08: ffffffff905fdf77 R09: 1ffffffff20bfbee
R10: dffffc0000000000 R11: fffffbfff20bfbef R12: dffffc0000000000
R13: 1ffff920015c3d8c R14: 1ffff920015c3d90 R15: ffffc9000ae1ec80
 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:206 [inline]
RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:238 [inline]
RIP: 0010:tif_test_bit include/linux/thread_info.h:192 [inline]
RIP: 0010:tif_need_resched include/linux/thread_info.h:208 [inline]
RIP: 0010:need_resched include/linux/sched.h:2176 [inline]
RIP: 0010:preempt_schedule_common+0x11/0xd0 kernel/sched/core.c:6955
Code: 15 d0 fe ff 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 41 57 41 56 53 49 bf 00 00 00 00 00 fc ff df eb 0d <48> f7 03 08 00 00 00 0f 84 9c 00 00 00 65 ff 05 0b ef 36 07 65 8b
RSP: 0018:ffffc9000ae1ede0 EFLAGS: 00000246
RAX: 1ffff11005b083c0 RBX: ffff88802d841e00 RCX: 1ffff920015c3d98
RDX: 0000000000000000 RSI: ffffffff8ca1b600 RDI: ffffffff8ca1b5c0
RBP: ffffc9000ae1ee98 R08: ffffffff905fdf77 R09: 1ffffffff20bfbee
R10: dffffc0000000000 R11: fffffbfff20bfbef R12: dffffc0000000000
R13: 1ffff920015c3dc4 R14: ffffffff8c31b0e4 R15: dffffc0000000000
 preempt_schedule+0xe4/0xf0 kernel/sched/core.c:6971
 preempt_schedule_thunk+0x16/0x30 arch/x86/entry/thunk.S:12
 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
 _raw_spin_unlock_irqrestore+0x134/0x140 kernel/locking/spinlock.c:194
 rcu_preempt_deferred_qs_irqrestore+0x8c6/0xcb0 kernel/rcu/tree_plugin.h:-1
 rcu_read_unlock_special+0x49b/0x570 kernel/rcu/tree_plugin.h:693
 __rcu_read_unlock+0xa1/0x110 kernel/rcu/tree_plugin.h:438
 rcu_read_unlock include/linux/rcupdate.h:873 [inline]
 pte_unmap include/linux/pgtable.h:136 [inline]
 zap_pte_range mm/memory.c:1761 [inline]
 zap_pmd_range mm/memory.c:1823 [inline]
 zap_pud_range mm/memory.c:1852 [inline]
 zap_p4d_range mm/memory.c:1873 [inline]
 unmap_page_range+0x3a6b/0x44d0 mm/memory.c:1894
 unmap_vmas+0x3ce/0x5f0 mm/memory.c:1984
 exit_mmap+0x2bc/0xde0 mm/mmap.c:1284
 __mmput+0x115/0x420 kernel/fork.c:1379
 exit_mm+0x221/0x310 kernel/exit.c:589
 do_exit+0x994/0x27f0 kernel/exit.c:940
 do_group_exit+0x207/0x2c0 kernel/exit.c:1102
 get_signal+0x1696/0x1730 kernel/signal.c:3034
 arch_do_signal_or_restart+0x98/0x840 arch/x86/kernel/signal.c:337
 exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
 exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
 syscall_exit_to_user_mode+0xce/0x340 kernel/entry/common.c:218
 do_syscall_64+0x100/0x230 arch/x86/entry/syscall_64.c:100
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f002058d169
Code: Unable to access opcode bytes at 0x7f002058d13f.
RSP: 002b:00007f0021328038 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: 0000000000000000 RBX: 00007f00207a6080 RCX: 00007f002058d169
RDX: 00000000000001ff RSI: 0000200000000040 RDI: ffffffffffffff9c
RBP: 00007f002060e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f00207a6080 R15: 00007fff516d0dc8
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 1097 Comm: kworker/u8:5 Not tainted 6.14.0-syzkaller-g9bae8f4f2168 #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline]
RIP: 0010:smp_call_function_many_cond+0x1bac/0x2d40 kernel/smp.c:885
Code: 03 84 c0 75 7e 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 c8 e2 0b 00 41 83 e4 01 4c 8b 64 24 68 75 07 e8 78 de 0b 00 eb 41 f3 90 <48> b8 00 00 00 00 00 fc ff df 0f b6 04 03 84 c0 75 11 41 f7 45 00
RSP: 0018:ffffc9000393f640 EFLAGS: 00000293
RAX: ffffffff81b778ed RBX: 1ffff110170e7e91 RCX: ffff88802727da00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc9000393f840 R08: ffffffff81b778b8 R09: 1ffffffff20bfbee
R10: dffffc0000000000 R11: fffffbfff20bfbef R12: ffff8880b863ad08
R13: ffff8880b873f488 R14: ffff8880b863ad00 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff888124f96000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9a21eb66c0 CR3: 000000000eb38000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1052
 on_each_cpu include/linux/smp.h:71 [inline]
 text_poke_sync arch/x86/kernel/alternative.c:2455 [inline]
 text_poke_bp_batch+0x354/0xb30 arch/x86/kernel/alternative.c:2665
 text_poke_flush arch/x86/kernel/alternative.c:2856 [inline]
 text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2863
 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146
 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210
 static_key_enable+0x1a/0x20 kernel/jump_label.c:223
 toggle_allocation_gate+0xc0/0x250 mm/kfence/core.c:850
 process_one_work kernel/workqueue.c:3238 [inline]
 process_scheduled_works+0xac3/0x18e0 kernel/workqueue.c:3319
 worker_thread+0x870/0xd50 kernel/workqueue.c:3400
 kthread+0x7b7/0x940 kernel/kthread.c:464
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>