INFO: task kcompactd0:31 blocked for more than 143 seconds. Not tainted 6.1.0-rc5-syzkaller-00307-gfe24a97cf254 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kcompactd0 state:D stack:27936 pid:31 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5191 [inline] __schedule+0xae9/0x53f0 kernel/sched/core.c:6503 schedule+0xde/0x1b0 kernel/sched/core.c:6579 io_schedule+0xbe/0x130 kernel/sched/core.c:8723 folio_wait_bit_common+0x394/0x9b0 mm/filemap.c:1296 folio_lock include/linux/pagemap.h:939 [inline] __unmap_and_move mm/migrate.c:1030 [inline] unmap_and_move mm/migrate.c:1184 [inline] migrate_pages+0x2bed/0x46c0 mm/migrate.c:1461 compact_zone+0x1c74/0x39f0 mm/compaction.c:2421 kcompactd_do_work+0x2f7/0x7c0 mm/compaction.c:2859 kcompactd+0x8c3/0xdf0 mm/compaction.c:2961 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8c58f0f0 (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: ffffffff8c58edf0 (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: ffffffff8c58fc40 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x57/0x264 kernel/locking/lockdep.c:6494 2 locks held by getty/3312: #0: ffff88814af72098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 2 locks held by kworker/u4:5/6852: 2 locks held by syz-executor.0/15416: 1 lock held by syz-executor.0/15473: 1 lock held by syz-executor.0/15524: 1 lock held by syz-executor.0/15587: 1 lock held by syz-executor.0/15633: 1 lock held by syz-executor.4/15860: 2 locks held by syz-executor.4/15929: 1 lock held by syz-executor.4/15978: 1 lock held by syz-executor.4/16033: 1 lock held by syz-executor.2/16051: 1 lock held by syz-executor.4/16082: 3 locks held by syz-executor.4/16245: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.0-rc5-syzkaller-00307-gfe24a97cf254 #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:306 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 6852 Comm: kworker/u4:5 Not tainted 6.1.0-rc5-syzkaller-00307-gfe24a97cf254 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: bat_events batadv_nc_worker RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:29 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:check_preemption_disabled+0x4c/0x170 lib/smp_processor_id.c:19 Code: 81 e3 ff ff ff 7f 31 ff 89 de 0f 1f 44 00 00 85 db 74 11 0f 1f 44 00 00 44 89 e0 5b 5d 41 5c 41 5d 41 5e c3 0f 1f 44 00 00 9c <5b> 81 e3 00 02 00 00 31 ff 48 89 de 0f 1f 44 00 00 48 85 db 74 d3 RSP: 0018:ffffc9000d727b88 EFLAGS: 00000046 RAX: 0000000000000002 RBX: 0000000000000000 RCX: ffffc9000d727c10 RDX: 1ffff1100fa6bc40 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffffff8aa7fe80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001 R13: ffffffff8a4c44a0 R14: ffff88807d35e208 R15: ffff88807d35d7c0 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005592f5e7b350 CR3: 000000000c28e000 CR4: 0000000000350ee0 Call Trace: lockdep_recursion_finish kernel/locking/lockdep.c:466 [inline] lock_release+0x3f3/0x810 kernel/locking/lockdep.c:5690 rcu_lock_release include/linux/rcupdate.h:309 [inline] rcu_read_unlock include/linux/rcupdate.h:771 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x86f/0xfa0 net/batman-adv/network-coding.c:719 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:306