INFO: task kcompactd0:29 blocked for more than 143 seconds. Not tainted 5.16.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kcompactd0 state:D stack:25528 pid: 29 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 io_schedule+0x83/0x100 kernel/sched/core.c:8371 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/26: #0: ffffffff8cb1dd40 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by kswapd1/99: 1 lock held by systemd-journal/2961: 2 locks held by in:imklog/6213: 3 locks held by kworker/u4:8/6327: 1 lock held by syz-fuzzer/6520: 3 locks held by kworker/0:9/9140: 3 locks held by kworker/1:17/10864: 2 locks held by syz-executor.3/13254: #0: ffff888145e7c448 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:838 [inline] #0: ffff888145e7c448 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0x1b8/0x9f0 mm/readahead.c:194 #1: ffffffff8cbe1e88 (pcpu_drain_mutex){+.+.}-{3:3}, at: __drain_all_pages+0x58/0x690 mm/page_alloc.c:3181 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.16.0-rc2-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:111 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: 2470 Comm: kworker/u4:6 Not tainted 5.16.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: phy8 ieee80211_iface_work RIP: 0010:__kasan_check_write+0x2/0x10 mm/kasan/shadow.c:37 Code: fe 31 c0 e8 b8 6e 99 ff eb d3 cc cc cc cc cc cc cc cc cc cc cc cc cc cc 89 f6 48 8b 0c 24 31 d2 e9 63 ee ff ff 0f 1f 00 89 f6 <48> 8b 0c 24 ba 01 00 00 00 e9 50 ee ff ff 55 41 56 53 48 89 d3 41 RSP: 0018:ffffc9000b24f838 EFLAGS: 00000286 RAX: 0000000000000004 RBX: 0000000000000000 RCX: ffffffff90bb1903 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88802131ccd8 RBP: ffffc9000b24f910 R08: dffffc0000000000 R09: ffffed100426399c R10: ffffed100426399c R11: 0000000000000000 R12: ffff88802131ccd8 R13: ffff8880231f8000 R14: ffff8880231f8000 R15: 1ffff92001649f14 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004840e0 CR3: 000000007245d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read_write include/linux/instrumented.h:101 [inline] atomic_long_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:1667 [inline] __mutex_trylock_common+0x1d6/0x300 kernel/locking/mutex.c:126 __mutex_trylock kernel/locking/mutex.c:149 [inline] __mutex_lock_common+0x1e3/0x2590 kernel/locking/mutex.c:609 __mutex_lock kernel/locking/mutex.c:740 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:792 sdata_lock net/mac80211/ieee80211_i.h:1013 [inline] ieee80211_ibss_work+0xa0/0x14f0 net/mac80211/ibss.c:1681 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: 31 c0 xor %eax,%eax 2: e8 b8 6e 99 ff callq 0xff996ebf 7: eb d3 jmp 0xffffffdc 9: cc int3 a: cc int3 b: cc int3 c: cc int3 d: cc int3 e: cc int3 f: cc int3 10: cc int3 11: cc int3 12: cc int3 13: cc int3 14: cc int3 15: cc int3 16: cc int3 17: 89 f6 mov %esi,%esi 19: 48 8b 0c 24 mov (%rsp),%rcx 1d: 31 d2 xor %edx,%edx 1f: e9 63 ee ff ff jmpq 0xffffee87 24: 0f 1f 00 nopl (%rax) 27: 89 f6 mov %esi,%esi * 29: 48 8b 0c 24 mov (%rsp),%rcx <-- trapping instruction 2d: ba 01 00 00 00 mov $0x1,%edx 32: e9 50 ee ff ff jmpq 0xffffee87 37: 55 push %rbp 38: 41 56 push %r14 3a: 53 push %rbx 3b: 48 89 d3 mov %rdx,%rbx 3e: 41 rex.B