8021q: adding VLAN 0 to HW filter on device batadv0 BUG: sleeping function called from invalid context at mm/page_alloc.c:4681 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 9068, name: syz-executor.0 2 locks held by syz-executor.0/9068: #0: ffffffff89a3ff20 (pcpu_alloc_mutex){+.+.}, at: pcpu_alloc+0xb89/0x1380 mm/percpu.c:1629 #1: ffffffff89a51ad8 (vmap_area_lock){+.+.}, at: spin_lock include/linux/spinlock.h:338 [inline] #1: ffffffff89a51ad8 (vmap_area_lock){+.+.}, at: pcpu_get_vm_areas+0x3b27/0x3f00 mm/vmalloc.c:3431 Preemption disabled at: [] spin_lock include/linux/spinlock.h:338 [inline] [] pcpu_get_vm_areas+0x3b27/0x3f00 mm/vmalloc.c:3431 CPU: 1 PID: 9068 Comm: syz-executor.0 Not tainted 5.4.0-next-20191202-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:4681 [inline] __alloc_pages_nodemask+0x523/0x910 mm/page_alloc.c:4730 alloc_pages_current+0x107/0x210 mm/mempolicy.c:2211 alloc_pages include/linux/gfp.h:532 [inline] __get_free_pages+0xc/0x40 mm/page_alloc.c:4786 kasan_populate_vmalloc_pte mm/kasan/common.c:762 [inline] kasan_populate_vmalloc_pte+0x2f/0x1c0 mm/kasan/common.c:753 apply_to_pte_range mm/memory.c:2041 [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+0x445/0x700 mm/memory.c:2133 kasan_populate_vmalloc+0x68/0x90 mm/kasan/common.c:791 pcpu_get_vm_areas+0x3c77/0x3f00 mm/vmalloc.c:3439 pcpu_create_chunk+0x24e/0x7f0 mm/percpu-vm.c:340 pcpu_alloc+0x10f3/0x1380 mm/percpu.c:1685 __alloc_percpu+0x25/0x30 mm/percpu.c:1796 xt_percpu_counter_alloc+0x13c/0x1b0 net/netfilter/x_tables.c:1842 find_check_entry.isra.0+0xba/0x9d0 net/ipv6/netfilter/ip6_tables.c:546 translate_table+0xd15/0x1860 net/ipv6/netfilter/ip6_tables.c:734 ip6t_register_table+0x11b/0x310 net/ipv6/netfilter/ip6_tables.c:1782 ip6table_mangle_table_init.part.0+0x49/0x70 net/ipv6/netfilter/ip6table_mangle.c:90 ip6table_mangle_table_init+0x58/0x70 net/ipv6/netfilter/ip6table_mangle.c:94 xt_find_table_lock+0x293/0x430 net/netfilter/x_tables.c:1223 xt_request_find_table_lock+0x2c/0xe0 net/netfilter/x_tables.c:1253 get_info+0x152/0x570 net/ipv6/netfilter/ip6_tables.c:981 do_ip6t_get_ctl+0x17d/0x960 net/ipv6/netfilter/ip6_tables.c:1705 nf_sockopt net/netfilter/nf_sockopt.c:104 [inline] nf_getsockopt+0x7a/0xd0 net/netfilter/nf_sockopt.c:122 ipv6_getsockopt net/ipv6/ipv6_sockglue.c:1400 [inline] ipv6_getsockopt+0x205/0x280 net/ipv6/ipv6_sockglue.c:1380 tcp_getsockopt net/ipv4/tcp.c:3692 [inline] tcp_getsockopt+0x8f/0xe0 net/ipv4/tcp.c:3686 sock_common_getsockopt+0x94/0xd0 net/core/sock.c:3108 __sys_getsockopt+0x16d/0x310 net/socket.c:2162 __do_sys_getsockopt net/socket.c:2177 [inline] __se_sys_getsockopt net/socket.c:2174 [inline] __x64_sys_getsockopt+0xbe/0x150 net/socket.c:2174 do_syscall_64+0xfa/0x790 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45d18a Code: b8 34 01 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 8d 8b fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 37 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 6a 8b fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007ffdcca76b28 EFLAGS: 00000246 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045d18a RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003 RBP: 0000000000000029 R08: 00007ffdcca76b4c R09: 0000000000000428 R10: 0000000000716888 R11: 0000000000000246 R12: 00000000004cbe1c R13: 0000000000717cc0 R14: 0000000000716888 R15: 0000000000716880