watchdog: BUG: soft lockup - CPU#1 stuck for 122s! [syz.0.671:3847]
Modules linked in:
CPU: 1 PID: 3847 Comm: syz.0.671 Not tainted 5.10.226-syzkaller-00709-ge5e5644ea27f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:update_stack_state+0xc/0x460 arch/x86/kernel/unwind_frame.c:188
Code: ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 55 48 89 e5 48 8b 07 5d c3 0f 1f 80 00 00 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 <53> 48 81 ec 90 00 00 00 48 89 75 c0 49 89 ff 49 be 00 00 00 00 00
RSP: 0018:ffffc90000170488 EFLAGS: 00000246
RAX: ffffc90000170fe8 RBX: ffffc90000170f60 RCX: 0000000000170501
RDX: dffffc0000000000 RSI: ffffc90000170fe8 RDI: ffffc90000170540
RBP: ffffc900001704a8 R08: ffffc90000170628 R09: 000000000000000b
R10: ffffc90000170630 R11: dffffc0000000001 R12: 0000000000000000
R13: ffffc90000170590 R14: ffffc90000170540 R15: 1ffff9200002e0a8
FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7605d74990 CR3: 000000000660f000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
unwind_next_frame+0x3cb/0x700 arch/x86/kernel/unwind_frame.c:305
arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:121
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:430 [inline]
____kasan_kmalloc+0xdb/0x110 mm/kasan/common.c:509
__kasan_kmalloc+0x9/0x10 mm/kasan/common.c:518
kasan_kmalloc include/linux/kasan.h:254 [inline]
kmem_cache_alloc_trace+0x18a/0x2e0 mm/slub.c:2974
kmalloc include/linux/slab.h:552 [inline]
dst_cow_metrics_generic+0x55/0x1c0 net/core/dst.c:201
dst_metrics_write_ptr include/net/dst.h:117 [inline]
dst_metric_set include/net/dst.h:178 [inline]
icmp6_dst_alloc+0x385/0x560 net/ipv6/route.c:3177
ndisc_send_skb+0x25a/0xc00 net/ipv6/ndisc.c:491
ndisc_send_rs+0x532/0x6a0 net/ipv6/ndisc.c:705
addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3964
call_timer_fn+0x3b/0x2d0 kernel/time/timer.c:1450
expire_timers kernel/time/timer.c:1495 [inline]
__run_timers+0x72a/0xa10 kernel/time/timer.c:1789
run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1802
__do_softirq+0x268/0x5bb kernel/softirq.c:309
asm_call_irq_on_stack+0xf/0x20
__run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline]
run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline]
do_softirq_own_stack+0x60/0x80 arch/x86/kernel/irq_64.c:77
invoke_softirq kernel/softirq.c:405 [inline]
__irq_exit_rcu+0x128/0x150 kernel/softirq.c:435
irq_exit_rcu+0x9/0x10 kernel/softirq.c:447
sysvec_apic_timer_interrupt+0xbf/0xe0 arch/x86/kernel/apic/apic.c:1094
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
RIP: 0010:preempt_schedule_irq+0xc2/0x140 kernel/sched/core.c:5065
Code: 4c 89 e7 e8 b0 d6 f6 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 14 a2 97 fc fb bf 01 00 00 00 89 e6 ff ff fa bf 01 00 00 00 e8 9e a3 97 fc 65 48 8b 1d 26 fd
RSP: 0018:ffffc90000f7f220 EFLAGS: 00000246
RAX: 1ffff11023f55146 RBX: 1ffff920001efe48 RCX: ffffffff84b29800
RDX: 1ffff11023f55004 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffffc90000f7f2a0 R08: ffffffff87084048 R09: ffffffff87084058
R10: ffffffff87084050 R11: ffffffff87084043 R12: ffffc90000f7f240
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff920001efe44
irqentry_exit_cond_resched kernel/entry/common.c:365 [inline]
irqentry_exit+0x4f/0x60 kernel/entry/common.c:395
sysvec_apic_timer_interrupt+0xcb/0xe0 arch/x86/kernel/apic/apic.c:1094
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
RIP: 0010:unwind_next_frame+0x324/0x700 arch/x86/kernel/unwind_frame.c:295
Code: c1 e8 03 80 3c 10 00 74 08 4c 89 f7 e8 c5 2e 76 00 49 c7 06 00 00 00 00 b0 01 e9 8c 02 00 00 4d 8d 6e 50 4c 89 eb 48 c1 eb 03 <80> 3c 13 00 74 12 4c 89 ef e8 fe 2d 76 00 48 ba 00 00 00 00 00 fc
RSP: 0018:ffffc90000f7f398 EFLAGS: 00000a06
RAX: ffffc90000f7ff30 RBX: 1ffff920001efe8e RCX: 0000000000f7f401
RDX: dffffc0000000000 RSI: ffffffff81462ef9 RDI: ffffc90000f7ff48
RBP: ffffc90000f7f410 R08: ffffc90000f7f508 R09: 0000000000000008
R10: ffffc90000f7f510 R11: dffffc0000000001 R12: 0000000000000000
R13: ffffc90000f7f470 R14: ffffc90000f7f420 R15: 1ffff920001efe84
arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:121
save_stack+0x97/0x240 mm/page_owner.c:146
__reset_page_owner+0x36/0x150 mm/page_owner.c:174
reset_page_owner include/linux/page_owner.h:28 [inline]
free_pages_prepare mm/page_alloc.c:1349 [inline]
free_pcp_prepare mm/page_alloc.c:1421 [inline]
free_unref_page_prepare+0x2ae/0x2d0 mm/page_alloc.c:3336
free_unref_page mm/page_alloc.c:3391 [inline]
free_the_page+0x9e/0x370 mm/page_alloc.c:5407
__free_pages+0x67/0xc0 mm/page_alloc.c:5418
__vunmap+0x7bc/0x8f0 mm/vmalloc.c:2301
__vfree mm/vmalloc.c:2349 [inline]
vfree+0x5c/0x80 mm/vmalloc.c:2380
kcov_put kernel/kcov.c:408 [inline]
kcov_close+0x2b/0x50 kernel/kcov.c:510
__fput+0x33d/0x7b0 fs/file_table.c:281
____fput+0x15/0x20 fs/file_table.c:314
task_work_run+0x129/0x190 kernel/task_work.c:189
exit_task_work include/linux/task_work.h:33 [inline]
do_exit+0xc83/0x2a50 kernel/exit.c:863
do_group_exit+0x141/0x310 kernel/exit.c:985
get_signal+0x10a0/0x1410 kernel/signal.c:2790
arch_do_signal_or_restart+0xbd/0x17c0 arch/x86/kernel/signal.c:805
handle_signal_work kernel/entry/common.c:145 [inline]
exit_to_user_mode_loop+0x9b/0xd0 kernel/entry/common.c:169
exit_to_user_mode_prepare kernel/entry/common.c:199 [inline]
syscall_exit_to_user_mode+0xa2/0x1a0 kernel/entry/common.c:274
do_syscall_64+0x40/0x70 arch/x86/entry/common.c:56
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f8c33aadff9
Code: Unable to access opcode bytes at RIP 0x7f8c33aadfcf.
RSP: 002b:00007f8c327270e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f8c33c65f88 RCX: 00007f8c33aadff9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f8c33c65f88
RBP: 00007f8c33c65f80 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f8c33c65f8c
R13: 0000000000000000 R14: 00007ffc10c5fcc0 R15: 00007ffc10c5fda8
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4200 Comm: syz.4.710 Not tainted 5.10.226-syzkaller-00709-ge5e5644ea27f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:25 [inline]
RIP: 0010:static_key_false include/linux/jump_label.h:221 [inline]
RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:162 [inline]
RIP: 0010:wrmsr arch/x86/include/asm/msr.h:273 [inline]
RIP: 0010:native_apic_msr_write+0x39/0x50 arch/x86/include/asm/apic.h:208
Code: 74 05 83 ff 30 75 12 5d c3 81 ff d0 00 00 00 74 f6 81 ff e0 00 00 00 74 ee c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <0f> 1f 44 00 00 eb d6 89 f6 31 d2 e8 37 b5 3e 01 5d c3 0f 1f 44 00
RSP: 0018:ffffc90000006588 EFLAGS: 00000046
RAX: 000000000000014d RBX: ffffffff85dc4988 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 000000000000014d RDI: 0000000000000838
RBP: ffffc90000006588 R08: ffffffff815df6d1 R09: ffffffff815df65d
R10: 0000000000000002 R11: ffff88811a6b93c0 R12: 00000000000014da
R13: dffffc0000000000 R14: 000000000000014d R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7605db6990 CR3: 000000000660f000 CR4: 00000000003506b0
DR0: 0010000010000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
apic_write arch/x86/include/asm/apic.h:396 [inline]
lapic_next_event+0x5f/0x70 arch/x86/kernel/apic/apic.c:466
clockevents_program_event+0x1a7/0x2c0 kernel/time/clockevents.c:334
tick_program_event+0x9f/0x120 kernel/time/tick-oneshot.c:44
hrtimer_interrupt+0x4cf/0x8b0 kernel/time/hrtimer.c:1724
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1083 [inline]
__sysvec_apic_timer_interrupt+0xfd/0x3c0 arch/x86/kernel/apic/apic.c:1100
run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:91 [inline]
sysvec_apic_timer_interrupt+0xba/0xe0 arch/x86/kernel/apic/apic.c:1094
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
RIP: 0010:__stack_depot_save+0x488/0x4d0
Code: c7 a4 90 10 87 e8 08 6f 43 02 48 8b 7d c8 48 85 ff 74 0a be 02 00 00 00 e8 95 04 35 ff 4d 85 ff 74 06 41 8b 47 10 eb 02 31 c0 <65> 48 8b 0c 25 28 00 00 00 48 3b 4d d0 75 0f 48 83 c4 30 5b 41 5c
RSP: 0018:ffffc90000006858 EFLAGS: 00000286
RAX: 00000000ade00197 RBX: ffffc900000068c0 RCX: 0000000000000001
RDX: 0000000000000800 RSI: ffffffff84e00268 RDI: ffffc900000068c0
RBP: ffffc900000068b0 R08: 0000000000000001 R09: ffffc900000069a4
R10: 000000001ee5c17a R11: 00000000687d1baa R12: 0000000011544e6b
R13: 000000000000001d R14: 000000000000001d R15: ffff8881194616f0
kasan_save_stack mm/kasan/common.c:39 [inline]
kasan_set_track+0x5d/0x70 mm/kasan/common.c:45
kasan_set_free_info+0x23/0x40 mm/kasan/generic.c:370
____kasan_slab_free+0x121/0x160 mm/kasan/common.c:362
__kasan_slab_free+0x11/0x20 mm/kasan/common.c:370
kasan_slab_free include/linux/kasan.h:220 [inline]
slab_free_hook mm/slub.c:1595 [inline]
slab_free_freelist_hook+0xc0/0x190 mm/slub.c:1621
slab_free mm/slub.c:3203 [inline]
kfree+0xc3/0x270 mm/slub.c:4191
skb_free_head net/core/skbuff.c:606 [inline]
skb_release_data+0x5c6/0x6f0 net/core/skbuff.c:626
skb_release_all net/core/skbuff.c:680 [inline]
__kfree_skb net/core/skbuff.c:694 [inline]
consume_skb+0xac/0x250 net/core/skbuff.c:851
__dev_kfree_skb_any+0x159/0x180 net/core/dev.c:3134
dev_consume_skb_any include/linux/netdevice.h:3911 [inline]
napi_consume_skb+0x24a/0x490 net/core/skbuff.c:913
free_old_xmit_skbs+0x119/0x290 drivers/net/virtio_net.c:1468
start_xmit+0x117/0x14c0 drivers/net/virtio_net.c:1687
__netdev_start_xmit include/linux/netdevice.h:4858 [inline]
netdev_start_xmit include/linux/netdevice.h:4872 [inline]
xmit_one net/core/dev.c:3607 [inline]
dev_hard_start_xmit+0x228/0x620 net/core/dev.c:3623
sch_direct_xmit+0x292/0x9b0 net/sched/sch_generic.c:336
qdisc_restart net/sched/sch_generic.c:401 [inline]
__qdisc_run+0xa85/0x1df0 net/sched/sch_generic.c:409
qdisc_run+0x121/0x330 include/net/pkt_sched.h:127
__dev_xmit_skb net/core/dev.c:3799 [inline]
__dev_queue_xmit+0xcf0/0x28e0 net/core/dev.c:4155
dev_queue_xmit+0x17/0x20 net/core/dev.c:4223
arp_xmit_finish net/ipv4/arp.c:632 [inline]
NF_HOOK include/linux/netfilter.h:299 [inline]
arp_xmit+0xc8/0x280 net/ipv4/arp.c:641
arp_send_dst+0x17f/0x1e0 net/ipv4/arp.c:319
arp_process+0x160a/0x2030 net/ipv4/arp.c:830
NF_HOOK+0x20d/0x280 include/linux/netfilter.h:299
arp_rcv+0x2dd/0x480 net/ipv4/arp.c:967
__netif_receive_skb_list_ptype net/core/dev.c:5430 [inline]
__netif_receive_skb_list_core+0x818/0x890 net/core/dev.c:5473
__netif_receive_skb_list net/core/dev.c:5525 [inline]
netif_receive_skb_list_internal+0x967/0xcc0 net/core/dev.c:5635
gro_normal_list net/core/dev.c:5789 [inline]
napi_complete_done+0x344/0x750 net/core/dev.c:6538
virtqueue_napi_complete drivers/net/virtio_net.c:357 [inline]
virtnet_poll+0xb8a/0x1240 drivers/net/virtio_net.c:1537
napi_poll net/core/dev.c:6854 [inline]
net_rx_action+0x516/0x10d0 net/core/dev.c:6924
__do_softirq+0x268/0x5bb kernel/softirq.c:309
asm_call_irq_on_stack+0xf/0x20
__run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline]
run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline]
do_softirq_own_stack+0x60/0x80 arch/x86/kernel/irq_64.c:77
invoke_softirq kernel/softirq.c:405 [inline]
__irq_exit_rcu+0x128/0x150 kernel/softirq.c:435
irq_exit_rcu+0x9/0x10 kernel/softirq.c:447
sysvec_apic_timer_interrupt+0xbf/0xe0 arch/x86/kernel/apic/apic.c:1094
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:26 [inline]
RIP: 0010:preempt_schedule+0x5a/0xe0 kernel/sched/core.c:4985
Code: 8a b5 41 48 c7 44 24 08 db b3 ce 85 48 c7 44 24 10 70 6c b1 84 48 89 e3 48 c1 eb 03 48 b8 f1 f1 f1 f1 00 f3 f3 f3 4a 89 04 3b <65> 8b 05 bb 00 51 7b a9 ff ff ff 7f 75 3f 4c 8d 74 24 20 4d 89 f4
RSP: 0018:ffffc900014873c0 EFLAGS: 00000a06
RAX: f3f3f300f1f1f1f1 RBX: 1ffff92000290e78 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffffc90001487440 R08: ffffffff819d808f R09: ffffed1021daa69e
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 0400000000000000 R14: 800000013a6a3007 R15: dffffc0000000000
preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:39
__raw_spin_unlock include/linux/spinlock_api_smp.h:152 [inline]
_raw_spin_unlock+0x60/0x70 kernel/locking/spinlock.c:183
spin_unlock include/linux/spinlock.h:394 [inline]
zap_pte_range mm/memory.c:1375 [inline]
zap_pmd_range mm/memory.c:1435 [inline]
zap_pud_range mm/memory.c:1464 [inline]
zap_p4d_range mm/memory.c:1485 [inline]
unmap_page_range+0x1c54/0x23b0 mm/memory.c:1506
unmap_single_vma mm/memory.c:1551 [inline]
unmap_vmas+0x37f/0x4f0 mm/memory.c:1583
exit_mmap+0x2f2/0x5c0 mm/mmap.c:3355
__mmput+0x95/0x2d0 kernel/fork.c:1153
mmput+0x59/0x170 kernel/fork.c:1176
exit_mm kernel/exit.c:539 [inline]
do_exit+0xbda/0x2a50 kernel/exit.c:850
do_group_exit+0x141/0x310 kernel/exit.c:985
get_signal+0x10a0/0x1410 kernel/signal.c:2790
arch_do_signal_or_restart+0xbd/0x17c0 arch/x86/kernel/signal.c:805
handle_signal_work kernel/entry/common.c:145 [inline]
exit_to_user_mode_loop+0x9b/0xd0 kernel/entry/common.c:169
exit_to_user_mode_prepare kernel/entry/common.c:199 [inline]
irqentry_exit_to_user_mode+0x4e/0x80 kernel/entry/common.c:287
irqentry_exit+0x12/0x60 kernel/entry/common.c:375
sysvec_apic_timer_interrupt+0xcb/0xe0 arch/x86/kernel/apic/apic.c:1094
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
RIP: 0033:0x7fdee4d70ff9
Code: Unable to access opcode bytes at RIP 0x7fdee4d70fcf.
RSP: 002b:00007fdee39ea038 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 00007fdee4f28f80 RCX: 00007fdee4d70ff9
RDX: 00000000200006c0 RSI: 0000000000005452 RDI: 0000000000000005
RBP: 00007fdee4de3296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fdee4f28f80 R15: 00007ffce27036c8