INFO: task kcompactd0:32 blocked for more than 143 seconds. Not tainted 6.6.0-rc6-syzkaller-00029-g213f891525c2 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kcompactd0 state:D stack:26576 pid:32 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xee1/0x5a10 kernel/sched/core.c:6695 schedule+0xe7/0x1b0 kernel/sched/core.c:6771 io_schedule+0xbe/0x130 kernel/sched/core.c:9026 folio_wait_bit_common+0x3dc/0x9c0 mm/filemap.c:1301 folio_lock include/linux/pagemap.h:1042 [inline] migrate_folio_unmap mm/migrate.c:1158 [inline] migrate_pages_batch+0x113c/0x2c90 mm/migrate.c:1660 migrate_pages_sync mm/migrate.c:1847 [inline] migrate_pages+0x1d93/0x27c0 mm/migrate.c:1929 compact_zone+0x1dd2/0x4020 mm/compaction.c:2515 proactive_compact_node+0x118/0x1d0 mm/compaction.c:2780 kcompactd+0x710/0xd80 mm/compaction.c:3100 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8cbab2e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline] #0: ffffffff8cbab2e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline] #0: ffffffff8cbab2e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613 1 lock held by udevd/4489: 2 locks held by getty/4793: #0: ffff88814aa5a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002efe2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc5/0x1480 drivers/tty/n_tty.c:2206 2 locks held by kworker/u4:0/5977: #0: ffff8880b993c718 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:558 #1: ffff8880b9928888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:999 2 locks held by kworker/u4:2/27901: 1 lock held by syz-executor.4/32272: 1 lock held by syz-executor.5/32683: 2 locks held by syz-executor.3/737: 2 locks held by syz-executor.5/742: 2 locks held by syz-executor.2/746: 3 locks held by syz-executor.1/744: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc6-syzkaller-00029-g213f891525c2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x299/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xf87/0x1210 kernel/hung_task.c:379 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 737 Comm: syz-executor.3 Not tainted 6.6.0-rc6-syzkaller-00029-g213f891525c2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:deref_stack_reg arch/x86/kernel/unwind_orc.c:406 [inline] RIP: 0010:unwind_next_frame+0x1ac2/0x2390 arch/x86/kernel/unwind_orc.c:648 Code: 31 ff 41 89 c5 89 c6 e8 9c 64 4d 00 48 8d 4b 34 45 84 ed 0f 84 2e e9 ff ff e8 5a 69 4d 00 4c 89 e7 e8 22 da ff ff 48 8d 7b 40 <48> 89 fa 49 89 c4 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c RSP: 0018:ffffc90000007638 EFLAGS: 00000246 RAX: 0000000000000004 RBX: ffffc900000076b8 RCX: 0000000000000100 RDX: ffff88801734bb80 RSI: ffffffff813a3b19 RDI: ffffc900000076f8 RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 5050505000000011 R12: ffffc90000007de0 R13: 0000000000000001 R14: 0000000000000001 R15: 0000000000000001 FS: 00007f0e3bac36c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd6fe7dd800 CR3: 0000000083d83000 CR4: 0000000000350ef0 Call Trace: arch_stack_walk+0xfa/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x96/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x50 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 __kasan_slab_alloc+0x81/0x90 mm/kasan/common.c:328 kasan_slab_alloc include/linux/kasan.h:188 [inline] slab_post_alloc_hook mm/slab.h:762 [inline] slab_alloc_node mm/slub.c:3478 [inline] kmem_cache_alloc_node+0x180/0x3f0 mm/slub.c:3523 kmalloc_reserve+0x166/0x260 net/core/skbuff.c:559 __alloc_skb+0x12b/0x330 net/core/skbuff.c:650 __netdev_alloc_skb+0x72/0x3f0 net/core/skbuff.c:714 netdev_alloc_skb include/linux/skbuff.h:3225 [inline] dev_alloc_skb include/linux/skbuff.h:3238 [inline] __ieee80211_beacon_get+0xc28/0x16d0 net/mac80211/tx.c:5426 ieee80211_beacon_get_tim+0xa5/0x560 net/mac80211/tx.c:5548 ieee80211_beacon_get include/net/mac80211.h:5421 [inline] mac80211_hwsim_beacon_tx+0x3f6/0x730 drivers/net/wireless/virtual/mac80211_hwsim.c:2260 __iterate_interfaces+0x2d2/0x580 net/mac80211/util.c:766 ieee80211_iterate_active_interfaces_atomic+0x71/0x1b0 net/mac80211/util.c:802 mac80211_hwsim_beacon+0x101/0x200 drivers/net/wireless/virtual/mac80211_hwsim.c:2290 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x203/0xc10 kernel/time/hrtimer.c:1752 hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1769 __do_softirq+0x218/0x965 kernel/softirq.c:553 invoke_softirq kernel/softirq.c:427 [inline] __irq_exit_rcu kernel/softirq.c:632 [inline] irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1074 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:console_trylock_spinning kernel/printk/printk.c:1979 [inline] RIP: 0010:vprintk_emit+0x3aa/0x5f0 kernel/printk/printk.c:2306 Code: 00 4d 85 e4 0f 85 e4 01 00 00 e8 21 5e 1c 00 9c 5d 81 e5 00 02 00 00 31 ff 48 89 ee e8 9f 59 1c 00 48 85 ed 0f 85 f0 01 00 00 01 5e 1c 00 45 31 c9 41 b8 01 00 00 00 31 c9 48 8d 05 00 00 00 RSP: 0018:ffffc90019e979b0 EFLAGS: 00000246 RAX: 0000000000040000 RBX: 0000000000000019 RCX: ffffc9000be82000 RDX: 0000000000040000 RSI: ffffffff816b6e24 RDI: 0000000000000007 RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 6f76203a7366746e R12: 0000000000000200 R13: ffff888019659dc0 R14: ffffffff8ac34300 R15: ffffc90019e97a30 vprintk+0x7b/0x90 kernel/printk/printk_safe.c:45 _printk+0xc8/0x100 kernel/printk/printk.c:2332 load_system_files fs/ntfs/super.c:1894 [inline] ntfs_fill_super+0x4242/0x9100 fs/ntfs/super.c:2900 mount_bdev+0x1f3/0x2e0 fs/super.c:1629 legacy_get_tree+0x109/0x220 fs/fs_context.c:662 vfs_get_tree+0x8c/0x370 fs/super.c:1750 do_new_mount fs/namespace.c:3335 [inline] path_mount+0x1492/0x1ed0 fs/namespace.c:3662 do_mount fs/namespace.c:3675 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount fs/namespace.c:3861 [inline] __x64_sys_mount+0x293/0x310 fs/namespace.c:3861 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f0e3ac7e1ea Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f0e3bac2ee8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f0e3bac2f80 RCX: 00007f0e3ac7e1ea RDX: 0000000020000000 RSI: 000000002001ee80 RDI: 00007f0e3bac2f40 RBP: 0000000020000000 R08: 00007f0e3bac2f80 R09: 0000000000800804 R10: 0000000000800804 R11: 0000000000000202 R12: 000000002001ee80 R13: 00007f0e3bac2f40 R14: 000000000001ee45 R15: 00000000200003c0