INFO: task kcompactd0:1623 blocked for more than 143 seconds. Not tainted 5.12.0-rc8-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kcompactd0 state:D stack:28152 pid: 1623 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4322 [inline] __schedule+0x911/0x21b0 kernel/sched/core.c:5073 schedule+0xcf/0x270 kernel/sched/core.c:5152 io_schedule+0xba/0x130 kernel/sched/core.c:7209 wait_on_page_bit_common+0x571/0xe90 mm/filemap.c:1274 lock_page include/linux/pagemap.h:610 [inline] __unmap_and_move mm/migrate.c:1050 [inline] unmap_and_move mm/migrate.c:1200 [inline] migrate_pages+0x98a/0x35d0 mm/migrate.c:1472 compact_zone+0x1abd/0x3820 mm/compaction.c:2365 kcompactd_do_work+0x2c9/0x730 mm/compaction.c:2775 kcompactd+0x262/0xd10 mm/compaction.c:2870 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Showing all locks held in the system: 4 locks held by kworker/0:2/8: #0: ffff88801d2fed38 ((wq_completion)wg-kex-wg0#4){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88801d2fed38 ((wq_completion)wg-kex-wg0#4){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff88801d2fed38 ((wq_completion)wg-kex-wg0#4){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff88801d2fed38 ((wq_completion)wg-kex-wg0#4){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff88801d2fed38 ((wq_completion)wg-kex-wg0#4){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff88801d2fed38 ((wq_completion)wg-kex-wg0#4){+.+.}-{0:0}, at: process_one_work+0x871/0x1600 kernel/workqueue.c:2246 #1: ffffc90000cefda8 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __asm__ ("" : "=r"(__ptr) : "0"((typeof(*((worker))) *)((worker)))); (typeof((typeof(*((worker))) *)((worker)))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1600 kernel/workqueue.c:2250 #2: ffff888077f95008 (&wg->static_identity.lock){++++}-{3:3}, at: wg_noise_handshake_consume_initiation+0xf1/0x9e0 drivers/net/wireguard/noise.c:565 #3: ffff88801c3ea338 (&handshake->lock){++++}-{3:3}, at: wg_noise_handshake_consume_initiation+0x6de/0x9e0 drivers/net/wireguard/noise.c:599 1 lock held by khungtaskd/1618: #0: ffffffff8bf718a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6328 2 locks held by kswapd0/2116: 1 lock held by kswapd1/2117: 1 lock held by systemd-journal/4817: 1 lock held by cron/8083: 2 locks held by in:imklog/8133: #0: ffff88801916a3f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:974 #1: ffffffff8c088660 (fs_reclaim){+.+.}-{0:0}, at: fs_reclaim_acquire+0xf7/0x150 mm/page_alloc.c:4354 2 locks held by syz-fuzzer/8396: #0: ffff888034cd3850 (&ei->i_mmap_sem){++++}-{3:3}, at: ext4_filemap_fault+0x7f/0xc0 fs/ext4/inode.c:6195 #1: ffffffff8c089068 (pcpu_drain_mutex){+.+.}-{3:3}, at: __drain_all_pages+0x4f/0x670 mm/page_alloc.c:3078 5 locks held by kworker/1:4/9549: 3 locks held by kworker/1:8/9734: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1618 Comm: khungtaskd Not tainted 5.12.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x141/0x1d7 lib/dump_stack.c:120 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:209 [inline] watchdog+0xd48/0xfb0 kernel/hung_task.c:294 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8392 Comm: syz-fuzzer Not tainted 5.12.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__kasan_check_read+0x4/0x10 mm/kasan/shadow.c:31 Code: 0c 07 48 85 db 0f 85 e6 fb 0d 07 48 83 c4 60 5b 5d 41 5c 41 5d c3 c3 e9 e6 fc 0d 07 cc cc cc cc cc cc cc cc cc cc 48 8b 0c 24 <89> f6 31 d2 e9 43 f9 ff ff 0f 1f 00 48 8b 0c 24 89 f6 ba 01 00 00 RSP: 0018:ffffc90000ec7c90 EFLAGS: 00000297 RAX: 0000000080000001 RBX: ffff88802f0bc240 RCX: ffffffff8904ce66 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff88802f0bc240 RBP: ffff88802f0bc240 R08: 0000000000000001 R09: ffff888014c2e823 R10: ffffed1002985d04 R11: 0000000000000001 R12: ffff88802f0bc26c R13: ffffed1005e17848 R14: ffffc90000ec7e28 R15: ffff88802f0bc240 FS: 000000c00002e090(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f114db4c018 CR3: 0000000013ea2000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] test_ti_thread_flag include/linux/thread_info.h:117 [inline] need_resched include/linux/sched.h:1970 [inline] schedule+0xe6/0x270 kernel/sched/core.c:5154 freezable_schedule include/linux/freezer.h:172 [inline] do_nanosleep+0x268/0x6a0 kernel/time/hrtimer.c:1896 hrtimer_nanosleep+0x1f9/0x4a0 kernel/time/hrtimer.c:1949 __do_sys_nanosleep kernel/time/hrtimer.c:1983 [inline] __se_sys_nanosleep kernel/time/hrtimer.c:1970 [inline] __x64_sys_nanosleep+0x1dc/0x260 kernel/time/hrtimer.c:1970 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x46dabd Code: 8b 44 24 20 b9 40 42 0f 00 f7 f1 48 89 04 24 b8 e8 03 00 00 f7 e2 48 89 44 24 08 48 89 e7 be 00 00 00 00 b8 23 00 00 00 0f 05 <48> 8b 6c 24 10 48 83 c4 18 c3 cc cc cc cc cc cc cc cc cc cc cc cc RSP: 002b:000000c00003df18 EFLAGS: 00000202 ORIG_RAX: 0000000000000023 RAX: ffffffffffffffda RBX: 0000000000000014 RCX: 000000000046dabd RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000c00003df18 RBP: 000000c00003df28 R08: 00000000000b6c46 R09: 00007ffc5c677090 R10: 000000000003aa6a R11: 0000000000000202 R12: 000000000043b6a0 R13: 0000000000000000 R14: 0000000000946ad0 R15: 0000000000000000