INFO: task kcompactd0:31 blocked for more than 143 seconds. Not tainted 6.3.0-rc6-syzkaller-00188-g3e7bb4f24617 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kcompactd0 state:D stack:24512 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 kcompactd_do_work mm/compaction.c:2872 [inline] kcompactd+0xc8c/0x1ba0 mm/compaction.c:2971 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 getty/4742: #0: ffff888028622098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2177 3 locks held by kworker/u4:7/5324: 1 lock held by syz-executor.5/2494: 5 locks held by syz-executor.5/2605: 1 lock held by syz-executor.5/2665: 1 lock held by syz-executor.5/3277: 1 lock held by syz-executor.5/3338: 1 lock held by syz-executor.5/3419: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc6-syzkaller-00188-g3e7bb4f24617 #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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5323 Comm: kworker/u4:4 Not tainted 6.3.0-rc6-syzkaller-00188-g3e7bb4f24617 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 Workqueue: phy36 ieee80211_iface_work RIP: 0010:lockdep_hardirqs_on_prepare+0x311/0x7a0 kernel/locking/lockdep.c:4322 Code: 48 ba 00 00 00 00 00 fc ff df eb ac 48 c7 c7 60 30 df 8c 4c 89 ee e8 ee 6e ff 02 48 ba 00 00 00 00 00 fc ff df e9 3d ff ff ff <48> 8b 44 24 10 48 8d 98 18 0a 00 00 48 89 d8 48 c1 e8 03 0f b6 04 RSP: 0018:ffffc900032bf800 EFLAGS: 00000046 RAX: 0000000000000003 RBX: ffff88801733a7f0 RCX: ffffffff816a7efa RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff902dc220 RBP: ffffc900032bf8a8 R08: dffffc0000000000 R09: fffffbfff205b845 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801733a810 R13: 0000000000000003 R14: ffff88801733a770 R15: 1ffff11002e674ee FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd292315d82 CR3: 00000000291a3000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_hardirqs_on+0x28/0x40 kernel/trace/trace_preemptirq.c:61 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] _raw_spin_unlock_irqrestore+0x8f/0x140 kernel/locking/spinlock.c:194 debug_timer_assert_init kernel/time/timer.c:792 [inline] debug_assert_init kernel/time/timer.c:837 [inline] __mod_timer+0x10d/0xf40 kernel/time/timer.c:1020 ieee80211_sta_merge_ibss net/mac80211/ibss.c:1296 [inline] ieee80211_ibss_work+0x48f/0x1490 net/mac80211/ibss.c:1708 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2390 worker_thread+0xa63/0x1210 kernel/workqueue.c:2537 kthread+0x270/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308