INFO: task khugepaged:1651 blocked for more than 143 seconds. Not tainted 5.13.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:khugepaged state:D stack:24304 pid: 1651 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4339 [inline] __schedule+0x916/0x23e0 kernel/sched/core.c:5147 schedule+0xcf/0x270 kernel/sched/core.c:5226 schedule_timeout+0x1db/0x250 kernel/time/timer.c:1868 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x168/0x270 kernel/sched/completion.c:138 __flush_work+0x527/0xac0 kernel/workqueue.c:3053 __lru_add_drain_all+0x3fd/0x760 mm/swap.c:842 khugepaged_do_scan mm/khugepaged.c:2202 [inline] khugepaged+0x10f/0x5530 mm/khugepaged.c:2263 kthread+0x3b1/0x4a0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Showing all locks held in the system: 1 lock held by khungtaskd/1635: #0: ffffffff8bf79320 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6333 1 lock held by khugepaged/1651: #0: ffffffff8c05a2c8 (lock#5){+.+.}-{3:3}, at: __lru_add_drain_all+0x65/0x760 mm/swap.c:791 1 lock held by in:imklog/8133: #0: ffff8880214a3270 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:974 2 locks held by kworker/0:5/9550: 3 locks held by kworker/1:4/9605: 3 locks held by kworker/u4:0/24318: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1635 Comm: khungtaskd Not tainted 5.13.0-rc3-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:313 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: 5590 Comm: syz-executor.2 Not tainted 5.13.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:_find_next_bit+0x1eb/0x260 lib/find_bit.c:70 Code: 08 e8 b9 41 a6 fd 48 0f cd f3 48 0f bc ed e8 ac 41 a6 fd 48 01 eb 49 39 dc 4c 0f 47 e3 e8 9d 41 a6 fd 4c 89 e0 48 83 c4 18 5b <5d> 41 5c 41 5d 41 5e 41 5f c3 48 0f cd e8 83 41 a6 fd 4c 21 fd 31 RSP: 0018:ffffc90002dffb68 EFLAGS: 00000096 RAX: 000000000000c0de RBX: 000000000000c0de RCX: ffffc9000e1dc000 RDX: 0000000000040000 RSI: ffffffff83ce9ae3 RDI: 0000000000000003 RBP: 000000000000001e R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff83ce99e6 R11: 0000000000000000 R12: 000000000000c0de R13: ffffffffffffffff R14: 0000000000000000 R15: ffffffffc0000000 FS: 00007f8045bd7700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f065cb0ffce CR3: 00000000866d2000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: find_next_zero_bit include/asm-generic/bitops/find.h:94 [inline] pcpu_find_zero_area mm/percpu.c:1123 [inline] pcpu_alloc_area+0x250/0x870 mm/percpu.c:1185 pcpu_alloc+0x9d0/0x17a0 mm/percpu.c:1771 bpf_map_alloc_percpu+0x84/0x1a0 kernel/bpf/syscall.c:436 bpf_array_alloc_percpu kernel/bpf/arraymap.c:37 [inline] array_map_alloc+0x52e/0x710 kernel/bpf/arraymap.c:150 find_and_alloc_map kernel/bpf/syscall.c:123 [inline] map_create kernel/bpf/syscall.c:829 [inline] __do_sys_bpf+0xa86/0x4f40 kernel/bpf/syscall.c:4393 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8045bd7188 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000000000040 RSI: 0000000020003180 RDI: 0000000000000000 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffeb55b8e2f R14: 00007f8045bd7300 R15: 0000000000022000