watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz.3.104:1104] Modules linked in: CPU: 1 PID: 1104 Comm: syz.3.104 Not tainted 5.10.225-syzkaller-00513-g8d23314f588a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:84 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x78/0x2a0 mm/kasan/generic.c:189 Code: 54 37 ff 49 c1 ea 03 49 bb 01 00 00 00 00 fc ff df 4f 8d 34 1a 4d 89 f5 4d 29 cd 49 83 fd 10 7f 26 4d 85 ed 0f 84 44 01 00 00 <49> f7 d2 4d 01 e2 41 80 39 00 0f 85 d2 01 00 00 49 ff c1 49 ff c2 RSP: 0018:ffffc900001703e0 EFLAGS: 00000206 RAX: ffff8881256e8001 RBX: 000000000001ffff RCX: ffffffff81322474 RDX: 0000000000000001 RSI: 0000000000000060 RDI: ffffc900001704c0 RBP: ffffc90000170408 R08: dffffc0000000000 R09: fffff5200002e098 R10: 1ffff9200002e0a3 R11: dffffc0000000001 R12: 1ffff9200002e098 R13: 000000000000000c R14: fffff5200002e0a4 R15: 0000000000000060 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c620008 CR3: 000000011a85f000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: memset+0x23/0x40 mm/kasan/shadow.c:44 __unwind_start+0x34/0x3a0 arch/x86/kernel/unwind_frame.c:368 unwind_start arch/x86/include/asm/unwind.h:60 [inline] arch_stack_walk+0xdb/0x140 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:121 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_slab_alloc+0xb1/0xe0 mm/kasan/common.c:463 kasan_slab_alloc include/linux/kasan.h:244 [inline] slab_post_alloc_hook+0x61/0x2f0 mm/slab.h:583 slab_alloc_node mm/slub.c:2947 [inline] slab_alloc mm/slub.c:2955 [inline] kmem_cache_alloc+0x168/0x2e0 mm/slub.c:2960 dst_alloc+0x17d/0x590 net/core/dst.c:93 ip6_dst_alloc net/ipv6/route.c:340 [inline] icmp6_dst_alloc+0xfc/0x560 net/ipv6/route.c:3164 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:balance_callback kernel/sched/core.c:3950 [inline] RIP: 0010:__schedule+0xc12/0x1330 kernel/sched/core.c:4810 Code: c7 e8 12 1a 98 fc 49 89 c6 49 8d 9e c0 0b 00 00 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 32 07 f7 fc 48 83 3b 00 <0f> 85 a9 00 00 00 48 c7 44 24 60 0e 36 e0 45 48 8b 44 24 58 49 c7 RSP: 0018:ffffc90000e2f120 EFLAGS: 00000246 RAX: 1ffff1103ee2ad70 RBX: ffff8881f7156b80 RCX: 0000000000000002 RDX: 0000000040000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffffc90000e2f210 R08: ffffffff8188e689 R09: fffffbfff0dc7623 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881256e93c0 R13: dffffc0000000000 R14: ffff8881f7155fc0 R15: 1ffff11024add09c preempt_schedule_irq+0xc7/0x140 kernel/sched/core.c:5065 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:stack_trace_consume_entry+0x126/0x290 kernel/stacktrace.c:93 Code: 1e 48 89 df 49 89 d6 49 89 f7 4d 89 c5 e8 f2 8e 4e 00 4d 89 e8 4c 8b 55 c8 4c 89 fe 4c 89 f2 48 89 33 41 8b 1a 41 0f b6 04 14 <84> c0 0f 85 37 01 00 00 41 3b 18 0f 92 c0 48 83 c4 20 5b 41 5c 41 RSP: 0018:ffffc90000e2f3a8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000e2f401 RDX: dffffc0000000000 RSI: ffffffff81a27e7c RDI: ffffc90000e2f4ec RBP: ffffc90000e2f3f0 R08: ffffc90000e2f4e8 R09: 0000000000000004 R10: ffffc90000e2f4f0 R11: dffffc0000000001 R12: 1ffff920001c5e9d R13: 1ffff920001c5e9d R14: ffffc90000e2f5c0 R15: 1ffff920001c5e9e arch_stack_walk+0x101/0x140 arch/x86/kernel/stacktrace.c:27 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:121 save_stack+0x97/0x240 mm/page_owner.c:146 __reset_page_owner+0x36/0x150 mm/page_owner.c:174 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:2790 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] irqentry_exit_to_user_mode+0x4e/0x80 kernel/entry/common.c:287 irqentry_exit+0x12/0x60 kernel/entry/common.c:375 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: 0033:0x7f715ed08ef9 Code: Unable to access opcode bytes at RIP 0x7f715ed08ecf. RSP: 002b:00007f715d9820e8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 00007f715eec0f88 RCX: 00007f715ed08ef9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f715eec0f88 RBP: 00007f715eec0f80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f715eec0f8c R13: 0000000000000000 R14: 00007fff4937a860 R15: 00007fff4937a948 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 1332 Comm: kworker/u4:11 Not tainted 5.10.225-syzkaller-00513-g8d23314f588a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:25 [inline] RIP: 0010:static_key_false include/linux/jump_label.h:221 [inline] RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:162 [inline] RIP: 0010:wrmsr arch/x86/include/asm/msr.h:273 [inline] RIP: 0010:native_apic_msr_write+0x39/0x50 arch/x86/include/asm/apic.h:208 Code: 74 05 83 ff 30 75 12 5d c3 81 ff d0 00 00 00 74 f6 81 ff e0 00 00 00 74 ee c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <0f> 1f 44 00 00 eb d6 89 f6 31 d2 e8 b7 af 3e 01 5d c3 0f 1f 44 00 RSP: 0018:ffffc90000007e00 EFLAGS: 00000046 RAX: 00000000000000eb RBX: ffffffff85dc4988 RCX: 0000000000000838 RDX: 0000000000000000 RSI: 00000000000000eb RDI: 0000000000000838 RBP: ffffc90000007e00 R08: ffffffff815df6c1 R09: ffffffff815df64d R10: 0000000000000002 R11: ffff8881142fe2c0 R12: 0000000000000eb1 R13: dffffc0000000000 R14: 00000000000000eb R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000559b4146c098 CR3: 000000000660f000 CR4: 00000000003506b0 DR0: 0000000020000300 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: apic_write arch/x86/include/asm/apic.h:396 [inline] lapic_next_event+0x5f/0x70 arch/x86/kernel/apic/apic.c:466 clockevents_program_event+0x1a7/0x2c0 kernel/time/clockevents.c:334 tick_program_event+0x9f/0x120 kernel/time/tick-oneshot.c:44 hrtimer_interrupt+0x4cf/0x8b0 kernel/time/hrtimer.c:1724 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1083 [inline] __sysvec_apic_timer_interrupt+0xfd/0x3c0 arch/x86/kernel/apic/apic.c:1100 asm_call_irq_on_stack+0xf/0x20 __run_sysvec_on_irqstack arch/x86/include/asm/irq_stack.h:37 [inline] run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:89 [inline] sysvec_apic_timer_interrupt+0x85/0xe0 arch/x86/kernel/apic/apic.c:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:rep_nop arch/x86/include/asm/vdso/processor.h:13 [inline] RIP: 0010:cpu_relax arch/x86/include/asm/vdso/processor.h:18 [inline] RIP: 0010:csd_lock_wait kernel/smp.c:229 [inline] RIP: 0010:smp_call_function_single+0x276/0x510 kernel/smp.c:517 Code: 84 c0 0f 85 18 02 00 00 44 8b 6c 24 48 44 89 ee 83 e6 01 31 ff e8 fa ed 0a 00 41 83 e5 01 75 0a e8 3f ea 0a 00 e9 eb 00 00 00 90 42 0f b6 04 23 84 c0 75 15 f7 44 24 48 01 00 00 00 0f 84 cd RSP: 0018:ffffc9000156f720 EFLAGS: 00000293 RAX: ffffffff815fc2c4 RBX: 1ffff920002adeed RCX: ffff8881142fe2c0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000156f810 R08: ffffffff815fc296 R09: ffffed103ee2aec9 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000001 R14: ffffc9000156f768 R15: 0000000000000000 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