INFO: task kcompactd0:29 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:23960 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: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 khungtaskd/26:
#0: ffffffff8cb1db40 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
1 lock held by kswapd1/99:
1 lock held by systemd-journal/2966:
1 lock held by in:imklog/6159:
#0: ffff8880196abc70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:994
1 lock held by syz-fuzzer/6499:
1 lock held by syz-fuzzer/6501:
2 locks held by kworker/u4:6/8890:
#0: ffff8880b9a395d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:478
#1: ffff8880b9b27888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x4c1/0x780 kernel/sched/psi.c:880
1 lock held by syz-executor.5/20172:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 26 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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 20172 Comm: syz-executor.5 Not tainted 5.16.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__list_del_entry include/linux/list.h:137 [inline]
RIP: 0010:list_del include/linux/list.h:148 [inline]
RIP: 0010:shrink_page_list+0x552/0x73e0 mm/vmscan.c:1498
Code: 74 08 48 89 df e8 8e 9e 1c 00 48 8b 1b 48 89 df e8 63 17 67 02 84 c0 48 89 5c 24 08 4d 89 fe 0f 84 83 00 00 00 e8 ae ca d0 ff <48> 8d 7b 08 48 89 f8 48 c1 e8 03 42 80 3c 38 00 74 05 e8 57 9e 1c
RSP: 0018:ffffc9000285e1e0 EFLAGS: 00000246
RAX: ffffffff81b3bd82 RBX: ffffea0002563848 RCX: 0000000000040000
RDX: ffffc90002fa5000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: ffffc9000285e590 R08: ffffffff81b3eb0a R09: fffff940004ac701
R10: fffff940004ac701 R11: 0000000000000000 R12: ffffea00025637c8
R13: ffffea0002563800 R14: dffffc0000000000 R15: dffffc0000000000
FS: 00007f54abadd700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000438fa5 CR3: 00000000ad476000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
shrink_inactive_list+0x457/0xad0 mm/vmscan.c:2394
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
folio_alloc+0x1a/0x50 mm/mempolicy.c:2201
filemap_alloc_folio+0x7e/0x1c0 mm/filemap.c:1036
__page_cache_alloc include/linux/pagemap.h:374 [inline]
page_cache_ra_unbounded+0x2f0/0x9f0 mm/readahead.c:215
do_sync_mmap_readahead+0x628/0x810 mm/filemap.c:2996
filemap_fault+0x3d5/0x1630 mm/filemap.c:3089
__do_fault+0x130/0x420 mm/memory.c:3849
do_read_fault+0x3be/0x650 mm/memory.c:4164
do_fault mm/memory.c:4293 [inline]
handle_pte_fault mm/memory.c:4551 [inline]
__handle_mm_fault mm/memory.c:4686 [inline]
handle_mm_fault+0x1849/0x2560 mm/memory.c:4784
faultin_page mm/gup.c:939 [inline]
__get_user_pages+0x519/0x11f0 mm/gup.c:1160
populate_vma_page_range+0x217/0x2a0 mm/gup.c:1492
__mm_populate+0x2ea/0x4d0 mm/gup.c:1601
mm_populate include/linux/mm.h:2734 [inline]
vm_mmap_pgoff+0x241/0x2f0 mm/util.c:524
ksys_mmap_pgoff+0x499/0x6f0 mm/mmap.c:1623
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f54acb67ae9
Code: Unable to access opcode bytes at RIP 0x7f54acb67abf.
RSP: 002b:00007f54abadd188 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007f54acc7af60 RCX: 00007f54acb67ae9
RDX: 0000000001000002 RSI: 0000000000b36000 RDI: 0000000020000000
RBP: 00007f54acbc1ff7 R08: 0000000000000006 R09: 0000000000000000
R10: 0000000000028011 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffeb4f527ff R14: 00007f54abadd300 R15: 0000000000022000
----------------
Code disassembly (best guess):
0: 74 08 je 0xa
2: 48 89 df mov %rbx,%rdi
5: e8 8e 9e 1c 00 callq 0x1c9e98
a: 48 8b 1b mov (%rbx),%rbx
d: 48 89 df mov %rbx,%rdi
10: e8 63 17 67 02 callq 0x2671778
15: 84 c0 test %al,%al
17: 48 89 5c 24 08 mov %rbx,0x8(%rsp)
1c: 4d 89 fe mov %r15,%r14
1f: 0f 84 83 00 00 00 je 0xa8
25: e8 ae ca d0 ff callq 0xffd0cad8
* 2a: 48 8d 7b 08 lea 0x8(%rbx),%rdi <-- trapping instruction
2e: 48 89 f8 mov %rdi,%rax
31: 48 c1 e8 03 shr $0x3,%rax
35: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1)
3a: 74 05 je 0x41
3c: e8 .byte 0xe8
3d: 57 push %rdi
3e: 9e sahf
3f: 1c .byte 0x1c