watchdog: BUG: soft lockup - CPU#0 stuck for 266s! [syz.7.1221:10591] Modules linked in: irq event stamp: 82547 hardirqs last enabled at (82546): [] irqentry_exit+0x3b/0x90 kernel/entry/common.c:357 hardirqs last disabled at (82547): [] sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1049 softirqs last enabled at (0): [] copy_process+0x21f5/0x8cb0 kernel/fork.c:2320 softirqs last disabled at (160): [] spin_lock_bh include/linux/spinlock.h:356 [inline] softirqs last disabled at (160): [] sock_devmem_dontneed+0x2db/0x770 net/core/sock.c:1086 CPU: 0 UID: 0 PID: 10591 Comm: syz.7.1221 Not tainted 6.12.0-rc7-syzkaller-00012-g3022e9d00ebe #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:write_comp_data+0x42/0x90 kernel/kcov.c:246 Code: a9 00 01 ff 00 74 1d f6 c4 01 74 67 a9 00 00 0f 00 75 60 a9 00 00 f0 00 75 59 8b 82 1c 16 00 00 85 c0 74 4f 8b 82 f8 15 00 00 <83> f8 03 75 44 48 8b 82 00 16 00 00 8b 92 fc 15 00 00 48 8b 38 48 RSP: 0018:ffffc9001957f9d8 EFLAGS: 00000246 RAX: 0000000000000002 RBX: 0000000070756f72 RCX: ffffffff88f028cb RDX: ffff888061791e00 RSI: 0000000070756f72 RDI: 0000000000000004 RBP: ffffc9001957fb50 R08: 0000000000000004 R09: 0000000070756f72 R10: 000000002a83c2c1 R11: 0000000000000000 R12: 000000002a83c2c1 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007fbfa9bd56c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2ce902 CR3: 0000000033d54000 CR4: 0000000000350ef0 Call Trace: sock_devmem_dontneed+0x47b/0x770 net/core/sock.c:1088 sk_setsockopt+0x326/0x3d50 net/core/sock.c:1280 do_sock_setsockopt+0x3f4/0x480 net/socket.c:2330 __sys_setsockopt+0x1a4/0x270 net/socket.c:2357 __do_sys_setsockopt net/socket.c:2366 [inline] __se_sys_setsockopt net/socket.c:2363 [inline] __x64_sys_setsockopt+0xbd/0x160 net/socket.c:2363 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbfa8d7e719 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fbfa9bd5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007fbfa8f35f80 RCX: 00007fbfa8d7e719 RDX: 0000000000000050 RSI: 0000000000000001 RDI: 0000000000000003 RBP: 00007fbfa8df1616 R08: 0000000000000010 R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fbfa8f35f80 R15: 00007ffee42764b8 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 10650 Comm: kworker/u8:17 Not tainted 6.12.0-rc7-syzkaller-00012-g3022e9d00ebe #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x45d/0x1300 kernel/smp.c:884 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 8a 1b 0c 00 f3 90 41 0f b6 04 24 <40> 38 c5 7c 08 84 c0 0f 85 a4 0c 00 00 8b 43 08 31 ff 83 e0 01 41 RSP: 0018:ffffc900033df998 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b8646900 RCX: ffffffff81815eec RDX: ffff8880316c8000 RSI: ffffffff81815ec6 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffed10170c8d21 R13: 0000000000000001 R14: ffff8880b8646908 R15: ffff8880b8740100 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055df045abdd8 CR3: 000000000df7c000 CR4: 0000000000350ef0 Call Trace: on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1051 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2085 [inline] text_poke_bp_batch+0x22b/0x760 arch/x86/kernel/alternative.c:2295 text_poke_flush arch/x86/kernel/alternative.c:2486 [inline] text_poke_flush arch/x86/kernel/alternative.c:2483 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2493 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x1d7/0x400 kernel/jump_label.c:920 static_key_enable_cpuslocked+0x1b7/0x270 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate mm/kfence/core.c:849 [inline] toggle_allocation_gate+0xfc/0x260 mm/kfence/core.c:841 process_one_work+0x9c8/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c4/0x3a0 kernel/kthread.c:389 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244