percpu: allocation failed, size=488 align=8 atomic=0, failed to allocate new chunk CPU: 0 PID: 16479 Comm: syz-executor.4 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: 16479, name: syz-executor.4 preempt_count: 0, expected: 0 RCU nest depth: 0, expected: 0 3 locks held by syz-executor.4/16479: #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: ip_tunnel_init_net+0x2d9/0x9f0 net/ipv4/ip_tunnel.c:1072 #2: ffffffff8c09f148 (pcpu_alloc_mutex){+.+.}-{3:3}, at: pcpu_alloc+0xc77/0x14f0 mm/percpu.c:1774 irq event stamp: 7410 hardirqs last enabled at (7409): [] __up_console_sem+0xae/0xc0 kernel/printk/printk.c:264 hardirqs last disabled at (7410): [] dump_stack_lvl+0x2e/0x134 lib/dump_stack.c:139 softirqs last enabled at (7404): [] invoke_softirq kernel/softirq.c:445 [inline] softirqs last enabled at (7404): [] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650 softirqs last disabled at (7395): [] invoke_softirq kernel/softirq.c:445 [inline] softirqs last disabled at (7395): [] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650 CPU: 0 PID: 16479 Comm: syz-executor.4 Not tainted 6.0.0-rc1-next-20220819-syzkaller #0 syz-executor.4[16479] 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 gro_cells_init+0x2a/0x310 net/core/gro_cells.c:73 ip_tunnel_init+0x23d/0x560 net/ipv4/ip_tunnel.c:1241 register_netdevice+0x5e1/0x1680 net/core/dev.c:10000 __ip_tunnel_create+0x398/0x570 net/ipv4/ip_tunnel.c:267 ip_tunnel_init_net+0x2e8/0x9f0 net/ipv4/ip_tunnel.c:1073 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:0x7f6054289279 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:00007f6055417038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 00007f605439c120 RCX: 00007f6054289279 RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00007f6055417050 RBP: 00007f60542e3189 R08: 0000000000000000 R09: 0000000000000058 R10: 00007f6055417050 R11: 0000000000000246 R12: 0000000000000058 R13: 00007ffe7cb753bf R14: 00007f6055417300 R15: 0000000000022000 syz-executor.4[16479] 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 gro_cells_init+0x2a/0x310 net/core/gro_cells.c:73 ip_tunnel_init+0x23d/0x560 net/ipv4/ip_tunnel.c:1241 register_netdevice+0x5e1/0x1680 net/core/dev.c:10000 __ip_tunnel_create+0x398/0x570 net/ipv4/ip_tunnel.c:267 ip_tunnel_init_net+0x2e8/0x9f0 net/ipv4/ip_tunnel.c:1073 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:0x7f6054289279 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:00007f6055417038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 00007f605439c120 RCX: 00007f6054289279 RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00007f6055417050 RBP: 00007f60542e3189 R08: 0000000000000000 R09: 0000000000000058 R10: 00007f6055417050 R11: 0000000000000246 R12: 0000000000000058 R13: 00007ffe7cb753bf R14: 00007f6055417300 R15: 0000000000022000