INFO: task kcompactd0:31 blocked for more than 143 seconds. Not tainted 6.1.0-rc6-next-20221125-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kcompactd0 state:D stack:27216 pid:31 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0xb8a/0x5450 kernel/sched/core.c:6561 schedule+0xde/0x1b0 kernel/sched/core.c:6637 io_schedule+0xbe/0x130 kernel/sched/core.c:8817 folio_wait_bit_common+0x394/0x9b0 mm/filemap.c:1296 folio_lock include/linux/pagemap.h:938 [inline] __unmap_and_move mm/migrate.c:1045 [inline] unmap_and_move mm/migrate.c:1199 [inline] migrate_pages+0x2039/0x3e10 mm/migrate.c:1482 compact_zone+0x1c74/0x39f0 mm/compaction.c:2413 proactive_compact_node+0x103/0x1c0 mm/compaction.c:2665 kcompactd+0x7d5/0xdf0 mm/compaction.c:2975 kthread+0x2e8/0x3a0 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: ffffffff8c78e4d0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8c78e1d0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8c78f020 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x57/0x264 kernel/locking/lockdep.c:6494 2 locks held by getty/4975: #0: ffff88802b65a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900015862f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 2 locks held by kworker/u4:0/5328: #0: ffff8880b983b598 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:545 [inline] #0: ffff8880b983b598 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x90/0x120 kernel/sched/core.c:530 #1: ffffc900001c7da8 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 1 lock held by syz-executor.4/28758: 1 lock held by syz-executor.0/28848: 1 lock held by syz-executor.4/28910: 1 lock held by syz-executor.0/28993: 1 lock held by syz-executor.0/28994: 1 lock held by syz-executor.4/28999: 1 lock held by syz-executor.4/29115: 1 lock held by syz-executor.4/29117: 1 lock held by syz-executor.4/29185: 3 locks held by syz-executor.4/29269: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.0-rc6-next-20221125-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x24/0x18a lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x333/0x3c0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xc75/0xfc0 kernel/hung_task.c:377 kthread+0x2e8/0x3a0 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: 1163 Comm: kworker/u4:5 Not tainted 6.1.0-rc6-next-20221125-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: phy5 ieee80211_iface_work RIP: 0010:kasan_check_range+0x1a/0x190 mm/kasan/generic.c:188 Code: 5d 41 5c c3 66 66 2e 0f 1f 84 00 00 00 00 00 90 66 0f 1f 00 48 85 f6 0f 84 3c 01 00 00 49 89 f9 41 54 44 0f b6 c2 49 01 f1 55 <53> 0f 82 18 01 00 00 48 b8 ff ff ff ff ff 7f ff ff 48 39 c7 0f 86 RSP: 0018:ffffc90005517340 EFLAGS: 00000096 RAX: 0000000000000017 RBX: 1ffff92000aa2e72 RCX: ffffffff8162f8ee RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff9131eaf8 RBP: 0000000000000004 R08: 0000000000000000 R09: ffffffff9131eb00 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888020cc27f0 R13: 0000000000000002 R14: 00000000000005f5 R15: ffff888020cc2810 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9e41773990 CR3: 000000000c48e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:72 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class kernel/locking/lockdep.c:227 [inline] mark_lock.part.0+0xee/0x1910 kernel/locking/lockdep.c:4612 mark_lock kernel/locking/lockdep.c:4598 [inline] mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:4236 __trace_hardirqs_on_caller kernel/locking/lockdep.c:4254 [inline] lockdep_hardirqs_on_prepare kernel/locking/lockdep.c:4321 [inline] lockdep_hardirqs_on_prepare+0x139/0x410 kernel/locking/lockdep.c:4273 trace_hardirqs_on+0x31/0x180 kernel/trace/trace_preemptirq.c:49 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] _raw_spin_unlock_irqrestore+0x54/0x70 kernel/locking/spinlock.c:194 cfg80211_update_known_bss+0x81e/0xa70 net/wireless/scan.c:1682 cfg80211_bss_update+0xf3/0x21b0 net/wireless/scan.c:1729 cfg80211_inform_single_bss_frame_data+0x761/0xfc0 net/wireless/scan.c:2498 cfg80211_inform_bss_frame_data+0xab/0xc80 net/wireless/scan.c:2531 ieee80211_bss_info_update+0x35c/0xaf0 net/mac80211/scan.c:190 ieee80211_rx_bss_info net/mac80211/ibss.c:1120 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1609 [inline] ieee80211_ibss_rx_queued_mgmt+0x19fc/0x3160 net/mac80211/ibss.c:1638 ieee80211_iface_process_skb net/mac80211/iface.c:1581 [inline] ieee80211_iface_work+0xa4b/0xd30 net/mac80211/iface.c:1635 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x669/0x1090 kernel/workqueue.c:2436 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308