INFO: task kcompactd0:1179 blocked for more than 143 seconds. Not tainted 5.9.0-rc8-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kcompactd0 state:D stack:28760 pid: 1179 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:3778 [inline] __schedule+0xec9/0x2280 kernel/sched/core.c:4527 schedule+0xd0/0x2a0 kernel/sched/core.c:4602 io_schedule+0xb5/0x120 kernel/sched/core.c:6296 wait_on_page_bit_common+0x32a/0xe30 mm/filemap.c:1253 lock_page include/linux/pagemap.h:548 [inline] __unmap_and_move mm/migrate.c:1047 [inline] unmap_and_move mm/migrate.c:1197 [inline] migrate_pages+0x753/0x30f0 mm/migrate.c:1458 compact_zone+0x1b13/0x3a20 mm/compaction.c:2315 kcompactd_do_work+0x2c7/0x790 mm/compaction.c:2725 kcompactd+0x25d/0xd50 mm/compaction.c:2820 kthread+0x3b5/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Showing all locks held in the system: 2 locks held by systemd/1: 4 locks held by kworker/0:0/5: 4 locks held by kworker/u4:0/7: #0: ffff888092ac8938 ((wq_completion)wg-kex-wg1#5){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888092ac8938 ((wq_completion)wg-kex-wg1#5){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888092ac8938 ((wq_completion)wg-kex-wg1#5){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888092ac8938 ((wq_completion)wg-kex-wg1#5){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff888092ac8938 ((wq_completion)wg-kex-wg1#5){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff888092ac8938 ((wq_completion)wg-kex-wg1#5){+.+.}-{0:0}, at: process_one_work+0x82b/0x1670 kernel/workqueue.c:2240 #1: ffffc90000cdfda8 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x85f/0x1670 kernel/workqueue.c:2244 #2: ffff888048699088 (&wg->static_identity.lock){++++}-{3:3}, at: wg_noise_handshake_create_initiation+0xaf/0x6a0 drivers/net/wireguard/noise.c:496 #3: ffff88809413e690 (&handshake->lock){++++}-{3:3}, at: wg_noise_handshake_create_initiation+0xc3/0x6a0 drivers/net/wireguard/noise.c:497 4 locks held by kworker/0:1/12: 4 locks held by kworker/1:0/17: #0: ffff8880a788dd38 ((wq_completion)wg-kex-wg1#2){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880a788dd38 ((wq_completion)wg-kex-wg1#2){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff8880a788dd38 ((wq_completion)wg-kex-wg1#2){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff8880a788dd38 ((wq_completion)wg-kex-wg1#2){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff8880a788dd38 ((wq_completion)wg-kex-wg1#2){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff8880a788dd38 ((wq_completion)wg-kex-wg1#2){+.+.}-{0:0}, at: process_one_work+0x82b/0x1670 kernel/workqueue.c:2240 #1: ffffc90000d8fda8 ((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+0x85f/0x1670 kernel/workqueue.c:2244 #2: ffff888049ac5088 (&wg->static_identity.lock){++++}-{3:3}, at: wg_noise_handshake_consume_initiation+0xf1/0x9d0 drivers/net/wireguard/noise.c:565 #3: ffff8880456c2690 (&handshake->lock){++++}-{3:3}, at: wg_noise_handshake_consume_initiation+0x6dd/0x9d0 drivers/net/wireguard/noise.c:599 5 locks held by kworker/u4:1/21: 4 locks held by kworker/u4:2/110: #0: ffff8880a93af138 ((wq_completion)wg-kex-wg2#9){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880a93af138 ((wq_completion)wg-kex-wg2#9){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff8880a93af138 ((wq_completion)wg-kex-wg2#9){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff8880a93af138 ((wq_completion)wg-kex-wg2#9){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff8880a93af138 ((wq_completion)wg-kex-wg2#9){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff8880a93af138 ((wq_completion)wg-kex-wg2#9){+.+.}-{0:0}, at: process_one_work+0x82b/0x1670 kernel/workqueue.c:2240 #1: ffffc90000e27da8 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x85f/0x1670 kernel/workqueue.c:2244 #2: ffff888046e99088 (&wg->static_identity.lock){++++}-{3:3}, at: wg_noise_handshake_create_initiation+0xaf/0x6a0 drivers/net/wireguard/noise.c:496 #3: ffff888043c9c690 (&handshake->lock){++++}-{3:3}, at: wg_noise_handshake_create_initiation+0xc3/0x6a0 drivers/net/wireguard/noise.c:497 1 lock held by khungtaskd/1175: #0: ffffffff8a067f40 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:5852 1 lock held by khugepaged/1182: 1 lock held by kswapd0/1695: 1 lock held by kswapd1/1696: 4 locks held by kworker/1:2/2546: #0: ffff8880941ec138 ((wq_completion)wg-kex-wg0#2){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880941ec138 ((wq_completion)wg-kex-wg0#2){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff8880941ec138 ((wq_completion)wg-kex-wg0#2){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff8880941ec138 ((wq_completion)wg-kex-wg0#2){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff8880941ec138 ((wq_completion)wg-kex-wg0#2){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff8880941ec138 ((wq_completion)wg-kex-wg0#2){+.+.}-{0:0}, at: process_one_work+0x82b/0x1670 kernel/workqueue.c:2240 #1: ffffc9000847fda8 ((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+0x85f/0x1670 kernel/workqueue.c:2244 #2: ffff888049e41088 (&wg->static_identity.lock){++++}-{3:3}, at: wg_noise_handshake_consume_initiation+0xf1/0x9d0 drivers/net/wireguard/noise.c:565 #3: ffff888045582690 (&handshake->lock){++++}-{3:3}, at: wg_noise_handshake_consume_initiation+0x6dd/0x9d0 drivers/net/wireguard/noise.c:599 1 lock held by systemd-journal/3914: #0: ffffffff8a168ba0 (fs_reclaim){+.+.}-{0:0}, at: check_retry_cpuset mm/page_alloc.c:4534 [inline] #0: ffffffff8a168ba0 (fs_reclaim){+.+.}-{0:0}, at: __alloc_pages_slowpath.constprop.0+0x159d/0x28c0 mm/page_alloc.c:4738 1 lock held by systemd-udevd/3926: 1 lock held by systemd-timesyn/4426: 2 locks held by in:imklog/6771: 1 lock held by cron/6768: 1 lock held by syz-fuzzer/6883: 3 locks held by syz-fuzzer/6885: 4 locks held by kworker/0:3/7960: #0: ffff8880a3e2b138 ((wq_completion)wg-kex-wg1#6){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880a3e2b138 ((wq_completion)wg-kex-wg1#6){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff8880a3e2b138 ((wq_completion)wg-kex-wg1#6){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff8880a3e2b138 ((wq_completion)wg-kex-wg1#6){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff8880a3e2b138 ((wq_completion)wg-kex-wg1#6){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff8880a3e2b138 ((wq_completion)wg-kex-wg1#6){+.+.}-{0:0}, at: process_one_work+0x82b/0x1670 kernel/workqueue.c:2240 #1: ffffc90015887da8 ((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+0x85f/0x1670 kernel/workqueue.c:2244 #2: ffff888048699088 (&wg->static_identity.lock){++++}-{3:3}, at: wg_noise_handshake_consume_initiation+0xf1/0x9d0 drivers/net/wireguard/noise.c:565 #3: ffff88809413e690 (&handshake->lock){++++}-{3:3}, at: wg_noise_handshake_consume_initiation+0x6dd/0x9d0 drivers/net/wireguard/noise.c:599 4 locks held by kworker/1:3/8184: 2 locks held by kworker/u4:6/11096: 4 locks held by kworker/0:6/15305: 4 locks held by kworker/1:1/15383: 4 locks held by kworker/u4:7/16743: #0: ffff88808e776938 ((wq_completion)wg-kex-wg1#11){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88808e776938 ((wq_completion)wg-kex-wg1#11){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff88808e776938 ((wq_completion)wg-kex-wg1#11){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff88808e776938 ((wq_completion)wg-kex-wg1#11){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff88808e776938 ((wq_completion)wg-kex-wg1#11){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff88808e776938 ((wq_completion)wg-kex-wg1#11){+.+.}-{0:0}, at: process_one_work+0x82b/0x1670 kernel/workqueue.c:2240 #1: ffffc900074f7da8 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x85f/0x1670 kernel/workqueue.c:2244 #2: ffff888045e49088 (&wg->static_identity.lock){++++}-{3:3}, at: wg_noise_handshake_create_initiation+0xaf/0x6a0 drivers/net/wireguard/noise.c:496 #3: ffff888043514690 (&handshake->lock){++++}-{3:3}, at: wg_noise_handshake_create_initiation+0xc3/0x6a0 drivers/net/wireguard/noise.c:497 4 locks held by kworker/0:7/16744: #0: ffff88808725b938 ((wq_completion)wg-kex-wg1#12){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88808725b938 ((wq_completion)wg-kex-wg1#12){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff88808725b938 ((wq_completion)wg-kex-wg1#12){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff88808725b938 ((wq_completion)wg-kex-wg1#12){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff88808725b938 ((wq_completion)wg-kex-wg1#12){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff88808725b938 ((wq_completion)wg-kex-wg1#12){+.+.}-{0:0}, at: process_one_work+0x82b/0x1670 kernel/workqueue.c:2240 #1: ffffc900063c7da8 ((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+0x85f/0x1670 kernel/workqueue.c:2244 #2: ffff888045e49088 (&wg->static_identity.lock){++++}-{3:3}, at: wg_noise_handshake_consume_initiation+0xf1/0x9d0 drivers/net/wireguard/noise.c:565 #3: ffff888043514690 (&handshake->lock){++++}-{3:3}, at: wg_noise_handshake_consume_initiation+0x6dd/0x9d0 drivers/net/wireguard/noise.c:599 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1175 Comm: khungtaskd Not tainted 5.9.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:77 [inline] dump_stack+0x198/0x1fd lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x70/0xb1 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1b3/0x223 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+0xd7d/0x1000 kernel/hung_task.c:295 kthread+0x3b5/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 16742 Comm: kworker/u4:5 Not tainted 5.9.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:lock_release+0xe/0x8f0 kernel/locking/lockdep.c:5037 Code: ff 48 c7 c7 b8 cb 59 8b e8 5f 16 5b 00 e9 66 fd ff ff 66 2e 0f 1f 84 00 00 00 00 00 48 b8 00 00 00 00 00 fc ff df 41 57 41 56 <49> 89 f6 41 55 49 89 fd 41 54 55 53 48 81 ec 90 00 00 00 48 c7 44 RSP: 0018:ffffc90007507c68 EFLAGS: 00000293 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffffffff880ab8e8 RDX: ffff88821a86e100 RSI: ffffffff880ab5f1 RDI: ffffffff8a067f40 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8d0c49e7 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: dffffc0000000000 R15: 00000000000002d0 FS: 0000000000000000(0000) GS:ffff8880ae400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000018a6a98 CR3: 000000009dcdc000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_release include/linux/rcupdate.h:246 [inline] rcu_read_unlock include/linux/rcupdate.h:688 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:411 [inline] batadv_nc_worker+0x7a3/0xe50 net/batman-adv/network-coding.c:718 process_one_work+0x94c/0x1670 kernel/workqueue.c:2269 worker_thread+0x64c/0x1120 kernel/workqueue.c:2415 kthread+0x3b5/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294