INFO: task kcompactd0:30 blocked for more than 143 seconds.
Not tainted 5.16.0-rc3-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kcompactd0 state:D stack:25080 pid: 30 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:796 [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 systemd/1:
3 locks held by kworker/u4:1/10:
1 lock held by khungtaskd/27:
#0: ffffffff8cb1db40 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
1 lock held by khugepaged/33:
1 lock held by kswapd0/98:
1 lock held by kswapd1/99:
1 lock held by systemd-journal/2956:
1 lock held by systemd-udevd/2973:
#0: ffff88807d625550 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:838 [inline]
#0: ffff88807d625550 (mapping.invalidate_lock){++++}-{3:3}, at: page_cache_ra_unbounded+0x1b8/0x9f0 mm/readahead.c:194
1 lock held by systemd-timesyn/3057:
#0: ffff88801baedf48 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:838 [inline]
#0: ffff88801baedf48 (mapping.invalidate_lock){++++}-{3:3}, at: page_cache_ra_unbounded+0x1b8/0x9f0 mm/readahead.c:194
1 lock held by in:imklog/6201:
1 lock held by cron/6197:
#0: ffff88801baedf48 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:838 [inline]
#0: ffff88801baedf48 (mapping.invalidate_lock){++++}-{3:3}, at: page_cache_ra_unbounded+0x1b8/0x9f0 mm/readahead.c:194
1 lock held by syz-fuzzer/6505:
1 lock held by syz-fuzzer/6506:
#0: ffff888070502d70 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:838 [inline]
#0: ffff888070502d70 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_fault+0x342/0x1630 mm/filemap.c:3081
5 locks held by kworker/0:6/8299:
3 locks held by kworker/u4:10/9207:
2 locks held by syz-executor.2/31600:
#0: ffff8880118aacc8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:838 [inline]
#0: ffff8880118aacc8 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0x1b8/0x9f0 mm/readahead.c:194
#1: ffffffff8cbe1c88 (pcpu_drain_mutex){+.+.}-{3:3}, at: __drain_all_pages+0x58/0x690 mm/page_alloc.c:3181
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc3-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: 8299 Comm: kworker/0:6 Not tainted 5.16.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events fill_page_cache_func
RIP: 0010:check_wait_context kernel/locking/lockdep.c:4727 [inline]
RIP: 0010:__lock_acquire+0x895/0x2b00 kernel/locking/lockdep.c:4977
Code: 00 1b 8e 8f 48 be 00 00 00 00 00 fc ff df 48 81 c3 b8 00 00 00 48 89 d8 48 c1 e8 03 0f b6 04 30 84 c0 0f 85 bf 00 00 00 8b 03 <8d> 48 ff 44 38 e1 45 0f b6 e4 44 0f 42 e0 49 ff c6 48 8b 44 24 48
RSP: 0000:ffffc9000beee8e0 EFLAGS: 00000046
RAX: 0000000000000000 RBX: ffffffff8f8f89b8 RCX: ffffffff8165f75f
RDX: 0000000000000000 RSI: dffffc0000000000 RDI: ffffffff8ff9af18
RBP: ffffc9000beeea30 R08: dffffc0000000000 R09: fffffbfff1ff35e4
R10: fffffbfff1ff35e4 R11: 0000000000000000 R12: 0000000000000004
R13: 0000000000000001 R14: 0000000000000001 R15: ffff8880847727a8
FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0682e6f938 CR3: 0000000070990000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5637
rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:268
rcu_read_lock include/linux/rcupdate.h:688 [inline]
page_evictable+0x23/0x290 mm/internal.h:123
move_pages_to_lru+0x384/0x15c0 mm/vmscan.c:2278
shrink_inactive_list+0x46f/0xad0 mm/vmscan.c:2397
shrink_list mm/vmscan.c:2621 [inline]
shrink_lruvec+0x49a/0xc90 mm/vmscan.c:2940
shrink_node_memcgs+0x358/0x700 mm/vmscan.c:3129
shrink_node+0xdc2/0x1ee0 mm/vmscan.c:3252
shrink_zones+0x482/0xb90 mm/vmscan.c:3485
do_try_to_free_pages+0x22a/0xce0 mm/vmscan.c:3541
try_to_free_pages+0x3e3/0xc60 mm/vmscan.c:3776
__perform_reclaim mm/page_alloc.c:4588 [inline]
__alloc_pages_direct_reclaim mm/page_alloc.c:4609 [inline]
__alloc_pages_slowpath+0x1197/0x2530 mm/page_alloc.c:5007
__alloc_pages+0x3d0/0x580 mm/page_alloc.c:5382
__get_free_pages+0x8/0x30 mm/page_alloc.c:5418
fill_page_cache_func+0xc4/0x220 kernel/rcu/tree.c:3412
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), 4 bytes skipped:
0: 48 be 00 00 00 00 00 movabs $0xdffffc0000000000,%rsi
7: fc ff df
a: 48 81 c3 b8 00 00 00 add $0xb8,%rbx
11: 48 89 d8 mov %rbx,%rax
14: 48 c1 e8 03 shr $0x3,%rax
18: 0f b6 04 30 movzbl (%rax,%rsi,1),%eax
1c: 84 c0 test %al,%al
1e: 0f 85 bf 00 00 00 jne 0xe3
24: 8b 03 mov (%rbx),%eax
* 26: 8d 48 ff lea -0x1(%rax),%ecx <-- trapping instruction
29: 44 38 e1 cmp %r12b,%cl
2c: 45 0f b6 e4 movzbl %r12b,%r12d
30: 44 0f 42 e0 cmovb %eax,%r12d
34: 49 ff c6 inc %r14
37: 48 8b 44 24 48 mov 0x48(%rsp),%rax