INFO: task kcompactd0:31 blocked for more than 143 seconds. Not tainted 6.4.0-rc6-syzkaller-00037-gb6dad5178cea #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kcompactd0 state:D stack:26576 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: ffffffff8c7984b0 (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: ffffffff8c7981b0 (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: ffffffff8c7990c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6559 2 locks held by getty/4758: #0: ffff88802ce6a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2176 3 locks held by kworker/0:1/20338: #0: ffff888147240538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888147240538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888147240538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline] #0: ffff888147240538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline] #0: ffff888147240538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline] #0: ffff888147240538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2376 #1: ffffc90014a87db0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2380 #2: ffff888142f1f190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #2: ffff888142f1f190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c0/0x4e40 drivers/usb/core/hub.c:5739 1 lock held by syz-executor.3/20434: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc6-syzkaller-00037-gb6dad5178cea #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: 1013 Comm: kworker/u4:5 Not tainted 6.4.0-rc6-syzkaller-00037-gb6dad5178cea #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Workqueue: phy5 ieee80211_iface_work RIP: 0010:hlock_class kernel/locking/lockdep.c:228 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4776 [inline] RIP: 0010:__lock_acquire+0x751/0x5f30 kernel/locking/lockdep.c:5038 Code: 20 66 81 e3 ff 1f 0f b7 db be 08 00 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 00 9d 52 91 e8 87 92 71 00 48 0f a3 1d 9f 17 ed 0f <0f> 82 0a ff ff ff 48 c7 c0 00 84 df 91 48 c1 e8 03 42 0f b6 34 20 RSP: 0018:ffffc900057df7a8 EFLAGS: 00000047 RAX: 0000000000000001 RBX: 000000000000079f RCX: ffffffff81658559 RDX: fffffbfff22a53bf RSI: 0000000000000008 RDI: ffffffff91529df0 RBP: ffff888020924648 R08: 0000000000000000 R09: ffffffff91529df7 R10: fffffbfff22a53be R11: 0000000000094001 R12: dffffc0000000000 R13: ffff888020923b80 R14: 0000000000000004 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e326000 CR3: 000000002a746000 CR4: 0000000000350ee0 Call Trace: lock_acquire kernel/locking/lockdep.c:5705 [inline] lock_acquire+0x1b1/0x520 kernel/locking/lockdep.c:5670 __mutex_lock_common kernel/locking/mutex.c:603 [inline] __mutex_lock+0x12f/0x1350 kernel/locking/mutex.c:747 ieee80211_ibss_sta_expire net/mac80211/ibss.c:1256 [inline] ieee80211_sta_merge_ibss net/mac80211/ibss.c:1299 [inline] ieee80211_ibss_work+0x4a1/0x14a0 net/mac80211/ibss.c:1708 ieee80211_iface_work+0xbb9/0xd70 net/mac80211/iface.c:1670 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308