INFO: task kcompactd0:1647 blocked for more than 143 seconds. Not tainted 5.14.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kcompactd0 state:D stack:28096 pid: 1647 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4681 [inline] __schedule+0x93a/0x26f0 kernel/sched/core.c:5938 schedule+0xd3/0x270 kernel/sched/core.c:6017 io_schedule+0xba/0x130 kernel/sched/core.c:7988 wait_on_page_bit_common+0x537/0xe60 mm/filemap.c:1301 lock_page include/linux/pagemap.h:626 [inline] __unmap_and_move mm/migrate.c:986 [inline] unmap_and_move mm/migrate.c:1136 [inline] migrate_pages+0xa5d/0x3970 mm/migrate.c:1411 compact_zone+0x1ab9/0x3860 mm/compaction.c:2399 kcompactd_do_work+0x2c9/0x730 mm/compaction.c:2814 kcompactd+0x262/0xd10 mm/compaction.c:2909 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Showing all locks held in the system: 1 lock held by systemd/1: 4 locks held by kworker/u4:3/115: #0: ffff888031342938 ((wq_completion)wg-kex-wg2#3){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888031342938 ((wq_completion)wg-kex-wg2#3){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:620 [inline] #0: ffff888031342938 ((wq_completion)wg-kex-wg2#3){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888031342938 ((wq_completion)wg-kex-wg2#3){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:617 [inline] #0: ffff888031342938 ((wq_completion)wg-kex-wg2#3){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: ffff888031342938 ((wq_completion)wg-kex-wg2#3){+.+.}-{0:0}, at: process_one_work+0x871/0x1630 kernel/workqueue.c:2247 #1: ffffc90001527db0 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1630 kernel/workqueue.c:2251 #2: ffff88807cd35048 (&wg->static_identity.lock){++++}-{3:3}, at: wg_noise_handshake_create_initiation+0xa9/0x620 drivers/net/wireguard/noise.c:496 #3: ffff888080878dd8 (&handshake->lock){++++}-{3:3}, at: wg_noise_handshake_create_initiation+0xbd/0x620 drivers/net/wireguard/noise.c:497 1 lock held by khungtaskd/1643: #0: ffffffff8b979840 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 1 lock held by khugepaged/1650: 1 lock held by kswapd0/2142: 1 lock held by kswapd1/2143: 2 locks held by systemd-journal/4861: #0: ffff88802d7315d0 (&ei->i_mmap_sem){++++}-{3:3}, at: ext4_filemap_fault+0x7f/0xc0 fs/ext4/inode.c:6193 #1: ffffffff8ba997e8 (pcpu_drain_mutex){+.+.}-{3:3}, at: __drain_all_pages+0x4f/0x6c0 mm/page_alloc.c:3204 1 lock held by systemd-udevd/4868: 1 lock held by systemd-timesyn/4947: 2 locks held by in:imklog/8146: 2 locks held by cron/8136: 2 locks held by syz-fuzzer/8444: 2 locks held by syz-fuzzer/8445: 3 locks held by kworker/u4:7/10638: 3 locks held by kworker/1:32/17717: 4 locks held by kworker/0:31/25417: 3 locks held by kworker/0:33/25439: 4 locks held by kworker/0:37/28318: 3 locks held by kworker/u4:12/28463: 4 locks held by kworker/0:0/31038: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1643 Comm: khungtaskd Not tainted 5.14.0-rc6-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+0xcd/0x134 lib/dump_stack.c:105 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1b3/0x230 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+0xd0a/0xfc0 kernel/hung_task.c:295 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 28463 Comm: kworker/u4:12 Not tainted 5.14.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:mark_lock+0x124/0x17b0 kernel/locking/lockdep.c:4571 Code: 01 00 00 4b 8d 04 76 48 c1 e0 06 48 05 00 bd cd 8f 48 8d 78 50 48 ba 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 80 3c 11 00 <0f> 85 15 12 00 00 48 89 ee 48 23 70 50 41 ba 01 00 00 00 0f 84 79 RSP: 0018:ffffc900188f7918 EFLAGS: 00000046 RAX: ffffffff8fcddf80 RBX: 1ffff9200311ef2a RCX: 1ffffffff1f9bbfa RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff8fcddfd0 RBP: 0000000000000200 R08: 0000000000000000 R09: ffffffff8fcdb8e7 R10: fffffbfff1f9b71c R11: 0000000000000000 R12: 0000000000000009 R13: ffff888019432dc0 R14: 000000000000002e R15: ffff888019432de0 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe84aa13fa0 CR3: 000000001ed92000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_usage kernel/locking/lockdep.c:4514 [inline] __lock_acquire+0x8a7/0x54a0 kernel/locking/lockdep.c:4969 lock_acquire kernel/locking/lockdep.c:5625 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5590 rcu_lock_acquire include/linux/rcupdate.h:267 [inline] rcu_read_lock include/linux/rcupdate.h:687 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:404 [inline] batadv_nc_worker+0x12d/0xe50 net/batman-adv/network-coding.c:715 process_one_work+0x98d/0x1630 kernel/workqueue.c:2276 worker_thread+0x658/0x11f0 kernel/workqueue.c:2422 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 01 00 add %eax,(%rax) 2: 00 4b 8d add %cl,-0x73(%rbx) 5: 04 76 add $0x76,%al 7: 48 c1 e0 06 shl $0x6,%rax b: 48 05 00 bd cd 8f add $0xffffffff8fcdbd00,%rax 11: 48 8d 78 50 lea 0x50(%rax),%rdi 15: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx 1c: fc ff df 1f: 48 89 f9 mov %rdi,%rcx 22: 48 c1 e9 03 shr $0x3,%rcx 26: 80 3c 11 00 cmpb $0x0,(%rcx,%rdx,1) * 2a: 0f 85 15 12 00 00 jne 0x1245 <-- trapping instruction 30: 48 89 ee mov %rbp,%rsi 33: 48 23 70 50 and 0x50(%rax),%rsi 37: 41 ba 01 00 00 00 mov $0x1,%r10d 3d: 0f .byte 0xf 3e: 84 .byte 0x84 3f: 79 .byte 0x79