ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 watchdog: BUG: soft lockup - CPU#1 stuck for 225s! [kworker/u8:6:77] Modules linked in: irq event stamp: 351174 hardirqs last enabled at (351173): [] irqentry_exit+0x3b/0x90 kernel/entry/common.c:351 hardirqs last disabled at (351174): [] sysvec_apic_timer_interrupt+0xe/0xb0 arch/x86/kernel/apic/apic.c:1043 softirqs last enabled at (351160): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (351160): [] __do_softirq+0x596/0x8de kernel/softirq.c:583 softirqs last disabled at (351155): [] invoke_softirq kernel/softirq.c:428 [inline] softirqs last disabled at (351155): [] __irq_exit_rcu kernel/softirq.c:633 [inline] softirqs last disabled at (351155): [] irq_exit_rcu+0xb9/0x120 kernel/softirq.c:645 CPU: 1 PID: 77 Comm: kworker/u8:6 Not tainted 6.8.0-syzkaller-05562-g61387b8dcf1d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x4ec/0x1590 kernel/smp.c:855 Code: 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 f4 4c 89 f5 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 ab 05 0c 00 f3 90 41 0f b6 04 24 <40> 38 c5 7c 08 84 c0 0f 85 5d 0e 00 00 8b 43 08 31 ff 83 e0 01 41 RSP: 0018:ffffc9000213f910 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b94461e0 RCX: ffffffff8182349b RDX: ffff888017fb0000 RSI: ffffffff81823475 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000006 R12: ffffed1017288c3d R13: 0000000000000001 R14: ffff8880b94461e8 R15: ffff8880b953f680 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f663aef3208 CR3: 000000000d57a000 CR4: 0000000000350ef0 Call Trace: on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2086 [inline] text_poke_bp_batch+0x22b/0x760 arch/x86/kernel/alternative.c:2296 text_poke_flush arch/x86/kernel/alternative.c:2487 [inline] text_poke_flush arch/x86/kernel/alternative.c:2484 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2494 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x1d7/0x400 kernel/jump_label.c:829 static_key_enable_cpuslocked+0x1b7/0x270 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate mm/kfence/core.c:826 [inline] toggle_allocation_gate+0xf8/0x250 mm/kfence/core.c:818 process_one_work+0x9ac/0x1a60 kernel/workqueue.c:3254 process_scheduled_works kernel/workqueue.c:3335 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3416 kthread+0x2c4/0x3a0 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5070 Comm: sshd Not tainted 6.8.0-syzkaller-05562-g61387b8dcf1d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 RIP: 0010:hlock_class+0x56/0x130 kernel/locking/lockdep.c:228 Code: 20 66 81 e3 ff 1f 0f b7 db be 08 00 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 80 d1 d9 93 e8 52 76 7d 00 48 0f a3 1d ea 2f 6e 12 <73> 13 48 69 c3 c8 00 00 00 5b 48 05 a0 d5 d9 93 e9 f5 d3 66 09 48 RSP: 0018:ffffc90000007ad8 EFLAGS: 00000047 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff816ba18e RDX: fffffbfff27b3a31 RSI: 0000000000000008 RDI: ffffffff93d9d180 RBP: 0000000000000002 R08: 0000000000000000 R09: fffffbfff27b3a30 R10: ffffffff93d9d187 R11: ffffffff8b0f45c0 R12: 0000000000000002 R13: 0000000000000000 R14: ffff888022b30b28 R15: 0000000000000001 FS: 00007f685998d800(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000600 CR3: 00000000778f6000 CR4: 0000000000350ef0 Call Trace: check_wait_context kernel/locking/lockdep.c:4774 [inline] __lock_acquire+0x42f/0x3b30 kernel/locking/lockdep.c:5087 lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1b1/0x540 kernel/locking/lockdep.c:5719 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162 debug_object_deactivate+0x13c/0x370 lib/debugobjects.c:763 debug_hrtimer_deactivate kernel/time/hrtimer.c:428 [inline] debug_deactivate kernel/time/hrtimer.c:484 [inline] __run_hrtimer kernel/time/hrtimer.c:1660 [inline] __hrtimer_run_queues+0x47d/0xc20 kernel/time/hrtimer.c:1756 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1818 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x112/0x410 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_acquire+0x1f2/0x540 kernel/locking/lockdep.c:5722 Code: c1 05 ba f3 95 7e 83 f8 01 0f 85 c8 02 00 00 9c 58 f6 c4 02 0f 85 b3 02 00 00 48 85 ed 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc900043d7d28 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff9200087afa7 RCX: ffffffff816ba18e RDX: 0000000000000001 RSI: ffffffff8b0ccb80 RDI: ffffffff8b6e9920 RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff27b3a36 R10: ffffffff93d9d1b7 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: ffff88801e4af3a0 R15: 0000000000000000 __might_fault mm/memory.c:6080 [inline] __might_fault+0x11b/0x190 mm/memory.c:6073 _copy_to_user+0x2b/0xc0 lib/usercopy.c:36 copy_to_user include/linux/uaccess.h:191 [inline] __do_sys_rt_sigprocmask kernel/signal.c:3214 [inline] __se_sys_rt_sigprocmask kernel/signal.c:3191 [inline] __x64_sys_rt_sigprocmask+0x1e5/0x290 kernel/signal.c:3191 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd5/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f68594c2773 Code: 00 f3 a5 48 8d 74 24 88 48 b9 ff ff ff 7f fe ff ff ff 48 21 c8 48 89 44 24 88 41 ba 08 00 00 00 44 89 c7 b8 0e 00 00 00 0f 05 <45> 31 c0 3d 00 f0 ff ff 76 06 41 89 c0 41 f7 d8 44 89 c0 5a c3 41 RSP: 002b:00007ffd07e5cbe0 EFLAGS: 00000246 ORIG_RAX: 000000000000000e RAX: ffffffffffffffda RBX: 0000000000060000 RCX: 00007f68594c2773 RDX: 00007ffd07e5ccc8 RSI: 00007ffd07e5cc48 RDI: 0000000000000001 RBP: 0000555f44252570 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000008 R11: 0000000000000246 R12: 0000555f29a7faa4 R13: 0000000000000074 R14: 0000555f29a803e8 R15: 00007ffd07e5cc48