RBP: 000000c012145e48 R08: 0000000000002000 R09: 0000000000000fff R10: 0000000000000007 R11: 0000000000000246 R12: 0000000003ffff00 R13: 0000000000003680 R14: 000000c01904c4e0 R15: 0000000000000003 watchdog: BUG: soft lockup - CPU#1 stuck for 266s! [syz-fuzzer:4872] Modules linked in: CPU: 1 PID: 4872 Comm: syz-fuzzer Tainted: G W 5.15.148-syzkaller-00718-g993bed180178 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 RIP: 0010:sync_mm_rss+0x63/0x2e0 mm/memory.c:172 Code: 08 e8 03 87 48 c1 e8 03 48 89 45 c0 4c 89 75 b0 4c 89 e0 4c 89 65 c8 49 c1 ec 03 48 b8 00 00 00 00 00 fc ff df 41 0f b6 04 04 <84> c0 0f 85 ad 00 00 00 43 8b 9c be 5c 05 00 00 31 ff 89 de e8 94 RSP: 0018:ffffc9000425f588 EFLAGS: 00000a03 RAX: 0000000000000000 RBX: ffff88811da0b480 RCX: ffff888119c5bb40 RDX: 0000000000000000 RSI: ffffc9000425f7c0 RDI: ffff88811da0b480 RBP: ffffc9000425f5d8 R08: ffffffff81a6b81a R09: ffffed102338b769 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1102338b813 R13: ffff88811da0b778 R14: ffff888119c5bb40 R15: 0000000000000000 FS: 000000c018f2fc90(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffff9fe80000 CR3: 000000011dff0000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: add_mm_rss_vec+0x65/0x240 mm/memory.c:558 zap_pte_range mm/memory.c:1488 [inline] zap_pmd_range mm/memory.c:1553 [inline] zap_pud_range mm/memory.c:1582 [inline] zap_p4d_range mm/memory.c:1603 [inline] unmap_page_range+0x16c0/0x1ca0 mm/memory.c:1624 unmap_single_vma mm/memory.c:1669 [inline] zap_page_range+0x576/0x770 mm/memory.c:1726 madvise_dontneed_single_vma mm/madvise.c:795 [inline] madvise_dontneed_free mm/madvise.c:850 [inline] madvise_vma_behavior mm/madvise.c:988 [inline] madvise_walk_vmas mm/madvise.c:1209 [inline] do_madvise+0x17e5/0x2bd0 mm/madvise.c:1387 __do_sys_madvise mm/madvise.c:1400 [inline] __se_sys_madvise mm/madvise.c:1398 [inline] __x64_sys_madvise+0xa8/0xc0 mm/madvise.c:1398 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x472437 Code: 10 5d c3 cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc 48 8b 7c 24 08 48 8b 74 24 10 8b 54 24 18 48 c7 c0 1c 00 00 00 0f 05 <89> 44 24 20 c3 cc cc cc cc 48 8b 7c 24 08 8b 74 24 10 8b 54 24 14 RSP: 002b:000000c012145e20 EFLAGS: 00000246 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 0000000000002000 RCX: 0000000000472437 RDX: 0000000000000004 RSI: 0000000000002000 RDI: 000000c01b790000 RBP: 000000c012145e48 R08: 0000000000002000 R09: 0000000000000fff R10: 0000000000000007 R11: 0000000000000246 R12: 0000000003ffff00 R13: 0000000000003680 R14: 000000c01904c4e0 R15: 0000000000000003 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 45 Comm: kworker/u4:2 Tainted: G W 5.15.148-syzkaller-00718-g993bed180178 #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:440 [inline] RIP: 0010:smp_call_function_many_cond+0x843/0x9b0 kernel/smp.c:969 Code: 45 8b 7d 00 44 89 fe 83 e6 01 31 ff e8 36 a8 0a 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 07 e8 71 a4 0a 00 eb 38 f3 90 <42> 0f b6 04 3b 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 55 a4 RSP: 0018:ffffc900002ef880 EFLAGS: 00000293 RAX: ffffffff81657d2b RBX: 1ffff1103ee276cd RCX: ffff8881057fbb40 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900002ef998 R08: ffffffff81657cfa R09: ffffed103ee07053 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffff8881f713b668 R14: ffff8881f7038280 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffff9fe80000 CR3: 000000000680f000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: on_each_cpu_cond_mask+0x40/0x80 kernel/smp.c:1135 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1196 [inline] text_poke_bp_batch+0x1c4/0x5d0 arch/x86/kernel/alternative.c:1387 text_poke_flush arch/x86/kernel/alternative.c:1555 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1562 arch_jump_label_transform_apply+0x15/0x30 arch/x86/kernel/jump_label.c:146 __jump_label_update+0x36a/0x380 kernel/jump_label.c:459 jump_label_update+0x3af/0x450 kernel/jump_label.c:830 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/0x460 mm/kfence/core.c:729 process_one_work+0x6bb/0xc10 kernel/workqueue.c:2325 worker_thread+0xad5/0x12a0 kernel/workqueue.c:2472 kthread+0x421/0x510 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298