general protection fault, probably for non-canonical address 0xdffffc0000000182: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000c10-0x0000000000000c17] CPU: 0 PID: 17075 Comm: syz-executor.5 Not tainted 5.15.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__ref_is_percpu include/linux/percpu-refcount.h:174 [inline] RIP: 0010:percpu_ref_put_many include/linux/percpu-refcount.h:319 [inline] RIP: 0010:percpu_ref_put+0x93/0x1d0 include/linux/percpu-refcount.h:338 Code: 01 48 c7 c7 40 59 52 8a be b1 02 00 00 48 c7 c2 80 59 52 8a e8 de 18 e9 ff 49 bd 00 00 00 00 00 fc ff df 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 df e8 1e 75 52 00 48 8b 2b 48 89 ee 48 RSP: 0018:ffffc90000007b30 EFLAGS: 00010206 RAX: 0000000000000182 RBX: 0000000000000c10 RCX: ffff88803d063900 RDX: 0000000080000100 RSI: 0000000000000004 RDI: ffff8880b9c32508 RBP: 0000000000000041 R08: dffffc0000000000 R09: ffffed10173864a2 R10: ffffed10173864a2 R11: 0000000000000000 R12: ffff8880326ba000 R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f9d3984a700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005599704f1b68 CR3: 000000003bcbf000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cgroup_bpf_put include/linux/cgroup.h:926 [inline] cgroup_sk_free+0x3c/0xa0 kernel/cgroup/cgroup.c:6613 sk_prot_free net/core/sock.c:1852 [inline] __sk_destruct+0x541/0x820 net/core/sock.c:1943 call_timer_fn+0xf6/0x210 kernel/time/timer.c:1421 expire_timers kernel/time/timer.c:1466 [inline] __run_timers+0x71a/0x910 kernel/time/timer.c:1734 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1747 __do_softirq+0x392/0x7a3 kernel/softirq.c:558 __irq_exit_rcu+0xec/0x170 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:dev_hold include/linux/netdevice.h:4178 [inline] RIP: 0010:netdev_queue_add_kobject net/core/net-sysfs.c:1607 [inline] RIP: 0010:netdev_queue_update_kobjects+0xd7/0x430 net/core/net-sysfs.c:1655 Code: e8 3e a8 b5 f9 4d 8b 75 00 48 8b 44 24 10 49 8d 1c 06 48 89 d8 48 c1 e8 03 80 3c 28 00 74 08 48 89 df e8 1c a8 b5 f9 48 8b 1b <48> 85 db 74 64 4c 8d bb a8 05 00 00 4c 89 ff be 04 00 00 00 e8 b0 RSP: 0018:ffffc90003fff720 EFLAGS: 00000246 RAX: 1ffff11003da6580 RBX: ffff88806cdf0000 RCX: 0000000000040000 RDX: ffff88803d063900 RSI: 0000000000000001 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff881828f5 R09: ffffed10173864a2 R10: ffffed10173864a2 R11: 0000000000000000 R12: ffff88806cdf0000 R13: ffff88806cdf0440 R14: ffff88801ed32c00 R15: 0000000000000000 register_queue_kobjects net/core/net-sysfs.c:1716 [inline] netdev_register_kobject+0x263/0x310 net/core/net-sysfs.c:1959 register_netdevice+0x12a1/0x1c30 net/core/dev.c:10299 __ip_tunnel_create+0x2af/0x370 net/ipv4/ip_tunnel.c:267 ip_tunnel_init_net+0x249/0x720 net/ipv4/ip_tunnel.c:1070 ops_init+0x313/0x430 net/core/net_namespace.c:140 setup_net+0x35b/0x9d0 net/core/net_namespace.c:326 copy_net_ns+0x359/0x5c0 net/core/net_namespace.c:470 create_new_namespaces+0x4ce/0xa00 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0x11e/0x180 kernel/nsproxy.c:226 ksys_unshare+0x57d/0xb50 kernel/fork.c:3077 __do_sys_unshare kernel/fork.c:3151 [inline] __se_sys_unshare kernel/fork.c:3149 [inline] __x64_sys_unshare+0x34/0x40 kernel/fork.c:3149 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f9d3c2d3709 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:00007f9d3984a188 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007f9d3c3d7f60 RCX: 00007f9d3c2d3709 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000 RBP: 00007f9d3c32dcb4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff0dd31dbf R14: 00007f9d3984a300 R15: 0000000000022000 Modules linked in: ---[ end trace b946769e3fb18099 ]--- RIP: 0010:__ref_is_percpu include/linux/percpu-refcount.h:174 [inline] RIP: 0010:percpu_ref_put_many include/linux/percpu-refcount.h:319 [inline] RIP: 0010:percpu_ref_put+0x93/0x1d0 include/linux/percpu-refcount.h:338 Code: 01 48 c7 c7 40 59 52 8a be b1 02 00 00 48 c7 c2 80 59 52 8a e8 de 18 e9 ff 49 bd 00 00 00 00 00 fc ff df 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 df e8 1e 75 52 00 48 8b 2b 48 89 ee 48 RSP: 0018:ffffc90000007b30 EFLAGS: 00010206 RAX: 0000000000000182 RBX: 0000000000000c10 RCX: ffff88803d063900 RDX: 0000000080000100 RSI: 0000000000000004 RDI: ffff8880b9c32508 RBP: 0000000000000041 R08: dffffc0000000000 R09: ffffed10173864a2 R10: ffffed10173864a2 R11: 0000000000000000 R12: ffff8880326ba000 R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f9d3984a700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005599704f1b68 CR3: 000000003bcbf000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 48 c7 c7 40 59 52 8a mov $0xffffffff8a525940,%rdi 7: be b1 02 00 00 mov $0x2b1,%esi c: 48 c7 c2 80 59 52 8a mov $0xffffffff8a525980,%rdx 13: e8 de 18 e9 ff callq 0xffe918f6 18: 49 bd 00 00 00 00 00 movabs $0xdffffc0000000000,%r13 1f: fc ff df 22: 48 89 d8 mov %rbx,%rax 25: 48 c1 e8 03 shr $0x3,%rax * 29: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 48 89 df mov %rbx,%rdi 33: e8 1e 75 52 00 callq 0x527556 38: 48 8b 2b mov (%rbx),%rbp 3b: 48 89 ee mov %rbp,%rsi 3e: 48 rex.W