INFO: task kcompactd0:30 blocked for more than 143 seconds. Not tainted 5.15.145-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kcompactd0 state:D stack:25568 pid: 30 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 io_schedule+0x88/0x100 kernel/sched/core.c:8484 wait_on_page_bit_common+0xa13/0x1180 mm/filemap.c:1356 lock_page include/linux/pagemap.h:625 [inline] __unmap_and_move mm/migrate.c:990 [inline] unmap_and_move mm/migrate.c:1214 [inline] migrate_pages+0xbef/0x3470 mm/migrate.c:1491 compact_zone+0x1ddb/0x4330 mm/compaction.c:2424 kcompactd_do_work mm/compaction.c:2864 [inline] kcompactd+0x1239/0x2910 mm/compaction.c:2966 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91f220 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3257: #0: ffff8880245d9098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002bab2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 1 lock held by syz-executor.1/11227: 1 lock held by syz-executor.1/11232: 1 lock held by syz-executor.1/11315: 1 lock held by syz-executor.1/11363: 1 lock held by syz-executor.1/11364: 1 lock held by syz-executor.1/11476: 1 lock held by syz-executor.1/11555: 1 lock held by syz-executor.1/11598: 1 lock held by syz-executor.5/11639: 1 lock held by syz-executor.1/11659: 3 locks held by syz-executor.3/11686: 1 lock held by syz-executor.1/11754: 1 lock held by syz-executor.1/11755: 1 lock held by syz-executor.1/11846: 1 lock held by syz-executor.1/11851: 3 locks held by kworker/u4:7/11868: 1 lock held by syz-executor.1/11973: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.145-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 11686 Comm: syz-executor.3 Not tainted 5.15.145-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:check_preemption_disabled+0x14/0x110 lib/smp_processor_id.c:13 Code: 75 5b c3 cc cc cc 48 c7 c7 20 80 d8 8a 48 c7 c6 60 80 d8 8a eb 00 41 57 41 56 41 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 <48> 89 44 24 08 65 8b 1d c8 08 e6 75 65 8b 05 31 63 e6 75 a9 ff ff RSP: 0018:ffffc90004dae4e8 EFLAGS: 00000086 RAX: fa4d0e8d27171200 RBX: ffff88807966a000 RCX: dffffc0000000000 RDX: 0000000000000001 RSI: ffffffff8ad88060 RDI: ffffffff8ad88020 RBP: ffff88807c1e30c8 R08: ffffffff81afcd72 R09: fffff940003caca9 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000002 R13: ffff8880a470c000 R14: 0000000000000001 R15: 0000000000000002 FS: 00007f02268eb6c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fea91e81978 CR3: 0000000087c8e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: memcg_rstat_updated mm/memcontrol.c:661 [inline] __mod_memcg_lruvec_state+0xf9/0x1a0 mm/memcontrol.c:746 update_lru_size include/linux/mm_inline.h:33 [inline] add_page_to_lru_list include/linux/mm_inline.h:87 [inline] move_pages_to_lru+0xb28/0x1b90 mm/vmscan.c:2138 shrink_inactive_list mm/vmscan.c:2219 [inline] shrink_list mm/vmscan.c:2443 [inline] shrink_lruvec+0x14c6/0x2b90 mm/vmscan.c:2762 shrink_node_memcgs mm/vmscan.c:2949 [inline] shrink_node+0x10a7/0x25d0 mm/vmscan.c:3072 shrink_zones mm/vmscan.c:3275 [inline] do_try_to_free_pages+0x650/0x1670 mm/vmscan.c:3330 try_to_free_mem_cgroup_pages+0x44c/0xa60 mm/vmscan.c:3644 try_charge_memcg+0x4f4/0x1530 mm/memcontrol.c:2651 try_charge mm/memcontrol.c:2776 [inline] charge_memcg+0x10b/0x340 mm/memcontrol.c:6742 __mem_cgroup_charge+0x23/0x80 mm/memcontrol.c:6778 mem_cgroup_charge include/linux/memcontrol.h:700 [inline] __add_to_page_cache_locked+0xbdb/0x11a0 mm/filemap.c:892 add_to_page_cache_lru+0x1b3/0x560 mm/filemap.c:984 page_cache_ra_unbounded+0x403/0x930 mm/readahead.c:222 page_cache_async_readahead include/linux/pagemap.h:856 [inline] do_async_mmap_readahead mm/filemap.c:3014 [inline] filemap_fault+0x669/0x1470 mm/filemap.c:3070 __do_fault+0x139/0x340 mm/memory.c:3898 do_read_fault mm/memory.c:4234 [inline] do_fault mm/memory.c:4362 [inline] handle_pte_fault mm/memory.c:4621 [inline] __handle_mm_fault mm/memory.c:4756 [inline] handle_mm_fault+0x376f/0x5950 mm/memory.c:4854 faultin_page mm/gup.c:976 [inline] __get_user_pages+0x4ed/0x11d0 mm/gup.c:1197 populate_vma_page_range+0x215/0x2a0 mm/gup.c:1529 __mm_populate+0x2a5/0x4a0 mm/gup.c:1638 mm_populate include/linux/mm.h:2632 [inline] vm_mmap_pgoff+0x22b/0x2d0 mm/util.c:556 ksys_mmap_pgoff+0x559/0x780 mm/mmap.c:1624 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f0228369ce9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f02268eb0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f0228488f80 RCX: 00007f0228369ce9 RDX: 0000000001000002 RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007f02283b647a R08: 0000000000000004 R09: 0000000000000000 R10: 0000000000028011 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f0228488f80 R15: 00007ffc41634d38