watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz.3.1599:7715] Modules linked in: CPU: 1 PID: 7715 Comm: syz.3.1599 Not tainted 6.1.90-syzkaller-00023-gedca080b95df #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:xfrm_lookup+0x30/0x50 net/xfrm/xfrm_policy.c:3198 Code: 41 56 41 55 41 54 53 45 89 c6 49 89 cf 49 89 d4 49 89 f5 48 89 fb e8 df 9a 0a fd 48 89 df 4c 89 ee 4c 89 e2 4c 89 f9 45 89 f0 <45> 31 c9 e8 78 a9 ff ff 5b 41 5c 41 5d 41 5e 41 5f 5d c3 66 2e 0f RSP: 0018:ffffc900001b0978 EFLAGS: 00000246 RAX: ffffffff846b0ab1 RBX: ffff888123724600 RCX: 0000000000000000 RDX: ffffc900001b0b10 RSI: ffff88814521ba00 RDI: ffff888123724600 RBP: ffffc900001b09a0 R08: 0000000000000000 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffffc900001b0b10 R13: ffff88814521ba00 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcf9d51fc8 CR3: 000000012875b000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: icmp6_dst_alloc+0x491/0x510 net/ipv6/route.c:3286 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:__schedule+0xcaf/0x1550 Code: 44 24 68 42 0f b6 04 28 84 c0 0f 85 83 02 00 00 41 80 24 24 fc 4c 89 f7 48 8b 74 24 20 e8 29 b5 e2 fb 48 89 c7 e8 a1 c8 32 fc <48> 8b 44 24 70 48 c7 84 24 80 00 00 00 0e 36 e0 45 49 c7 44 05 00 RSP: 0018:ffffc90000be6f00 EFLAGS: 00000282 RAX: 0000000080000001 RBX: 1ffff1103ee270fc RCX: 0000000000000002 RDX: 0000000000000001 RSI: 0000000000000008 RDI: 0000000000000001 RBP: ffffc90000be7010 R08: dffffc0000000000 R09: ffffed1022530511 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888112982880 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881f71387e0 preempt_schedule_irq+0xc7/0x140 kernel/sched/core.c:7056 raw_irqentry_exit_cond_resched+0x2a/0x30 kernel/entry/common.c:396 irqentry_exit+0x30/0x40 kernel/entry/common.c:439 sysvec_apic_timer_interrupt+0x55/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_start+0x34f/0x3a0 arch/x86/kernel/unwind_frame.c:418 Code: c8 0f b6 04 01 84 c0 75 0b 83 3b 00 0f 85 32 ff ff ff eb 16 89 d9 80 e1 07 80 c1 03 38 c1 7c e9 48 89 df e8 43 e7 84 00 eb df <48> 83 c4 48 5b 41 5c 41 5d 41 5e 41 5f 5d c3 89 d9 80 e1 07 38 c1 RSP: 0018:ffffc90000be71a0 EFLAGS: 00000246 RAX: ffffc90000be72b0 RBX: ffffc90000be7258 RCX: 1ffff9200017ce4b RDX: 1ffff9200017ce46 RSI: ffffc90000be72b0 RDI: ffffc90000be7278 RBP: ffffc90000be7210 R08: dffffc0000000001 R09: ffffc90000be7220 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000be7230 R13: ffffc90000be0000 R14: ffffc90000be7228 R15: 1ffff9200017ce46 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:0x7f80edb79e79 Code: Unable to access opcode bytes at 0x7f80edb79e4f. RSP: 002b:00007f80ee950038 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: 0000000000000006 RBX: 00007f80edd15f80 RCX: 00007f80edb79e79 RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00007f80edbe7916 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f80edd15f80 R15: 00007ffd752e80a8 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3847 Comm: kworker/u4:50 Not tainted 6.1.90-syzkaller-00023-gedca080b95df #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:check_kcov_mode kernel/kcov.c:175 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x30/0x60 kernel/kcov.c:207 Code: 45 08 65 48 8b 0d 20 c8 8c 7e 65 8b 15 21 c8 8c 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 6c 0b 00 00 00 74 2c <8b> 91 48 0b 00 00 83 fa 02 75 21 48 8b 91 50 0b 00 00 48 8b 32 48 RSP: 0000:ffffc900029af830 EFLAGS: 00000246 RAX: ffffffff816c0a2c RBX: 1ffff1103ee27885 RCX: ffff888112b32880 RDX: 0000000000000001 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900029af830 R08: ffffffff816c09f5 R09: ffffed103ee071fb R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: 0000000800000000 R14: ffff8881f713c428 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f59cc521fa0 CR3: 0000000006e0f000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 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_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:804 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