INFO: task kcompactd0:30 blocked for more than 143 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kcompactd0 state:D stack:25968 pid: 30 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6250 schedule+0x12b/0x1f0 kernel/sched/core.c:6323 io_schedule+0x83/0x100 kernel/sched/core.c:8368 folio_wait_bit_common+0x8aa/0xe00 mm/filemap.c:1371 lock_page include/linux/pagemap.h:780 [inline] __unmap_and_move+0x9d9/0xda0 mm/migrate.c:980 unmap_and_move+0x321/0xd70 mm/migrate.c:1204 migrate_pages+0x562/0x16f0 mm/migrate.c:1481 compact_zone+0x2d23/0x3d10 mm/compaction.c:2399 kcompactd_do_work mm/compaction.c:2839 [inline] kcompactd+0x937/0x2920 mm/compaction.c:2941 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8cb1da00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by khugepaged/33: 1 lock held by kswapd1/99: 1 lock held by systemd-journal/2963: #0: ffffffff8cbe12a0 (fs_reclaim){+.+.}-{0:0}, at: __perform_reclaim mm/page_alloc.c:4585 [inline] #0: ffffffff8cbe12a0 (fs_reclaim){+.+.}-{0:0}, at: __alloc_pages_direct_reclaim mm/page_alloc.c:4609 [inline] #0: ffffffff8cbe12a0 (fs_reclaim){+.+.}-{0:0}, at: __alloc_pages_slowpath+0x10fe/0x2530 mm/page_alloc.c:5007 1 lock held by in:imklog/6212: 2 locks held by syz-fuzzer/6498: 2 locks held by syz-fuzzer/6501: 1 lock held by syz-executor.0/8641: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc82/0xcd0 kernel/hung_task.c:295 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 1114 Comm: kworker/u4:6 Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:native_write_cr3 arch/x86/include/asm/special_insns.h:54 [inline] RIP: 0010:write_cr3 arch/x86/include/asm/special_insns.h:174 [inline] RIP: 0010:load_new_mm_cr3 arch/x86/mm/tlb.c:292 [inline] RIP: 0010:switch_mm_irqs_off+0x4fa/0x940 arch/x86/mm/tlb.c:627 Code: 48 8b 3b e9 35 04 00 00 e8 53 f3 ff ff 41 0f b7 cc 81 f9 ff 0f 00 00 0f 83 d4 01 00 00 41 ff c4 41 0f b7 cc 48 09 c8 0f 22 d8 <48> c7 c6 ff ff ff ff e9 c2 00 00 00 48 8b 44 24 20 48 8d 58 50 48 RSP: 0018:ffffc900047c76c0 EFLAGS: 00000093 RAX: 0000000011f9a000 RBX: ffff888140778050 RCX: ffff88801ca8ba00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900047c77d0 R08: ffffffff813bae57 R09: ffffed10280ef085 R10: ffffed10280ef085 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff888140778000 R15: 000000000008c819 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f88d4046058 CR3: 0000000011f9a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: use_temporary_mm arch/x86/kernel/alternative.c:924 [inline] __text_poke+0x5bd/0x9f0 arch/x86/kernel/alternative.c:1021 text_poke arch/x86/kernel/alternative.c:1083 [inline] text_poke_bp_batch+0x6b0/0x940 arch/x86/kernel/alternative.c:1361 text_poke_flush arch/x86/kernel/alternative.c:1451 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1458 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x12d/0x250 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x460 mm/kfence/core.c:732 process_one_work+0x853/0x1140 kernel/workqueue.c:2298 worker_thread+0xac1/0x1320 kernel/workqueue.c:2445 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess): 0: 48 8b 3b mov (%rbx),%rdi 3: e9 35 04 00 00 jmpq 0x43d 8: e8 53 f3 ff ff callq 0xfffff360 d: 41 0f b7 cc movzwl %r12w,%ecx 11: 81 f9 ff 0f 00 00 cmp $0xfff,%ecx 17: 0f 83 d4 01 00 00 jae 0x1f1 1d: 41 ff c4 inc %r12d 20: 41 0f b7 cc movzwl %r12w,%ecx 24: 48 09 c8 or %rcx,%rax 27: 0f 22 d8 mov %rax,%cr3 * 2a: 48 c7 c6 ff ff ff ff mov $0xffffffffffffffff,%rsi <-- trapping instruction 31: e9 c2 00 00 00 jmpq 0xf8 36: 48 8b 44 24 20 mov 0x20(%rsp),%rax 3b: 48 8d 58 50 lea 0x50(%rax),%rbx 3f: 48 rex.W