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:28032 pid: 30 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 io_schedule+0xee/0x170 kernel/sched/core.c:8368 folio_wait_bit_common+0x4f2/0xa60 mm/filemap.c:1356 lock_page include/linux/pagemap.h:697 [inline] __unmap_and_move mm/migrate.c:986 [inline] unmap_and_move mm/migrate.c:1210 [inline] migrate_pages+0xa5a/0x3810 mm/migrate.c:1487 compact_zone+0x1abb/0x3860 mm/compaction.c:2393 proactive_compact_node+0x103/0x1c0 mm/compaction.c:2647 kcompactd+0x5b4/0xf30 mm/compaction.c:2957 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8b983960 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 1 lock held by khugepaged/33: #0: ffffffff8ba68308 (lock#5){+.+.}-{3:3}, at: __lru_add_drain_all+0x65/0x760 mm/swap.c:788 1 lock held by kswapd0/98: 1 lock held by kswapd1/99: 1 lock held by systemd-journal/2929: 2 locks held by systemd-udevd/2936: 1 lock held by cron/6164: 1 lock held by in:imklog/6168: 2 locks held by syz-fuzzer/5554: 3 locks held by kworker/0:9/8473: #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2269 #1: ffffc90018be7db0 ((work_completion)(&(&krcp->page_cache_work)->work)){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273 #2: ffffffff8baa7cc8 (pcpu_drain_mutex){+.+.}-{3:3}, at: __drain_all_pages+0x4f/0x6c0 mm/page_alloc.c:3189 3 locks held by kworker/1:17/9383: 2 locks held by agetty/17279: #0: ffff88808581a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc900029b82e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113 1 lock held by syz-executor.2/7293: 2 locks held by kworker/u4:1/7371: #0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline] #0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline] #0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2269 #1: ffffc90005707db0 ((kfence_timer).work){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273 ============================================= NMI backtrace for cpu 0 CPU: 0 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+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1ae/0x220 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+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 7371 Comm: kworker/u4:1 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:memory_is_nonzero mm/kasan/generic.c:101 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x63/0x180 mm/kasan/generic.c:189 Code: 00 00 00 00 00 fc ff df 4d 89 ca 48 c1 ed 03 49 c1 ea 03 48 01 c5 49 01 c2 48 89 e8 49 8d 5a 01 48 89 da 48 29 ea 48 83 fa 10 <7e> 63 41 89 eb 41 83 e3 07 75 74 4c 8d 5a 07 48 85 d2 4c 0f 49 da RSP: 0018:ffffc90005707b08 EFLAGS: 00000083 RAX: fffffbfff1adee02 RBX: fffffbfff1adee03 RCX: ffffffff8163df6f RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffff8d6f7010 RBP: fffffbfff1adee02 R08: 0000000000000000 R09: ffffffff8d6f7017 R10: fffffbfff1adee02 R11: 0000000000000001 R12: 0000000000000001 R13: ffffffff8d6fa42c R14: ffff888014d80e00 R15: ffff888069c89d00 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0d3d5e6ef8 CR3: 000000000b68e000 CR4: 0000000000350ee0 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] cpumask_test_cpu include/linux/cpumask.h:344 [inline] cpu_online include/linux/cpumask.h:895 [inline] trace_rcu_utilization+0x2f/0x1b0 include/trace/events/rcu.h:27 rcu_note_context_switch+0x6f/0x17f0 kernel/rcu/tree_plugin.h:314 __schedule+0x238/0x4940 kernel/sched/core.c:6147 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:6416 __cond_resched+0x13/0x20 kernel/sched/core.c:8129 _cond_resched include/linux/sched.h:2017 [inline] process_one_work+0xaf4/0x1690 kernel/workqueue.c:2324 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 00 add %al,(%rax) 4: 00 fc add %bh,%ah 6: ff (bad) 7: df 4d 89 fisttps -0x77(%rbp) a: ca 48 c1 lret $0xc148 d: ed in (%dx),%eax e: 03 49 c1 add -0x3f(%rcx),%ecx 11: ea (bad) 12: 03 48 01 add 0x1(%rax),%ecx 15: c5 49 01 (bad) 18: c2 48 89 retq $0x8948 1b: e8 49 8d 5a 01 callq 0x15a8d69 20: 48 89 da mov %rbx,%rdx 23: 48 29 ea sub %rbp,%rdx 26: 48 83 fa 10 cmp $0x10,%rdx * 2a: 7e 63 jle 0x8f <-- trapping instruction 2c: 41 89 eb mov %ebp,%r11d 2f: 41 83 e3 07 and $0x7,%r11d 33: 75 74 jne 0xa9 35: 4c 8d 5a 07 lea 0x7(%rdx),%r11 39: 48 85 d2 test %rdx,%rdx 3c: 4c 0f 49 da cmovns %rdx,%r11