INFO: task kcompactd0:30 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kcompactd0 state:D stack:23896 pid: 30 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 io_schedule+0x83/0x100 kernel/sched/core.c:8371 folio_wait_bit_common+0x8aa/0xe00 mm/filemap.c:1371 lock_page include/linux/pagemap.h:780 [inline] __unmap_and_move+0x9d9/0xda0 mm/migrate.c:980 unmap_and_move+0x321/0xd70 mm/migrate.c:1204 migrate_pages+0x562/0x16f0 mm/migrate.c:1481 compact_zone+0x2d23/0x3d10 mm/compaction.c:2399 kcompactd_do_work mm/compaction.c:2839 [inline] kcompactd+0x937/0x2920 mm/compaction.c:2941 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 Showing all locks held in the system: 1 lock held by systemd/1: 1 lock held by khungtaskd/27: #0: ffffffff8cd1da80 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/1:1H/50: #0: ffff888011865138 ((wq_completion)events_highpri){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc900012afd20 ((work_completion)(&(&krcp->page_cache_work)->work)){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2273 #2: ffffffff8cde1b28 (pcpu_drain_mutex){+.+.}-{3:3}, at: __drain_all_pages+0x58/0x690 mm/page_alloc.c:3181 1 lock held by kswapd0/98: 1 lock held by kswapd1/99: 3 locks held by kworker/u4:5/1308: 1 lock held by systemd-journal/2968: 1 lock held by systemd-udevd/2970: 1 lock held by systemd-timesyn/3057: 1 lock held by cron/6150: 1 lock held by in:imklog/6188: #0: ffff88801b7e4b58 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:838 [inline] #0: ffff88801b7e4b58 (mapping.invalidate_lock){++++}-{3:3}, at: page_cache_ra_unbounded+0x1b8/0x9f0 mm/readahead.c:194 2 locks held by syz-fuzzer/6506: 3 locks held by kworker/0:1/27463: 2 locks held by syz-executor.5/7869: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc82/0xcd0 kernel/hung_task.c:295 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 1308 Comm: kworker/u4:5 Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:hlock_class kernel/locking/lockdep.c:194 [inline] RIP: 0010:__lock_acquire+0x12ca/0x2b00 kernel/locking/lockdep.c:5024 Code: 80 3c 38 00 74 12 4c 89 f7 e8 22 53 6a 00 48 bf 00 00 00 00 00 fc ff df 49 83 3e 00 0f 84 b2 0b 00 00 48 8b 44 24 38 8a 04 38 <84> c0 0f 85 2b 12 00 00 48 8b 44 24 20 8b 18 81 e3 ff 1f 00 00 48 RSP: 0018:ffffc90005a5f900 EFLAGS: 00000082 RAX: 1ffff11003c1e100 RBX: 00000000000006c2 RCX: ffffffff8165ed20 RDX: 0000000000000000 RSI: 0000000000000008 RDI: dffffc0000000000 RBP: ffffc90005a5fa50 R08: dffffc0000000000 R09: fffffbfff2034df8 R10: fffffbfff2034df8 R11: 0000000000000000 R12: ffff88801e0f0000 R13: ffff88801e0f0ab0 R14: ffffffff8fb3ecc0 R15: 6cd58071d8f2d0c6 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f05eb895303 CR3: 000000000ca8e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5637 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:268 rcu_read_lock include/linux/rcupdate.h:688 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0xc8/0x5b0 net/batman-adv/network-coding.c:723 process_one_work+0x853/0x1140 kernel/workqueue.c:2298 worker_thread+0xac1/0x1320 kernel/workqueue.c:2445 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess): 0: 80 3c 38 00 cmpb $0x0,(%rax,%rdi,1) 4: 74 12 je 0x18 6: 4c 89 f7 mov %r14,%rdi 9: e8 22 53 6a 00 callq 0x6a5330 e: 48 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%rdi 15: fc ff df 18: 49 83 3e 00 cmpq $0x0,(%r14) 1c: 0f 84 b2 0b 00 00 je 0xbd4 22: 48 8b 44 24 38 mov 0x38(%rsp),%rax 27: 8a 04 38 mov (%rax,%rdi,1),%al * 2a: 84 c0 test %al,%al <-- trapping instruction 2c: 0f 85 2b 12 00 00 jne 0x125d 32: 48 8b 44 24 20 mov 0x20(%rsp),%rax 37: 8b 18 mov (%rax),%ebx 39: 81 e3 ff 1f 00 00 and $0x1fff,%ebx 3f: 48 rex.W