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:25936 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:747 [inline] __unmap_and_move+0x9d9/0xda0 mm/migrate.c:986 unmap_and_move+0x321/0xd70 mm/migrate.c:1210 migrate_pages+0x562/0x16f0 mm/migrate.c:1487 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: 2 locks held by systemd/1: #0: ffff8881408d7338 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:838 [inline] #0: ffff8881408d7338 (mapping.invalidate_lock){++++}-{3:3}, at: page_cache_ra_unbounded+0x1b8/0x9f0 mm/readahead.c:194 #1: ffffffff8cbe1a28 (pcpu_drain_mutex){+.+.}-{3:3}, at: __drain_all_pages+0x58/0x690 mm/page_alloc.c:3181 1 lock held by khungtaskd/27: #0: ffffffff8cb1d900 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by kswapd0/97: 1 lock held by kswapd1/98: 2 locks held by kworker/u4:4/993: #0: ffff8880b9a395d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:478 #1: ffff8880b9a27888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x46c/0x780 kernel/sched/psi.c:871 2 locks held by systemd-journal/2964: 2 locks held by systemd-udevd/2971: 1 lock held by systemd-timesyn/3058: #0: ffff88801ed1cb58 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:838 [inline] #0: ffff88801ed1cb58 (mapping.invalidate_lock){++++}-{3:3}, at: page_cache_ra_unbounded+0x1b8/0x9f0 mm/readahead.c:194 2 locks held by cron/6214: 1 lock held by in:imklog/6222: 3 locks held by rs:main Q:Reg/6223: 2 locks held by syz-fuzzer/6526: 3 locks held by syz-fuzzer/6529: 3 locks held by kworker/0:7/8507: 1 lock held by syz-executor.3/31134: 3 locks held by kworker/1:4/31158: ============================================= 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: 44 Comm: kworker/u4:2 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:__default_send_IPI_dest_field+0x83/0xe0 arch/x86/kernel/apic/ipi.c:173 Code: 00 66 0f 1f 44 00 00 f7 04 25 00 c3 5f ff 00 10 00 00 75 d3 41 c1 e7 18 44 89 3c 25 10 c3 5f ff 44 09 f3 89 1c 25 00 c3 5f ff <5b> 41 5e 41 5f 5d c3 48 c7 c0 e0 8a 5a 8c 48 c1 e8 03 48 bd 00 00 RSP: 0018:ffffc9000114f718 EFLAGS: 00000002 RAX: ffffffff818aec00 RBX: 00000000000008fb RCX: ffff888012105700 RDX: 0000000000000800 RSI: 00000000000000fb RDI: 0000000000000002 RBP: fffffbffffebf860 R08: ffffffff818aec50 R09: ffffffff84395940 R10: 0000000000000009 R11: ffff888012105700 R12: 1ffff92000229eec R13: dffffc0000000000 R14: 0000000000000800 R15: 0000000002000000 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000007c8b00 CR3: 000000000c88e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: _flat_send_IPI_mask+0xed/0x190 arch/x86/kernel/apic/apic_flat_64.c:56 smp_call_function_many_cond+0x835/0xda0 kernel/smp.c:949 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1135 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1112 [inline] text_poke_bp_batch+0x66c/0x940 arch/x86/kernel/alternative.c:1350 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_disable_cpuslocked+0xcc/0x1b0 kernel/jump_label.c:207 static_key_disable+0x16/0x20 kernel/jump_label.c:215 toggle_allocation_gate+0x3c8/0x460 mm/kfence/core.c:746 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), 1 bytes skipped: 0: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 6: f7 04 25 00 c3 5f ff testl $0x1000,0xffffffffff5fc300 d: 00 10 00 00 11: 75 d3 jne 0xffffffe6 13: 41 c1 e7 18 shl $0x18,%r15d 17: 44 89 3c 25 10 c3 5f mov %r15d,0xffffffffff5fc310 1e: ff 1f: 44 09 f3 or %r14d,%ebx 22: 89 1c 25 00 c3 5f ff mov %ebx,0xffffffffff5fc300 * 29: 5b pop %rbx <-- trapping instruction 2a: 41 5e pop %r14 2c: 41 5f pop %r15 2e: 5d pop %rbp 2f: c3 retq 30: 48 c7 c0 e0 8a 5a 8c mov $0xffffffff8c5a8ae0,%rax 37: 48 c1 e8 03 shr $0x3,%rax 3b: 48 rex.W 3c: bd .byte 0xbd