watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [syz.2.706:4022] Modules linked in: CPU: 0 PID: 4022 Comm: syz.2.706 Not tainted 6.1.90-syzkaller-00026-g514bdc80b9d2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:update_stack_state+0x3b3/0x460 arch/x86/kernel/unwind_frame.c:252 Code: 03 42 80 3c 38 00 74 08 4c 89 f7 e8 37 ee 84 00 65 48 8b 05 cf 91 ca 7e 49 39 06 74 0d 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 07 ee 84 00 RSP: 0018:ffffc900000073f0 EFLAGS: 00000246 RAX: ffff88811255d100 RBX: ffffc90000007970 RCX: 1ffff92000000eb3 RDX: 1ffff92000000eaa RSI: ffffc90000007968 RDI: ffffc90000007598 RBP: ffffc900000074a8 R08: ffffc90000007628 R09: 0000000000000003 R10: ffffc90000007630 R11: dffffc0000000001 R12: 1ffff92000000eb0 R13: 0000000000000000 R14: ffffc90000007568 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9424c00020 CR3: 0000000111c8f000 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:315 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:45 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:52 kasan_save_alloc_info+0x1f/0x30 mm/kasan/generic.c:505 ____kasan_kmalloc mm/kasan/common.c:379 [inline] __kasan_kmalloc+0x9c/0xb0 mm/kasan/common.c:388 kasan_kmalloc include/linux/kasan.h:212 [inline] kmalloc_trace+0x44/0xa0 mm/slab_common.c:1052 kmalloc include/linux/slab.h:556 [inline] dst_cow_metrics_generic+0x55/0x1c0 net/core/dst.c:199 dst_metrics_write_ptr include/net/dst.h:119 [inline] dst_metric_set include/net/dst.h:180 [inline] icmp6_dst_alloc+0x363/0x510 net/ipv6/route.c:3279 ndisc_send_skb+0x28b/0xdc0 net/ipv6/ndisc.c:489 ndisc_send_rs+0x47d/0x5f0 net/ipv6/ndisc.c:719 addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3984 call_timer_fn+0x3b/0x2d0 kernel/time/timer.c:1510 expire_timers kernel/time/timer.c:1555 [inline] __run_timers+0x72a/0xa10 kernel/time/timer.c:1826 run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1839 __do_softirq+0x1d8/0x661 kernel/softirq.c:617 invoke_softirq kernel/softirq.c:472 [inline] __irq_exit_rcu+0x50/0xf0 kernel/softirq.c:700 irq_exit_rcu+0x9/0x10 kernel/softirq.c:712 sysvec_apic_timer_interrupt+0x9a/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:unwind_next_frame+0x5a5/0x700 arch/x86/kernel/unwind_frame.c:370 Code: 74 5f 4c 89 f7 e8 eb 05 00 00 48 ba 00 00 00 00 00 fc ff df 41 0f b6 04 17 84 c0 0f 85 b6 00 00 00 41 c7 06 00 00 00 00 31 c0 <48> 83 c4 50 5b 41 5c 41 5d 41 5e 41 5f 5d c3 44 89 f1 80 e1 07 80 RSP: 0018:ffffc90000767118 EFLAGS: 00000202 RAX: 0000000000767201 RBX: ffffc90000767210 RCX: 0000000000767201 RDX: 1ffff920000ece46 RSI: ffffc900007672b0 RDI: ffffc90000767278 RBP: ffffc90000767190 R08: dffffc0000000001 R09: ffffc90000767220 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffffc90000767270 R14: ffffc90000767220 R15: 1ffff920000ece44 __unwind_start+0x318/0x3a0 arch/x86/kernel/unwind_frame.c:417 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0xdb/0x140 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 save_stack+0xf6/0x1e0 mm/page_owner.c:147 __reset_page_owner+0x54/0x190 mm/page_owner.c:168 reset_page_owner include/linux/page_owner.h:26 [inline] free_pages_prepare mm/page_alloc.c:1498 [inline] free_pcp_prepare mm/page_alloc.c:1572 [inline] free_unref_page_prepare+0x83d/0x850 mm/page_alloc.c:3498 free_unref_page+0xb2/0x5c0 mm/page_alloc.c:3594 free_the_page mm/page_alloc.c:798 [inline] __free_pages+0x61/0xf0 mm/page_alloc.c:5803 __vunmap+0x9f3/0xb60 mm/vmalloc.c:2728 __vfree mm/vmalloc.c:2776 [inline] vfree+0x5c/0x80 mm/vmalloc.c:2807 kcov_put kernel/kcov.c:428 [inline] kcov_close+0x2b/0x50 kernel/kcov.c:524 __fput+0x3ab/0x870 fs/file_table.c:320 ____fput+0x15/0x20 fs/file_table.c:348 task_work_run+0x24d/0x2e0 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xbd5/0x2b80 kernel/exit.c:875 do_group_exit+0x21a/0x2d0 kernel/exit.c:1025 get_signal+0x169d/0x1820 kernel/signal.c:2880 arch_do_signal_or_restart+0xb0/0x16f0 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x74/0xa0 kernel/entry/common.c:174 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x26/0x130 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f599e579e79 Code: Unable to access opcode bytes at 0x7f599e579e4f. RSP: 002b:00007f599f2df038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007f599e715f80 RCX: 00007f599e579e79 RDX: 0000000020000240 RSI: 0000000000005452 RDI: 0000000000000007 RBP: 00007f599e5e793e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f599e715f80 R15: 00007ffe8889a708 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 1041 Comm: kworker/u4:94 Not tainted 6.1.90-syzkaller-00026-g514bdc80b9d2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__sanitizer_cov_trace_pc+0x5c/0x60 kernel/kcov.c:225 Code: 48 0b 00 00 83 fa 02 75 21 48 8b 91 50 0b 00 00 48 8b 32 48 8d 7e 01 8b 89 4c 0b 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2 08 <5d> c3 66 90 55 48 89 e5 4c 8b 45 08 65 48 8b 15 c0 c7 8c 7e 65 8b RSP: 0018:ffffc90001617830 EFLAGS: 00000293 RAX: ffffffff816c0a2c RBX: 1ffff1103ee07a99 RCX: ffff888132a08000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90001617830 R08: ffffffff816c09f5 R09: ffffed103ee271fb R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000800000000 R14: ffff8881f703d4c8 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000200000 CR3: 0000000006e0f000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: csd_lock_wait kernel/smp.c:453 [inline] smp_call_function_many_cond+0x86c/0x930 kernel/smp.c:998 on_each_cpu_cond_mask+0x40/0x80 kernel/smp.c:1166 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1334 [inline] text_poke_bp_batch+0x1e9/0x730 arch/x86/kernel/alternative.c:1534 text_poke_flush arch/x86/kernel/alternative.c:1725 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1732 arch_jump_label_transform_apply+0x15/0x30 arch/x86/kernel/jump_label.c:146 __jump_label_update+0x36a/0x380 kernel/jump_label.c:455 jump_label_update+0x3af/0x450 kernel/jump_label.c:801 static_key_disable_cpuslocked+0xcd/0x1b0 kernel/jump_label.c:207 static_key_disable+0x1a/0x30 kernel/jump_label.c:215 toggle_allocation_gate+0x3b4/0x450 mm/kfence/core.c:818 process_one_work+0x73d/0xcb0 kernel/workqueue.c:2299 worker_thread+0xa60/0x1260 kernel/workqueue.c:2446 kthread+0x26d/0x300 kernel/kthread.c:386 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308