watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz.1.722:3579] Modules linked in: CPU: 1 PID: 3579 Comm: syz.1.722 Tainted: G W 5.10.227-syzkaller-00554-g550d1177dc67 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:stack_trace_save+0x6/0x1c0 kernel/stacktrace.c:113 Code: 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d c3 0f 0b 45 31 e4 eb e7 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 48 89 e5 41 57 <41> 56 41 55 41 54 53 48 83 e4 e0 48 81 ec a0 00 00 00 89 d3 89 74 RSP: 0018:ffffc900001706a8 EFLAGS: 00000246 RAX: ffffc900001706c0 RBX: ffff8881436e6d00 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000040 RDI: ffffc900001706c0 RBP: ffffc900001706b0 R08: dffffc0000000000 R09: ffffc900001706c0 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881436e6d60 R13: ffffffff83c8c955 R14: 0000000000000a20 R15: ffffc900001706c0 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5e37813fb8 CR3: 00000001551c3000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: 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 00 78 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 f4 41 97 fc fb bf 01 00 00 00 89 e6 ff ff fa bf 01 00 00 00 e8 7e 43 97 fc 65 48 8b 1d c6 8c RSP: 0018:ffffc90000cf73a0 EFLAGS: 00000246 RAX: 1ffff11023752636 RBX: 1ffff9200019ee78 RCX: ffffffff84b30900 RDX: 1ffffffff0e10e08 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffffc90000cf7430 R08: ffffffff87087048 R09: ffffffff87087058 R10: ffffffff87087050 R11: ffffffff87087043 R12: ffffc90000cf73c0 R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff9200019ee74 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:kasan_check_range+0x1bd/0x2a0 mm/kasan/generic.c:189 Code: 4d 89 d5 49 8d 5d 07 4d 85 ed 49 0f 49 dd 48 83 e3 f8 49 29 dd 74 12 41 80 39 00 0f 85 a6 00 00 00 49 ff c1 49 ff cd 75 ee 5b <41> 5c 41 5d 41 5e 41 5f 5d c3 45 84 f6 75 61 41 f7 c6 00 ff 00 00 RSP: 0018:ffffc90000cf7520 EFLAGS: 00000256 RAX: 0000000080000001 RBX: 1ffff9200019eeb0 RCX: ffffffff84b1dfbb RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88811ba92780 RBP: ffffc90000cf7540 R08: dffffc0000000000 R09: ffffed10237524f1 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff110237524f0 R13: 0000000000000001 R14: ffffed10237524f1 R15: dffffc0000000000 __kasan_check_read+0x11/0x20 mm/kasan/shadow.c:31 instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] test_ti_thread_flag include/linux/thread_info.h:97 [inline] need_resched include/linux/sched.h:1951 [inline] preempt_schedule_notrace+0x11b/0x140 kernel/sched/core.c:5041 preempt_schedule_notrace_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:40 kvm_clock_read arch/x86/kernel/kvmclock.c:81 [inline] kvm_sched_clock_read+0x2f/0x40 arch/x86/kernel/kvmclock.c:92 paravirt_sched_clock arch/x86/include/asm/paravirt.h:22 [inline] sched_clock+0x3a/0x40 arch/x86/kernel/tsc.c:252 sched_clock_cpu+0x1b/0x3b0 kernel/sched/clock.c:371 local_clock include/linux/sched/clock.h:84 [inline] __reset_page_owner+0x28/0x150 mm/page_owner.c:172 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:2793 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:0x7fed18773ed9 Code: Unable to access opcode bytes at RIP 0x7fed18773eaf. RSP: 002b:00007fed16dca0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 00007fed1893a088 RCX: 00007fed18773ed9 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007fed1893a08c RBP: 00007fed1893a080 R08: 00007ffd154ef0b0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fed1893a08c R13: 0000000000000000 R14: 00007ffd154dfe30 R15: 00007ffd154dff18 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4540 Comm: kworker/u4:4 Tainted: G W 5.10.227-syzkaller-00554-g550d1177dc67 #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+0x5c/0x60 kernel/kcov.c:207 Code: b8 0a 00 00 83 fa 02 75 21 48 8b 91 c0 0a 00 00 48 8b 32 48 8d 7e 01 8b 89 bc 0a 00 00 48 39 cf 73 08 48 89 44 f2 08 48 89 3a <5d> c3 66 90 55 48 89 e5 4c 8b 45 08 65 48 8b 15 b0 ad 97 7e 65 8b RSP: 0018:ffffc90001d37710 EFLAGS: 00000293 RAX: ffffffff815fd544 RBX: 1ffff920003a6eed RCX: ffff8881170362c0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90001d37710 R08: ffffffff815fd516 R09: ffffed103ee2aec9 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000001 R14: ffffc90001d37768 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3d66404ef4 CR3: 000000000660f000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: csd_lock_wait kernel/smp.c:229 [inline] smp_call_function_single+0x294/0x510 kernel/smp.c:517 smp_call_function_many_cond+0x94e/0xa30 kernel/smp.c:653 smp_call_function_many kernel/smp.c:716 [inline] smp_call_function kernel/smp.c:738 [inline] on_each_cpu+0xa8/0x1a0 kernel/smp.c:837 text_poke_sync arch/x86/kernel/alternative.c:1318 [inline] text_poke_bp_batch+0x1d4/0x600 arch/x86/kernel/alternative.c:1509 text_poke_flush arch/x86/kernel/alternative.c:1677 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1684 arch_jump_label_transform_apply+0x15/0x30 arch/x86/kernel/jump_label.c:126 __jump_label_update+0x36a/0x380 kernel/jump_label.c:459 jump_label_update+0x379/0x400 kernel/jump_label.c:825 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/0x450 mm/kfence/core.c:624 process_one_work+0x6dc/0xbd0 kernel/workqueue.c:2301 worker_thread+0xaea/0x1510 kernel/workqueue.c:2447 kthread+0x34b/0x3d0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298