R10: 0000000000000000 R11: 0000000000000246 R12: 00007f47d6a696d4 R13: 00000000004c0efb R14: 00000000004d4b50 R15: 0000000000000003 BUG: sleeping function called from invalid context at mm/page_alloc.c:4695 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 28905, name: syz-executor.0 2 locks held by syz-executor.0/28905: #0: ffffffff89a407e0 (vmap_purge_lock){+.+.}, at: try_purge_vmap_area_lazy mm/vmalloc.c:1331 [inline] #0: ffffffff89a407e0 (vmap_purge_lock){+.+.}, at: free_vmap_area_noflush+0x2a6/0x390 mm/vmalloc.c:1368 #1: ffffffff89a40978 (free_vmap_area_lock){+.+.}, at: spin_lock include/linux/spinlock.h:338 [inline] #1: ffffffff89a40978 (free_vmap_area_lock){+.+.}, at: __purge_vmap_area_lazy+0x194/0x1ef0 mm/vmalloc.c:1298 Preemption disabled at: [] spin_lock include/linux/spinlock.h:338 [inline] [] __purge_vmap_area_lazy+0x194/0x1ef0 mm/vmalloc.c:1298 CPU: 0 PID: 28905 Comm: syz-executor.0 Not tainted 5.5.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:77 [inline] dump_stack+0x197/0x210 lib/dump_stack.c:118 ___might_sleep.cold+0x1fb/0x23e kernel/sched/core.c:6800 __might_sleep+0x95/0x190 kernel/sched/core.c:6753 prepare_alloc_pages mm/page_alloc.c:4695 [inline] __alloc_pages_nodemask+0x523/0x910 mm/page_alloc.c:4744 alloc_pages_current+0x107/0x210 mm/mempolicy.c:2207 alloc_pages include/linux/gfp.h:532 [inline] __get_free_pages+0xc/0x40 mm/page_alloc.c:4800 __pte_alloc_one_kernel include/asm-generic/pgalloc.h:21 [inline] pte_alloc_one_kernel include/asm-generic/pgalloc.h:33 [inline] __pte_alloc_kernel+0x1d/0x210 mm/memory.c:459 apply_to_pte_range mm/memory.c:2031 [inline] apply_to_pmd_range mm/memory.c:2068 [inline] apply_to_pud_range mm/memory.c:2088 [inline] apply_to_p4d_range mm/memory.c:2108 [inline] apply_to_page_range+0x621/0x700 mm/memory.c:2133 kasan_release_vmalloc+0xa9/0xc0 mm/kasan/common.c:973 __purge_vmap_area_lazy+0xca5/0x1ef0 mm/vmalloc.c:1313 try_purge_vmap_area_lazy mm/vmalloc.c:1332 [inline] free_vmap_area_noflush+0x2c8/0x390 mm/vmalloc.c:1368 free_unmap_vmap_area mm/vmalloc.c:1381 [inline] remove_vm_area+0x1cf/0x230 mm/vmalloc.c:2209 __vmalloc_area_node mm/vmalloc.c:2471 [inline] __vmalloc_node_range+0x715/0x810 mm/vmalloc.c:2547 __vmalloc_node mm/vmalloc.c:2607 [inline] __vmalloc_node_flags_caller+0x71/0x90 mm/vmalloc.c:2629 __bpf_map_area_alloc+0xde/0xf0 kernel/bpf/syscall.c:161 bpf_map_area_alloc+0x20/0x30 kernel/bpf/syscall.c:168 prealloc_init kernel/bpf/hashtab.c:142 [inline] htab_map_alloc+0x8d3/0x11c0 kernel/bpf/hashtab.c:378 find_and_alloc_map kernel/bpf/syscall.c:123 [inline] map_create kernel/bpf/syscall.c:654 [inline] __do_sys_bpf+0x478/0x3810 kernel/bpf/syscall.c:3012 __se_sys_bpf kernel/bpf/syscall.c:2989 [inline] __x64_sys_bpf+0x73/0xb0 kernel/bpf/syscall.c:2989 do_syscall_64+0xfa/0x790 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45a919 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f47d6a68c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f47d6a68c90 RCX: 000000000045a919 RDX: 000000000000003c RSI: 0000000020000140 RDI: 0000000000000000 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f47d6a696d4 R13: 00000000004c0efb R14: 00000000004d4b50 R15: 0000000000000003