percpu: allocation failed, size=296 align=8 atomic=0, failed to allocate new chunk CPU: 0 PID: 8775 Comm: syz-executor.1 Not tainted 6.0.0-rc1-next-20220819-syzkaller #0 BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1521 in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 8775, name: syz-executor.1 preempt_count: 0, expected: 0 RCU nest depth: 0, expected: 0 3 locks held by syz-executor.1/8775: #0: ffffffff8d79d550 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2f5/0x760 net/core/net_namespace.c:468 #1: ffffffff8d7b1e28 (rtnl_mutex){+.+.}-{3:3}, at: register_netdev+0x11/0x50 net/core/dev.c:10194 #2: ffffffff8c09f148 (pcpu_alloc_mutex){+.+.}-{3:3}, at: pcpu_alloc+0xc77/0x14f0 mm/percpu.c:1774 irq event stamp: 8594 hardirqs last enabled at (8593): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1352 [inline] hardirqs last enabled at (8593): [] finish_lock_switch kernel/sched/core.c:4956 [inline] hardirqs last enabled at (8593): [] finish_task_switch.isra.0+0x2b5/0xc70 kernel/sched/core.c:5074 hardirqs last disabled at (8594): [] dump_stack_lvl+0x2e/0x134 lib/dump_stack.c:139 softirqs last enabled at (8490): [] neigh_parms_alloc+0x413/0x5f0 net/core/neighbour.c:1714 softirqs last disabled at (8488): [] neigh_parms_alloc+0x330/0x5f0 net/core/neighbour.c:1712 CPU: 0 PID: 8775 Comm: syz-executor.1 Not tainted 6.0.0-rc1-next-20220819-syzkaller #0 syz-executor.1[8775] cmdline: Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 Call Trace: __dump_stack lib/dump_stack.c:122 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:140 __might_resched.cold+0x222/0x26b kernel/sched/core.c:9896 down_read_killable+0x75/0x490 kernel/locking/rwsem.c:1521 mmap_read_lock_killable include/linux/mmap_lock.h:126 [inline] __access_remote_vm+0xac/0x6f0 mm/memory.c:5461 get_mm_cmdline.part.0+0x217/0x620 fs/proc/base.c:299 get_mm_cmdline fs/proc/base.c:367 [inline] get_task_cmdline_kernel+0x1d9/0x220 fs/proc/base.c:367 dump_stack_print_cmdline.part.0+0x82/0x150 lib/dump_stack.c:61 dump_stack_print_cmdline lib/dump_stack.c:89 [inline] dump_stack_print_info+0x185/0x190 lib/dump_stack.c:97 __dump_stack lib/dump_stack.c:121 [inline] dump_stack_lvl+0xc1/0x134 lib/dump_stack.c:140 pcpu_alloc.cold+0x27/0x5d mm/percpu.c:1903 snmp6_alloc_dev net/ipv6/addrconf.c:338 [inline] ipv6_add_dev+0x458/0x1390 net/ipv6/addrconf.c:403 addrconf_notify+0x614/0x1b90 net/ipv6/addrconf.c:3528 notifier_call_chain+0xb5/0x200 kernel/notifier.c:87 call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:1945 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline] call_netdevice_notifiers net/core/dev.c:1997 [inline] register_netdevice+0x1127/0x1680 net/core/dev.c:10103 register_netdev+0x2d/0x50 net/core/dev.c:10196 ip6gre_init_net+0x3cd/0x630 net/ipv6/ip6_gre.c:1638 ops_init+0xaf/0x470 net/core/net_namespace.c:135 setup_net+0x5d1/0xc50 net/core/net_namespace.c:326 copy_net_ns+0x318/0x760 net/core/net_namespace.c:472 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110 copy_namespaces+0x391/0x480 kernel/nsproxy.c:178 copy_process+0x308a/0x7120 kernel/fork.c:2262 kernel_clone+0xe7/0xab0 kernel/fork.c:2677 __do_sys_clone3+0x1cd/0x2e0 kernel/fork.c:2976 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fdaaac89279 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdaabd3b038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 00007fdaaad9c120 RCX: 00007fdaaac89279 RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00007fdaabd3b050 RBP: 00007fdaaace3189 R08: 0000000000000000 R09: 0000000000000058 R10: 00007fdaabd3b050 R11: 0000000000000246 R12: 0000000000000058 R13: 00007fff43f0eaef R14: 00007fdaabd3b300 R15: 0000000000022000 syz-executor.1[8775] cmdline: Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 Call Trace: __dump_stack lib/dump_stack.c:122 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:140 pcpu_alloc.cold+0x27/0x5d mm/percpu.c:1903 snmp6_alloc_dev net/ipv6/addrconf.c:338 [inline] ipv6_add_dev+0x458/0x1390 net/ipv6/addrconf.c:403 addrconf_notify+0x614/0x1b90 net/ipv6/addrconf.c:3528 notifier_call_chain+0xb5/0x200 kernel/notifier.c:87 call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:1945 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline] call_netdevice_notifiers net/core/dev.c:1997 [inline] register_netdevice+0x1127/0x1680 net/core/dev.c:10103 register_netdev+0x2d/0x50 net/core/dev.c:10196 ip6gre_init_net+0x3cd/0x630 net/ipv6/ip6_gre.c:1638 ops_init+0xaf/0x470 net/core/net_namespace.c:135 setup_net+0x5d1/0xc50 net/core/net_namespace.c:326 copy_net_ns+0x318/0x760 net/core/net_namespace.c:472 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110 copy_namespaces+0x391/0x480 kernel/nsproxy.c:178 copy_process+0x308a/0x7120 kernel/fork.c:2262 kernel_clone+0xe7/0xab0 kernel/fork.c:2677 __do_sys_clone3+0x1cd/0x2e0 kernel/fork.c:2976 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fdaaac89279 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdaabd3b038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 00007fdaaad9c120 RCX: 00007fdaaac89279 RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00007fdaabd3b050 RBP: 00007fdaaace3189 R08: 0000000000000000 R09: 0000000000000058 R10: 00007fdaabd3b050 R11: 0000000000000246 R12: 0000000000000058 R13: 00007fff43f0eaef R14: 00007fdaabd3b300 R15: 0000000000022000