INFO: task kcompactd0:32 blocked for more than 143 seconds.
Not tainted 6.0.0-rc7-syzkaller-00239-gb357fd1c2afc #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kcompactd0 state:D stack:25120 pid: 32 ppid: 2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5182 [inline]
__schedule+0x957/0xe20 kernel/sched/core.c:6494
schedule+0xcb/0x190 kernel/sched/core.c:6570
io_schedule+0x83/0x100 kernel/sched/core.c:8714
folio_wait_bit_common+0x98a/0x14b0 mm/filemap.c:1298
__unmap_and_move+0x368/0x12b0 mm/migrate.c:1009
unmap_and_move+0x349/0xe10 mm/migrate.c:1162
migrate_pages+0x4c5/0xef0 mm/migrate.c:1441
compact_zone+0x28c9/0x37e0 mm/compaction.c:2416
kcompactd_do_work mm/compaction.c:2854 [inline]
kcompactd+0x962/0x2930 mm/compaction.c:2956
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8cd20a70 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8cd21270 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507
1 lock held by khungtaskd/29:
#0: ffffffff8cd208a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3290:
#0: ffff88814a8e4098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc90002d232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2177
1 lock held by syz-executor.2/10476:
1 lock held by syz-executor.0/10516:
1 lock held by syz-executor.2/10551:
1 lock held by syz-executor.2/10611:
1 lock held by syz-executor.2/10690:
1 lock held by syz-executor.2/10786:
3 locks held by kworker/u4:1/10808:
1 lock held by syz-executor.2/10837:
1 lock held by syz-executor.2/10898:
1 lock held by syz-executor.2/10964:
1 lock held by syz-executor.2/10970:
1 lock held by syz-executor.2/11034:
1 lock held by syz-executor.2/11154:
1 lock held by syz-executor.2/11202:
3 locks held by syz-executor.2/11331:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.0.0-rc7-syzkaller-00239-gb357fd1c2afc #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
nmi_cpu_backtrace+0x47c/0x4b0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x169/0x280 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
watchdog+0xcd5/0xd20 kernel/hung_task.c:369
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 11331 Comm: syz-executor.2 Not tainted 6.0.0-rc7-syzkaller-00239-gb357fd1c2afc #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
RIP: 0010:lock_is_held_type+0x156/0x190 kernel/locking/lockdep.c:5714
Code: 02 00 00 75 46 41 f7 c4 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 48 3b 44 24 08 75 3c 89 e8 48 83 c4 10 5b 41 5c 41 5d <41> 5e 41 5f 5d c3 0f 0b 48 c7 c7 40 77 ad 8a e8 e6 13 00 00 65 c7
RSP: 0018:ffffc9000366ec80 EFLAGS: 00000082
RAX: 0000000000000000 RBX: 1ffff920006cdd94 RCX: 0000000080000002
RDX: 0000000000000000 RSI: ffffffff8aad88c0 RDI: ffffffff8b0a66c0
RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1c4b616
R10: fffffbfff1c4b616 R11: 1ffffffff1c4b615 R12: dffffc0000000000
R13: 1ffff920006cddb8 R14: 00000000ffffffff R15: ffffffff8cd20820
FS: 0000555556a07400(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7ecd725260 CR3: 000000014ac97000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_is_held include/linux/lockdep.h:283 [inline]
rcu_read_lock_sched_held+0x89/0x130 kernel/rcu/update.c:125
trace_lock_acquire+0x7f/0x1d0 include/trace/events/lock.h:24
lock_acquire+0xa5/0x400 kernel/locking/lockdep.c:5637
rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:280
rcu_read_lock include/linux/rcupdate.h:706 [inline]
folio_evictable+0x1f/0x2d0 mm/internal.h:135
move_pages_to_lru+0x301/0x2260 mm/vmscan.c:2334
shrink_inactive_list+0x5e6/0xc10 mm/vmscan.c:2450
shrink_list mm/vmscan.c:2674 [inline]
shrink_lruvec+0x489/0xc80 mm/vmscan.c:2991
shrink_node_memcgs+0x360/0x770 mm/vmscan.c:3180
shrink_node+0xe9f/0x2040 mm/vmscan.c:3304
shrink_zones+0x4fb/0xc40 mm/vmscan.c:3542
do_try_to_free_pages+0x215/0xcd0 mm/vmscan.c:3601
try_to_free_mem_cgroup_pages+0x3cb/0x6d0 mm/vmscan.c:3916
memory_high_write+0x24f/0x3c0 mm/memcontrol.c:6309
cgroup_file_write+0x2ab/0x780 kernel/cgroup/cgroup.c:3962
kernfs_fop_write_iter+0x3ac/0x500 fs/kernfs/file.c:354
call_write_iter include/linux/fs.h:2187 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x7b5/0xbb0 fs/read_write.c:584
ksys_write+0x19b/0x2c0 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7feb2783c24f
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48
RSP: 002b:00007ffd0c4dc240 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000009 RCX: 00007feb2783c24f
RDX: 0000000000000009 RSI: 00007ffd0c4dc290 RDI: 0000000000000003
RBP: 0000000000000003 R08: 0000000000000000 R09: 00007ffd0c4dc1e0
R10: 0000000000000000 R11: 0000000000000293 R12: 00007ffd0c4dc830
R13: 00007ffd0c4dc290 R14: 0000000000000000 R15: 00007ffd0c4dc830