INFO: task kcompactd0:31 blocked for more than 143 seconds. Not tainted 6.3.0-rc6-syzkaller-00034-ge62252bc55b6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kcompactd0 state:D stack:25176 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/4743: #0: ffff888027fae098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2177 2 locks held by syz-executor.2/21694: 1 lock held by syz-executor.4/21721: 2 locks held by syz-executor.3/21785: 1 lock held by syz-executor.2/21841: 2 locks held by syz-executor.5/21843: 1 lock held by syz-executor.1/21886: 1 lock held by syz-executor.0/21924: 2 locks held by kworker/u4:0/21958: 1 lock held by syz-executor.1/22029: 1 lock held by syz-executor.3/22107: 1 lock held by syz-executor.1/22160: 1 lock held by syz-executor.1/22263: 1 lock held by syz-executor.0/22488: 1 lock held by syz-executor.5/22587: 1 lock held by syz-executor.0/22646: 1 lock held by syz-executor.4/22651: 1 lock held by syz-executor.1/22667: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc6-syzkaller-00034-ge62252bc55b6 #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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 2877 Comm: kworker/u4:7 Not tainted 6.3.0-rc6-syzkaller-00034-ge62252bc55b6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 Workqueue: phy6 ieee80211_iface_work RIP: 0010:debug_check_no_locks_freed+0x2d9/0x4a0 kernel/locking/lockdep.c:6462 Code: 00 c6 44 1a 0b 00 65 48 8b 04 25 28 00 00 00 48 3b 84 24 a0 00 00 00 0f 85 c7 01 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f <5d> c3 48 8b 44 24 20 4e 8d 3c e0 48 c7 c7 40 84 ea 8a 49 89 d6 e8 RSP: 0018:ffffc9000beb7890 EFLAGS: 00000246 RAX: 27f3d9c4429a4300 RBX: ffff8880abf6f000 RCX: fffffffe7036f000 RDX: dffffc0000000000 RSI: 0000000000000400 RDI: ffff8880abf6f000 RBP: ffffc9000beb7890 R08: ffffffff813db00c R09: fffffbfff205b646 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888012441dc0 R13: ffff8880abf6f000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00a5b7770 CR3: 000000000cd30000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: slab_free_hook mm/slub.c:1753 [inline] slab_free_freelist_hook mm/slub.c:1807 [inline] slab_free mm/slub.c:3787 [inline] __kmem_cache_free+0x1f8/0x3c0 mm/slub.c:3800 ieee80211_ibss_rx_queued_mgmt+0x1af7/0x2cf0 ieee80211_iface_process_skb net/mac80211/iface.c:1583 [inline] ieee80211_iface_work+0x7bd/0xd00 net/mac80211/iface.c:1637 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