watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz.0.566:2473]
Modules linked in:
CPU: 1 PID: 2473 Comm: syz.0.566 Not tainted 5.4.274-syzkaller-00002-g6f97bd951d82 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:ip6t_do_table+0x1aa/0x1800 net/ipv6/netfilter/ip6_tables.c:280
Code: 48 89 9c 24 e0 00 00 00 48 8b 44 24 20 48 89 84 24 60 01 00 00 48 8b 44 24 60 4c 8d 70 10 4c 89 f0 48 c1 e8 03 42 0f b6 04 38 <84> c0 0f 85 41 15 00 00 bb 01 00 00 00 48 8b 4c 24 30 d3 e3 45 8b
RSP: 0018:ffff8881f6f097e0 EFLAGS: 00000a02 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: ffff8881f6f09b08 RCX: 1ffff1103ede1362
RDX: ffff8881e5e00000 RSI: 0000000000000000 RDI: ffff8881f6f09940
RBP: ffff8881f6f099e0 R08: dffffc0000000000 R09: ffff8881f6f09930
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f6f09b00
R13: 0000000000000000 R14: ffff8881e62fc990 R15: dffffc0000000000
FS: 00007f9aba9b46c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30c19ff8 CR3: 00000001d5a3b000 CR4: 00000000003406a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
nf_hook_entry_hookfn include/linux/netfilter.h:136 [inline]
nf_hook_slow+0xae/0x1e0 net/netfilter/core.c:507
nf_hook include/linux/netfilter.h:258 [inline]
NF_HOOK include/linux/netfilter.h:301 [inline]
ndisc_send_skb+0xbd7/0xc30 net/ipv6/ndisc.c:509
addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3953
call_timer_fn+0x36/0x390 kernel/time/timer.c:1448
expire_timers kernel/time/timer.c:1493 [inline]
__run_timers+0x879/0xbe0 kernel/time/timer.c:1817
run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1830
__do_softirq+0x23b/0x6b7 kernel/softirq.c:292
invoke_softirq kernel/softirq.c:373 [inline]
irq_exit+0x195/0x1c0 kernel/softirq.c:413
exiting_irq arch/x86/include/asm/apic.h:538 [inline]
smp_apic_timer_interrupt+0x11a/0x460 arch/x86/kernel/apic/apic.c:1149
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:834
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x45/0x60 kernel/locking/spinlock.c:199
Code: 08 00 74 0c 48 c7 c7 90 3b eb 85 e8 75 12 43 fd 48 83 3d cd 2c 9a 01 00 74 29 48 89 df e8 e3 e7 fa fc 66 90 fb bf 01 00 00 00 66 d4 f3 fc 65 8b 05 ab 7e b1 7b 85 c0 74 02 5b c3 e8 34 45 af
RSP: 0018:ffff8881f22c7c30 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000001 RBX: ffff8881f6f57b40 RCX: dffffc0000000000
RDX: 0000000040000002 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffff8881f22c7c90 R08: ffffffff81799989 R09: fffffbfff0c96e5b
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f6f57b40
R13: ffff8881ed54de80 R14: dffffc0000000000 R15: 0000000000000000
finish_lock_switch kernel/sched/core.c:3347 [inline]
finish_task_switch+0x130/0x590 kernel/sched/core.c:3447
context_switch kernel/sched/core.c:3611 [inline]
__schedule+0xb0d/0x1320 kernel/sched/core.c:4307
preempt_schedule_irq+0xc7/0x140 kernel/sched/core.c:4558
retint_kernel+0x1b/0x1b
RIP: 0010:__write_once_size include/linux/compiler.h:295 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x45/0x50 kernel/kcov.c:195
Code: c3 8b 91 00 0a 00 00 83 fa 02 75 f4 48 8b 91 08 0a 00 00 48 8b 32 48 8d 7e 01 8b 89 04 0a 00 00 48 39 cf 73 db 48 89 44 f2 08 <48> 89 3a c3 0f 1f 80 00 00 00 00 4c 8b 04 24 65 48 8b 05 04 51 9e
RSP: 0018:ffff8881f22c7ee0 EFLAGS: 00000283 ORIG_RAX: ffffffffffffff13
RAX: ffffffff819fa605 RBX: ffff8881ef5a2000 RCX: 0000000000040000
RDX: ffffc90000540000 RSI: 000000000000065c RDI: 000000000000065d
RBP: 0000000000000000 R08: ffffffff819fa5f3 R09: ffffed103e2225e2
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000005452
R13: 00000000200006c0 R14: 0000000000000003 R15: ffff8881ef5a2001
fdput include/linux/file.h:44 [inline]
ksys_ioctl fs/ioctl.c:743 [inline]
__do_sys_ioctl fs/ioctl.c:749 [inline]
__se_sys_ioctl fs/ioctl.c:747 [inline]
__x64_sys_ioctl+0xf5/0x110 fs/ioctl.c:747
do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x5c/0xc1
RIP: 0033:0x7f9abb732ae9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f9aba9b4048 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f9abb8c0fa0 RCX: 00007f9abb732ae9
RDX: 00000000200006c0 RSI: 0000000000005452 RDI: 0000000000000003
RBP: 00007f9abb7b3746 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f9abb8c0fa0 R15: 00007ffe1655b158
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 2086 Comm: syz.4.480 Not tainted 5.4.274-syzkaller-00002-g6f97bd951d82 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:arch_static_branch arch/x86/include/asm/msr.h:105 [inline]
RIP: 0010:static_key_false include/linux/jump_label.h:200 [inline]
RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:164 [inline]
RIP: 0010:wrmsr arch/x86/include/asm/msr.h:275 [inline]
RIP: 0010:native_apic_msr_write+0x35/0x50 arch/x86/include/asm/apic.h:207
Code: 74 2d 83 ff 30 74 28 eb 10 81 ff d0 00 00 00 74 1e 81 ff e0 00 00 00 74 16 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <0f> 1f 44 00 00 c3 89 f6 31 d2 e9 ac 30 1a 01 66 66 2e 0f 1f 84 00
RSP: 0018:ffff8881f6e08748 EFLAGS: 00000046
RAX: 0000000000000098 RBX: ffffffff856321e0 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 0000000000000098 RDI: 0000000000000838
RBP: 0000000000000098 R08: ffffffff8157c22b R09: ffffffff8157c1b7
R10: ffff8881e3916e40 R11: 0000000000000002 R12: dffffc0000000000
R13: 0000000000000002 R14: 0000000000000098 R15: dffffc0000000000
FS: 00007fd6f43e86c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd6f5166abf CR3: 0000000005e0e000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
apic_write arch/x86/include/asm/apic.h:395 [inline]
lapic_next_event+0x5b/0x70 arch/x86/kernel/apic/apic.c:466
clockevents_program_event+0x199/0x2c0 kernel/time/clockevents.c:334
hrtimer_interrupt+0x4b3/0x890 kernel/time/hrtimer.c:1718
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1122 [inline]
smp_apic_timer_interrupt+0x110/0x460 arch/x86/kernel/apic/apic.c:1147
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:834
RIP: 0010:unwind_next_frame+0x16b1/0x1ea0 arch/x86/kernel/unwind_orc.c:595
Code: 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 4c 24 48 0f b6 04 01 84 c0 0f 85 9b 05 00 00 48 8b 1c 24 8b 84 24 94 00 00 00 39 03 <48> 8b 7c 24 68 0f 85 a4 00 00 00 49 bf 00 00 00 00 00 fc ff df 48
RSP: 0018:ffff8881f6e08980 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000001 RBX: ffff8881f6e08c80 RCX: 1ffff1103edc1190
RDX: ffff8881f6e08c00 RSI: 0000000000000020 RDI: ffff8881f6e08c80
RBP: ffff8881f6e08c70 R08: dffffc0000000000 R09: ffff8881f6e08cd0
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff0d66323
R13: ffffffff86b31918 R14: ffff8881f6e08c80 R15: dffffc0000000000
arch_stack_walk+0x111/0x140 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x118/0x1c0 kernel/stacktrace.c:123
save_stack mm/kasan/common.c:70 [inline]
set_track mm/kasan/common.c:78 [inline]
kasan_set_free_info mm/kasan/common.c:345 [inline]
__kasan_slab_free+0x1b5/0x270 mm/kasan/common.c:487
slab_free_hook mm/slub.c:1455 [inline]
slab_free_freelist_hook mm/slub.c:1494 [inline]
slab_free mm/slub.c:3080 [inline]
kmem_cache_free+0x10b/0x2c0 mm/slub.c:3096
ip_tunnel_xmit+0x18bd/0x2690 net/ipv4/ip_tunnel.c:840
__gre_xmit net/ipv4/ip_gre.c:465 [inline]
erspan_xmit+0xabc/0x1640 net/ipv4/ip_gre.c:714
__netdev_start_xmit include/linux/netdevice.h:4538 [inline]
netdev_start_xmit include/linux/netdevice.h:4552 [inline]
xmit_one net/core/dev.c:3221 [inline]
dev_hard_start_xmit+0x1b7/0x6b0 net/core/dev.c:3237
sch_direct_xmit+0x28f/0xa10 net/sched/sch_generic.c:336
qdisc_restart net/sched/sch_generic.c:401 [inline]
__qdisc_run+0xa14/0x1e80 net/sched/sch_generic.c:409
qdisc_run+0xf8/0x300 include/net/pkt_sched.h:122
__dev_xmit_skb net/core/dev.c:3413 [inline]
__dev_queue_xmit+0xb43/0x27e0 net/core/dev.c:3768
neigh_output include/net/neighbour.h:518 [inline]
ip6_finish_output2+0xf9e/0x18e0 net/ipv6/ip6_output.c:144
NF_HOOK_COND include/linux/netfilter.h:292 [inline]
ip6_output+0x1b3/0x430 net/ipv6/ip6_output.c:248
dst_output include/net/dst.h:438 [inline]
NF_HOOK include/linux/netfilter.h:303 [inline]
ndisc_send_skb+0x702/0xc30 net/ipv6/ndisc.c:509
addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3953
call_timer_fn+0x36/0x390 kernel/time/timer.c:1448
expire_timers kernel/time/timer.c:1493 [inline]
__run_timers+0x879/0xbe0 kernel/time/timer.c:1817
run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1830
__do_softirq+0x23b/0x6b7 kernel/softirq.c:292
invoke_softirq kernel/softirq.c:373 [inline]
irq_exit+0x195/0x1c0 kernel/softirq.c:413
exiting_irq arch/x86/include/asm/apic.h:538 [inline]
smp_apic_timer_interrupt+0x11a/0x460 arch/x86/kernel/apic/apic.c:1149
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:834
RIP: 0010:refcount_sub_and_test include/linux/refcount.h:255 [inline]
RIP: 0010:refcount_dec_and_test include/linux/refcount.h:281 [inline]
RIP: 0010:put_task_stack+0x36/0x260 kernel/fork.c:449
Code: fc e8 ce 17 2a 00 49 8d 9c 24 68 0a 00 00 48 89 df be 04 00 00 00 e8 39 d0 59 00 bd ff ff ff ff f0 41 0f c1 ac 24 68 0a 00 00 01 00 00 00 89 ee e8 8e 1a 2a 00 83 fd 01 0f 85 ae 00 00 00 48
RSP: 0018:ffff8881e6e0ea28 EFLAGS: 00000257 ORIG_RAX: ffffffffffffff13
RAX: ffffffff813a2401 RBX: ffff8881f30ee8e8 RCX: ffffffff813a2467
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff8881f30ee8e8
RBP: 0000000000000001 R08: dffffc0000000000 R09: ffffed103e61dd1e
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f30ede80
R13: ffff8881e3916e40 R14: dffffc0000000000 R15: ffff8881f30edef8
finish_task_switch+0x24a/0x590 kernel/sched/core.c:3479
context_switch kernel/sched/core.c:3611 [inline]
__schedule+0xb0d/0x1320 kernel/sched/core.c:4307
preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:4456
preempt_schedule+0xd9/0xe0 kernel/sched/core.c:4481
___preempt_schedule+0x16/0x20 arch/x86/entry/thunk_64.S:50
unwind_next_frame+0x19c2/0x1ea0 arch/x86/kernel/unwind_orc.c:603
arch_stack_walk+0x111/0x140 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x118/0x1c0 kernel/stacktrace.c:123
save_stack+0x95/0x880 mm/page_owner.c:122
__reset_page_owner+0x1f/0x100 mm/page_owner.c:149
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1176 [inline]
free_pcp_prepare mm/page_alloc.c:1233 [inline]
free_unref_page_prepare+0x297/0x380 mm/page_alloc.c:3085
free_unref_page_list+0x10a/0x590 mm/page_alloc.c:3154
release_pages+0xad8/0xb20 mm/swap.c:842
tlb_batch_pages_flush mm/mmu_gather.c:49 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:189 [inline]
tlb_flush_mmu+0xc8/0x170 mm/mmu_gather.c:196
zap_pte_range mm/memory.c:1173 [inline]
zap_pmd_range mm/memory.c:1222 [inline]
zap_pud_range mm/memory.c:1251 [inline]
zap_p4d_range mm/memory.c:1272 [inline]
unmap_page_range+0x1d29/0x2620 mm/memory.c:1293
unmap_single_vma mm/memory.c:1338 [inline]
unmap_vmas+0x355/0x4b0 mm/memory.c:1370
exit_mmap+0x2bc/0x520 mm/mmap.c:3191
__mmput+0x8e/0x2c0 kernel/fork.c:1101
exit_mm kernel/exit.c:536 [inline]
do_exit+0xc08/0x2bc0 kernel/exit.c:846
do_group_exit+0x138/0x300 kernel/exit.c:982
get_signal+0xdb1/0x1440 kernel/signal.c:2735
do_signal+0xb0/0x11f0 arch/x86/kernel/signal.c:809
exit_to_usermode_loop+0xc0/0x1a0 arch/x86/entry/common.c:159
prepare_exit_to_usermode+0x199/0x200 arch/x86/entry/common.c:194
entry_SYSCALL_64_after_hwframe+0x5c/0xc1
RIP: 0033:0x7fd6f5166ae9
Code: Bad RIP value.
RSP: 002b:00007fd6f43e8048 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: 0000000000000000 RBX: 00007fd6f52f4fa0 RCX: 00007fd6f5166ae9
RDX: 0000000020000b80 RSI: 0000000000005452 RDI: 0000000000000004
RBP: 00007fd6f51e7746 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fd6f52f4fa0 R15: 00007fff20fffe88