INFO: task kcompactd0:31 blocked for more than 143 seconds. Not tainted 6.4.0-rc7-syzkaller-00204-g61dabacdad4e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kcompactd0 state:D stack:26504 pid:31 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 io_schedule+0xbe/0x130 kernel/sched/core.c:8979 folio_wait_bit_common+0x394/0x9b0 mm/filemap.c:1301 folio_lock include/linux/pagemap.h:955 [inline] migrate_folio_unmap mm/migrate.c:1159 [inline] migrate_pages_batch+0x1456/0x3020 mm/migrate.c:1674 migrate_pages_sync mm/migrate.c:1889 [inline] migrate_pages+0x1e74/0x27d0 mm/migrate.c:1970 compact_zone+0x1c98/0x39a0 mm/compaction.c:2439 proactive_compact_node+0x103/0x1b0 mm/compaction.c:2702 kcompactd+0x837/0xcc0 mm/compaction.c:3003 kthread+0x344/0x440 kernel/kthread.c:379 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/13: #0: ffffffff8c7984f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518 1 lock held by rcu_tasks_trace/14: #0: ffffffff8c7981f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518 1 lock held by khungtaskd/28: #0: ffffffff8c799100 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6559 2 locks held by getty/4751: #0: ffff888027d4c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015802f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2176 2 locks held by syz-executor.2/5049: #0: ffff8880899f40e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xa9/0xd0 fs/super.c:361 #1: ffffffff8c7a4578 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #1: ffffffff8c7a4578 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x64a/0x770 kernel/rcu/tree_exp.h:992 2 locks held by kworker/u4:7/5691: #0: ffff8880b983c3d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:566 [inline] #0: ffff8880b983c3d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x90/0x120 kernel/sched/core.c:551 #1: ffffc90014957db0 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2383 2 locks held by kworker/u4:16/23740: #0: ffff8880b983c3d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:566 [inline] #0: ffff8880b983c3d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x90/0x120 kernel/sched/core.c:551 #1: ffff8880b9928848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2de/0x950 kernel/sched/psi.c:996 2 locks held by kworker/1:15/15378: #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2379 #1: ffffc90017557db0 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2383 1 lock held by syz-executor.3/29774: 2 locks held by syz-executor.3/32764: 4 locks held by syz-executor.3/32767: #0: ffffffff8d27b988 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x63/0x4a0 drivers/char/misc.c:129 #1: ffffffff8c660f08 (system_transition_mutex){+.+.}-{3:3}, at: lock_system_sleep+0x8b/0xa0 kernel/power/main.c:29 #2: ffffffff8c69e570 ((pm_chain_head).rwsem){++++}-{3:3}, at: blocking_notifier_call_chain_robust kernel/notifier.c:352 [inline] #2: ffffffff8c69e570 ((pm_chain_head).rwsem){++++}-{3:3}, at: blocking_notifier_call_chain_robust+0xa8/0x160 kernel/notifier.c:341 #3: ffffffff8c7a4440 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x6a0 kernel/rcu/tree.c:3961 2 locks held by syz-executor.1/308: #0: ffff888087da5010 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline] #0: ffff888087da5010 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x290 net/socket.c:652 #1: ffffffff8c7a4578 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #1: ffffffff8c7a4578 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3e8/0x770 kernel/rcu/tree_exp.h:992 1 lock held by syz-executor.0/311: 1 lock held by syz-executor.0/313: #0: ffff88814c02e460 (sb_writers#4){.+.+}-{0:0}, at: ksys_pwrite64 fs/read_write.c:699 [inline] #0: ffff88814c02e460 (sb_writers#4){.+.+}-{0:0}, at: __do_sys_pwrite64 fs/read_write.c:709 [inline] #0: ffff88814c02e460 (sb_writers#4){.+.+}-{0:0}, at: __se_sys_pwrite64 fs/read_write.c:706 [inline] #0: ffff88814c02e460 (sb_writers#4){.+.+}-{0:0}, at: __x64_sys_pwrite64+0x1fb/0x250 fs/read_write.c:706 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc7-syzkaller-00204-g61dabacdad4e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x2a4/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+0xe16/0x1090 kernel/hung_task.c:379 kthread+0x344/0x440 kernel/kthread.c:379 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: 29774 Comm: syz-executor.3 Not tainted 6.4.0-rc7-syzkaller-00204-g61dabacdad4e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:__sanitizer_cov_trace_pc+0x50/0x70 kernel/kcov.c:212 Code: 0e 85 c9 74 35 8b 82 0c 16 00 00 85 c0 74 2b 8b 82 e8 15 00 00 83 f8 02 75 20 48 8b 8a f0 15 00 00 8b 92 ec 15 00 00 48 8b 01 <48> 83 c0 01 48 39 c2 76 07 48 89 01 48 89 34 c1 c3 66 66 2e 0f 1f RSP: 0018:ffffc9000380fa30 EFLAGS: 00000246 RAX: 000000000003ffff RBX: 0000000000000000 RCX: ffffc9000d568000 RDX: 0000000000040000 RSI: ffffffff82add055 RDI: 0000000000000001 RBP: ffff888086192810 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88800fd3c230 R13: ffff888086192800 R14: dffffc0000000000 R15: ffff88800fd3c280 FS: 00007f56c695d700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00084efa0 CR3: 000000008d32f000 CR4: 0000000000350ee0 Call Trace: ntfs_lookup_inode_by_name+0x17a5/0x2f00 fs/ntfs/dir.c:452 check_windows_hibernation_status fs/ntfs/super.c:1282 [inline] load_system_files fs/ntfs/super.c:1997 [inline] ntfs_fill_super+0x46a6/0x93f0 fs/ntfs/super.c:2900 mount_bdev+0x358/0x420 fs/super.c:1380 legacy_get_tree+0x109/0x220 fs/fs_context.c:610 vfs_get_tree+0x8d/0x350 fs/super.c:1510 do_new_mount fs/namespace.c:3039 [inline] path_mount+0x134b/0x1e40 fs/namespace.c:3369 do_mount fs/namespace.c:3382 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __x64_sys_mount+0x283/0x300 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f56c5c8d8ba Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 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:00007f56c695cf88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000001ec8f RCX: 00007f56c5c8d8ba RDX: 0000000020000100 RSI: 000000002001ecc0 RDI: 00007f56c695cfe0 RBP: 00007f56c695d020 R08: 00007f56c695d020 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000100 R13: 000000002001ecc0 R14: 00007f56c695cfe0 R15: 00000000200003c0