watchdog: BUG: soft lockup - CPU#0 stuck for 144s! [syz.7.1218:7980]
Modules linked in:
CPU: 0 PID: 7980 Comm: syz.7.1218 Not tainted 5.15.167-syzkaller-00002-g3bfe08931bff #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:update_stack_state+0x3d0/0x460
Code: 48 89 df e8 42 fc ff ff 49 89 c6 eb 19 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 b7 a6 7d 00 4c 8b 33 48 8b 5d d0 <48> 83 c3 48 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8
RSP: 0018:ffffc900000073f0 EFLAGS: 00000246
RAX: 1ffff920001c0e0f RBX: ffffc90000007540 RCX: 1ffff92000000eb3
RDX: 1ffff92000000eaa RSI: ffffc90000e07070 RDI: ffffc90000007598
RBP: ffffc900000074a8 R08: ffffc90000007628 R09: 0000000000000010
R10: ffffc90000007630 R11: dffffc0000000001 R12: 1ffff92000000eb0
R13: 0000000000000000 R14: ffffffff84e53db4 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000013ad04000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 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: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
kmalloc include/linux/slab.h:603 [inline]
dst_cow_metrics_generic+0x55/0x1c0 net/core/dst.c:199
dst_metrics_write_ptr include/net/dst.h:118 [inline]
dst_metric_set include/net/dst.h:179 [inline]
icmp6_dst_alloc+0x385/0x560 net/ipv6/route.c:3288
ndisc_send_skb+0x27f/0xc90 net/ipv6/ndisc.c:491
ndisc_send_rs+0x532/0x6a0 net/ipv6/ndisc.c:705
addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3979
call_timer_fn+0x3b/0x2d0 kernel/time/timer.c:1457
expire_timers kernel/time/timer.c:1502 [inline]
__run_timers+0x72a/0xa10 kernel/time/timer.c:1773
run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1786
handle_softirqs+0x25e/0x5c0 kernel/softirq.c:565
__do_softirq kernel/softirq.c:603 [inline]
invoke_softirq kernel/softirq.c:425 [inline]
__irq_exit_rcu+0x52/0xf0 kernel/softirq.c:652
irq_exit_rcu+0x9/0x10 kernel/softirq.c:664
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:finish_task_switch+0x16f/0x7b0 kernel/sched/core.c:5024
Code: 74 08 4c 89 ff e8 71 73 65 00 49 8b 1f 48 85 db 4c 8b 6d c0 0f 85 ce 00 00 00 4c 89 e7 e8 e9 d3 99 03 fb 49 8d 9d 38 0b 00 00 <48> 89 d8 48 c1 e8 03 49 be 00 00 00 00 00 fc ff df 42 0f b6 04 30
RSP: 0018:ffffc90000e07020 EFLAGS: 00000282
RAX: 0000000080000001 RBX: ffff888133379ef8 RCX: 0000000000000002
RDX: 0000000040000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffffc90000e07070 R08: ffffffff8191f919 R09: fffffbfff0e533a3
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f70378c0
R13: ffff8881333793c0 R14: 1ffff1103ee07081 R15: ffff8881f7038408
context_switch kernel/sched/core.c:5155 [inline]
__schedule+0xcd4/0x1590 kernel/sched/core.c:6512
preempt_schedule_irq+0xc7/0x140 kernel/sched/core.c:6916
irqentry_exit_cond_resched+0x2a/0x30 kernel/entry/common.c:398
irqentry_exit+0x30/0x40 kernel/entry/common.c:432
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+0x2e/0x290 kernel/stacktrace.c:86
Code: 41 57 41 56 41 55 41 54 53 48 83 ec 20 48 89 fb 48 ba 00 00 00 00 00 fc ff df 4c 8d 57 10 4d 89 d7 49 c1 ef 03 41 0f b6 04 17 <84> c0 0f 85 0d 01 00 00 44 8b 4b 10 4c 8d 43 08 4d 89 c4 49 c1 ec
RSP: 0018:ffffc90000e07308 EFLAGS: 00000a02
RAX: 0000000000000000 RBX: ffffc90000e07440 RCX: 0000000000e07301
RDX: dffffc0000000000 RSI: ffffffff81ad37e8 RDI: ffffc90000e07440
RBP: ffffc90000e07350 R08: ffffc90000e07448 R09: 0000000000000000
R10: ffffc90000e07450 R11: dffffc0000000001 R12: ffff8881333793c0
R13: ffffffff815f77f0 R14: ffffc90000e07440 R15: 1ffff920001c0e8a
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
__reset_page_owner+0x36/0x190 mm/page_owner.c:156
reset_page_owner include/linux/page_owner.h:26 [inline]
free_pages_prepare mm/page_alloc.c:1472 [inline]
free_pcp_prepare mm/page_alloc.c:1544 [inline]
free_unref_page_prepare+0x7c8/0x7d0 mm/page_alloc.c:3534
free_unref_page+0xe8/0x750 mm/page_alloc.c:3616
free_the_page mm/page_alloc.c:805 [inline]
__free_pages+0x61/0xf0 mm/page_alloc.c:5855
__vunmap+0x7bc/0x8f0 mm/vmalloc.c:2652
__vfree mm/vmalloc.c:2700 [inline]
vfree+0x7f/0xb0 mm/vmalloc.c:2731
kcov_put kernel/kcov.c:417 [inline]
kcov_close+0x2b/0x50 kernel/kcov.c:519
__fput+0x228/0x8c0 fs/file_table.c:280
____fput+0x15/0x20 fs/file_table.c:308
task_work_run+0x129/0x190 kernel/task_work.c:188
exit_task_work include/linux/task_work.h:33 [inline]
do_exit+0xc48/0x2ca0 kernel/exit.c:880
do_group_exit+0x141/0x310 kernel/exit.c:1002
get_signal+0x7a3/0x1630 kernel/signal.c:2904
arch_do_signal_or_restart+0xbd/0x1680 arch/x86/kernel/signal.c:867
handle_signal_work kernel/entry/common.c:154 [inline]
exit_to_user_mode_loop+0xa0/0xe0 kernel/entry/common.c:178
exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:214
irqentry_exit_to_user_mode+0x9/0x10 kernel/entry/common.c:320
irqentry_exit+0x12/0x40 kernel/entry/common.c:411
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: 0033:0x7f7fbb2a9aa0
Code: Unable to access opcode bytes at RIP 0x7f7fbb2a9a76.
RSP: 002b:00007f7fba053060 EFLAGS: 00000246
RAX: 00007f7fbb4ce320 RBX: 00007f7fbb591f80 RCX: 00007f7fbb591f80
RDX: 0000000000005b75 RSI: 0000000000005452 RDI: 0000000000000005
RBP: 00007f7fbb44d75e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f7fbb591f80 R15: 00007fff0f239108
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 7800 Comm: kworker/u4:0 Not tainted 5.15.167-syzkaller-00002-g3bfe08931bff #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:__sanitizer_cov_trace_pc+0x5d/0x60 kernel/kcov.c:216
Code: 0b 00 00 83 fa 02 75 21 48 8b 91 40 0b 00 00 48 8b 32 48 8d 7e 01 8b 89 3c 0b 00 00 48 39 cf 73 08 48 89 44 f2 08 48 89 3a 5d 66 90 55 48 89 e5 4c 8b 45 08 65 48 8b 15 90 15 92 7e 65 8b 05
RSP: 0018:ffffc90001557838 EFLAGS: 00000293
RAX: ffffffff8165b57b RBX: 1ffff1103ee07af1 RCX: ffff8881257abb40
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90001557958 R08: ffffffff8165b54a R09: ffffed103ee271d3
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: ffff8881f703d788 R14: ffff8881f7138e80 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020216000 CR3: 0000000006a0f000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
on_each_cpu_cond_mask+0x40/0x80 kernel/smp.c:1135
on_each_cpu include/linux/smp.h:71 [inline]
text_poke_sync arch/x86/kernel/alternative.c:1207 [inline]
text_poke_bp_batch+0x1db/0x720 arch/x86/kernel/alternative.c:1407
text_poke_flush arch/x86/kernel/alternative.c:1598 [inline]
text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1605
arch_jump_label_transform_apply+0x15/0x30 arch/x86/kernel/jump_label.c:146
__jump_label_update+0x36a/0x380 kernel/jump_label.c:459
jump_label_update+0x3af/0x450 kernel/jump_label.c:830
static_key_enable_cpuslocked+0x12f/0x250 kernel/jump_label.c:177
static_key_enable+0x1a/0x30 kernel/jump_label.c:190
toggle_allocation_gate+0xbf/0x460 mm/kfence/core.c:729
process_one_work+0x6bb/0xc10 kernel/workqueue.c:2325
worker_thread+0xad5/0x12a0 kernel/workqueue.c:2472
kthread+0x421/0x510 kernel/kthread.c:337
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287