watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [syz.1.264:1471] Modules linked in: CPU: 0 PID: 1471 Comm: syz.1.264 Not tainted 5.4.289-syzkaller-00025-g49530c73f82d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x45/0x60 kernel/locking/spinlock.c:199 Code: 08 00 74 0c 48 c7 c7 90 3c eb 85 e8 d5 07 3d fd 48 83 3d bd 0f 94 01 00 74 29 48 89 df e8 93 da f4 fc 66 90 fb bf 01 00 00 00 d6 c4 ed fc 65 8b 05 9b 60 ab 7b 85 c0 74 02 5b c3 e8 24 27 a9 RSP: 0018:ffff8881f6e09d50 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000001 RBX: ffff8881f6e49500 RCX: dffffc0000000000 RDX: 0000000000000103 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffff8881f6e09ec8 R08: ffffffff8154e4ee R09: ffffed103edc92a8 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff83d7c530 R13: dffffc0000000000 R14: 1ffff1103bd9e04d R15: ffff8881decf0268 FS: 00007ffab6a026c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffab83b8d7f CR3: 0000000005e0e000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: expire_timers kernel/time/timer.c:1492 [inline] __run_timers+0x869/0xbe0 kernel/time/timer.c:1817 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1830 __do_softirq+0x23b/0x6b7 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x195/0x1c0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:539 [inline] smp_apic_timer_interrupt+0x11a/0x490 arch/x86/kernel/apic/apic.c:1161 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:834 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x45/0x60 kernel/locking/spinlock.c:199 Code: 08 00 74 0c 48 c7 c7 90 3c eb 85 e8 d5 07 3d fd 48 83 3d bd 0f 94 01 00 74 29 48 89 df e8 93 da f4 fc 66 90 fb bf 01 00 00 00 d6 c4 ed fc 65 8b 05 9b 60 ab 7b 85 c0 74 02 5b c3 e8 24 27 a9 RSP: 0018:ffff8881e352f190 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000001 RBX: ffff8881f6e57b40 RCX: dffffc0000000000 RDX: 0000000040000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffff8881e352f1f0 R08: ffffffff8179a549 R09: fffffbfff0c98a53 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f6e57b40 R13: ffff8881e2636e40 R14: dffffc0000000000 R15: 0000000000000000 finish_lock_switch kernel/sched/core.c:3347 [inline] finish_task_switch+0x130/0x590 kernel/sched/core.c:3447 context_switch kernel/sched/core.c:3611 [inline] __schedule+0xb0d/0x1320 kernel/sched/core.c:4307 preempt_schedule_irq+0xc7/0x140 kernel/sched/core.c:4558 retint_kernel+0x1b/0x1b RIP: 0010:release_pages+0x148/0xb20 mm/swap.c:770 Code: ff 48 8b 5c 24 38 48 39 5c 24 78 0f 84 60 09 00 00 e8 1c f5 e1 ff 48 83 c3 08 49 8d 3c 1c 48 89 f8 48 c1 e8 03 42 80 3c 30 00 <74> 05 e8 31 df 11 00 48 89 5c 24 38 4d 8b 3c 1c 4d 85 ed 74 2d 4c RSP: 0018:ffff8881e352f440 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff02 RAX: 1ffff1103ac19aae RBX: 0000000000000560 RCX: ffff8881e2636e40 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8881d60cd570 RBP: ffff8881e352f550 R08: ffffffff81825664 R09: fffff94000eb8d3f R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881d60cd010 R13: 0000000000000000 R14: dffffc0000000000 R15: ffffea00075c69c0 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline] tlb_flush_mmu_free mm/mmu_gather.c:189 [inline] tlb_flush_mmu+0xc8/0x170 mm/mmu_gather.c:196 zap_pte_range mm/memory.c:1173 [inline] zap_pmd_range mm/memory.c:1222 [inline] zap_pud_range mm/memory.c:1251 [inline] zap_p4d_range mm/memory.c:1272 [inline] unmap_page_range+0x1d29/0x2620 mm/memory.c:1293 unmap_single_vma mm/memory.c:1338 [inline] unmap_vmas+0x355/0x4b0 mm/memory.c:1370 exit_mmap+0x2bc/0x520 mm/mmap.c:3191 __mmput+0x8e/0x2c0 kernel/fork.c:1101 exit_mm kernel/exit.c:538 [inline] do_exit+0xc08/0x2bc0 kernel/exit.c:848 do_group_exit+0x138/0x300 kernel/exit.c:984 get_signal+0xdb1/0x1440 kernel/signal.c:2738 do_signal+0xb0/0x11f0 arch/x86/kernel/signal.c:809 exit_to_usermode_loop+0xc0/0x1a0 arch/x86/entry/common.c:159 prepare_exit_to_usermode+0x199/0x200 arch/x86/entry/common.c:194 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ffab83b8da9 Code: Bad RIP value. RSP: 002b:00007ffab6a020e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000000 RBX: 00007ffab85d2088 RCX: 00007ffab83b8da9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007ffab85d2088 RBP: 00007ffab85d2080 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffab85d208c R13: 0000000000000000 R14: 00007ffe29821700 R15: 00007ffe298217e8 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 253 Comm: kworker/u4:2 Not tainted 5.4.289-syzkaller-00025-g49530c73f82d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__read_once_size include/linux/compiler.h:268 [inline] RIP: 0010:csd_lock_wait kernel/smp.c:109 [inline] RIP: 0010:smp_call_function_single+0x235/0x4a0 kernel/smp.c:311 Code: 0f 85 df 01 00 00 44 8b 74 24 58 44 89 f6 83 e6 01 31 ff e8 3d ab 0a 00 41 83 e6 01 75 0a e8 42 a8 0a 00 e9 f4 00 00 00 f3 90 <42> 0f b6 04 2b 84 c0 75 15 f7 44 24 58 01 00 00 00 0f 84 d6 00 00 RSP: 0018:ffff8881df55f8a0 EFLAGS: 00000293 RAX: ffffffff8159a251 RBX: 1ffff1103beabf1f RCX: ffff8881ecca8000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff8881df55f990 R08: ffffffff8159a223 R09: ffffed103edcb189 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103beabf18 R13: dffffc0000000000 R14: 0000000000000001 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7407a42000 CR3: 0000000005e0e000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: smp_call_function_many+0x6fe/0x9b0 kernel/smp.c:451 smp_call_function kernel/smp.c:509 [inline] on_each_cpu+0xa5/0x1a0 kernel/smp.c:616 text_poke_bp_batch+0x11a/0x2b0 arch/x86/kernel/alternative.c:1051 arch_jump_label_transform_apply+0x27/0x40 arch/x86/kernel/jump_label.c:167 static_key_enable_cpuslocked+0x12c/0x240 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate+0xb1/0x240 mm/kfence/core.c:624 process_one_work+0x765/0xd20 kernel/workqueue.c:2290 worker_thread+0xaef/0x1470 kernel/workqueue.c:2436 kthread+0x2da/0x360 kernel/kthread.c:288 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:354