INFO: task kcompactd0:31 blocked for more than 143 seconds.
Not tainted 6.3.0-rc7-syzkaller-00139-gb7bc77e2f2c7 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kcompactd0 state:D stack:25112 pid:31 ppid:2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5307 [inline]
__schedule+0x173b/0x4630 kernel/sched/core.c:6625
schedule+0xc3/0x180 kernel/sched/core.c:6701
io_schedule+0x8c/0x100 kernel/sched/core.c:8887
folio_wait_bit_common+0x86c/0x12b0 mm/filemap.c:1301
migrate_folio_unmap mm/migrate.c:1165 [inline]
migrate_pages_batch+0x8d6/0x36e0 mm/migrate.c:1680
migrate_pages_sync mm/migrate.c:1892 [inline]
migrate_pages+0x2798/0x3500 mm/migrate.c:1973
compact_zone+0x2ac4/0x4040 mm/compaction.c:2420
proactive_compact_node mm/compaction.c:2685 [inline]
kcompactd+0x1039/0x1ba0 mm/compaction.c:2993
kthread+0x270/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8cf25570 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8cf25d70 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510
1 lock held by khungtaskd/28:
#0: ffffffff8cf253a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by kworker/0:2/897:
2 locks held by getty/4739:
#0: ffff88802b3b0098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900015802f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2177
1 lock held by syz-executor.2/17543:
1 lock held by syz-executor.2/17628:
1 lock held by syz-executor.2/17866:
1 lock held by syz-executor.2/17942:
1 lock held by syz-executor.2/18029:
1 lock held by syz-executor.2/19969:
1 lock held by syz-executor.2/20063:
1 lock held by syz-executor.2/20122:
3 locks held by kworker/u4:16/26036:
1 lock held by syz-executor.3/26369:
1 lock held by syz-executor.3/26448:
1 lock held by syz-executor.3/26518:
3 locks held by syz-executor.2/26598:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc7-syzkaller-00139-gb7bc77e2f2c7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x187/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xec2/0xf00 kernel/hung_task.c:379
kthread+0x270/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 26518 Comm: syz-executor.3 Not tainted 6.3.0-rc7-syzkaller-00139-gb7bc77e2f2c7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
RIP: 0010:folio_mapping+0x1e2/0x560 mm/util.c:774
Code: 31 ff e8 d1 05 c6 ff 48 21 dd 75 5b e8 87 01 c6 ff 49 83 c5 18 4c 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 <74> 08 4c 89 ef e8 04 c8 1b 00 49 8b 5d 00 31 c0 48 89 de 48 83 e6
RSP: 0018:ffffc9000340e478 EFLAGS: 00000046
RAX: 1ffffd400047c41b RBX: 0000000000000000 RCX: dffffc0000000000
RDX: ffffc9000efff000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: 00fff00000000001 R08: ffffffff81c47771 R09: fffff9400047c419
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffd400047c418
R13: ffffea00023e20d8 R14: ffffea00023e20c8 R15: 0000000000000000
FS: 00007f3d260a9700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe55534bd8 CR3: 000000008a606000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
folio_evictable+0xa4/0x2e0 mm/internal.h:156
move_folios_to_lru+0x329/0x2390 mm/vmscan.c:2423
shrink_inactive_list mm/vmscan.c:2539 [inline]
shrink_list mm/vmscan.c:2777 [inline]
shrink_lruvec+0x16fe/0x2d30 mm/vmscan.c:6250
shrink_node_memcgs mm/vmscan.c:6437 [inline]
shrink_node+0x10d8/0x2730 mm/vmscan.c:6473
shrink_zones mm/vmscan.c:6711 [inline]
do_try_to_free_pages+0x67e/0x1900 mm/vmscan.c:6773
try_to_free_mem_cgroup_pages+0x455/0xa50 mm/vmscan.c:7088
reclaim_high+0x1e5/0x270 mm/memcontrol.c:2403
mem_cgroup_handle_over_high+0x14a/0x2b0 mm/memcontrol.c:2588
try_charge_memcg+0x13b5/0x16d0 mm/memcontrol.c:2826
try_charge mm/memcontrol.c:2837 [inline]
charge_memcg+0x11a/0x3f0 mm/memcontrol.c:6960
__mem_cgroup_charge+0x27/0x80 mm/memcontrol.c:6981
mem_cgroup_charge include/linux/memcontrol.h:678 [inline]
__filemap_add_folio+0xe78/0x1b50 mm/filemap.c:857
filemap_add_folio+0x121/0x580 mm/filemap.c:939
page_cache_ra_unbounded+0x210/0x7c0 mm/readahead.c:251
page_cache_sync_readahead include/linux/pagemap.h:1214 [inline]
filemap_get_pages+0x49c/0x20c0 mm/filemap.c:2598
filemap_read+0x45a/0x1170 mm/filemap.c:2693
blkdev_read_iter+0x3e5/0x530 block/fops.c:606
do_iter_read+0x71a/0xc70 fs/read_write.c:796
vfs_readv fs/read_write.c:916 [inline]
do_readv+0x26f/0x460 fs/read_write.c:953
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f3d2528c169
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f3d260a9168 EFLAGS: 00000246 ORIG_RAX: 0000000000000013
RAX: ffffffffffffffda RBX: 00007f3d253abf80 RCX: 00007f3d2528c169
RDX: 0000000000000009 RSI: 0000000020001a40 RDI: 0000000000000003
RBP: 00007f3d252e7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffeb14e991f R14: 00007f3d260a9300 R15: 0000000000022000