kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 1697 Comm: syz-executor Not tainted 5.4.290-syzkaller-00002-g41adfeb3d639 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:set_track mm/kasan/common.c:78 [inline] RIP: 0010:__kasan_kmalloc+0x1d9/0x210 mm/kasan/common.c:529 Code: fa 0f 92 c2 41 84 c3 75 10 20 d1 75 0c 48 ff c3 48 39 de 75 d1 89 f3 eb 02 ff c3 48 8d 7c 24 20 89 de 44 89 f2 e8 a7 87 b4 00 <43> 89 44 2c 04 65 48 8b 04 25 28 00 00 00 48 3b 84 24 20 02 00 00 RSP: 0018:ffff8881f6f09d18 EFLAGS: 00010292 RAX: 0000000088c00185 RBX: 0000000000000038 RCX: b35fb3d605cafd00 RDX: 00000000000001c0 RSI: 0000000000000246 RDI: 0000000000000000 RBP: ffff8881f6f09ec8 R08: dffffc0000000000 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: 00000000ffffa118 R13: dffffc0000000000 R14: ffffffff81941321 R15: ffff8881d62271c0 FS: 000055558c80c500(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000100000001 CR3: 00000001d8cbf000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1830 __do_softirq+0x23b/0x6b7 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x195/0x1c0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:539 [inline] smp_apic_timer_interrupt+0x11a/0x490 arch/x86/kernel/apic/apic.c:1161 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:834 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x4d/0x80 kernel/locking/spinlock.c:191 Code: 74 0c 48 c7 c7 90 3c eb 85 e8 7f 02 3d fd 48 83 3d d7 09 94 01 00 74 36 48 89 df e8 cd d4 f4 fc 66 90 4c 89 34 24 ff 34 24 9d 01 00 00 00 e8 f9 be ed fc 65 8b 05 ae 5a ab 7b 85 c0 74 08 48 RSP: 0018:ffff8881d968f8b8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000001 RBX: ffffffff86ee1d40 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000246 RDI: ffffffff86ee1d40 RBP: dffffc0000000000 R08: ffffffff81875032 R09: fffff520000bdbbd R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881e2f69b00 R13: 1ffff1103c5ed360 R14: 0000000000000246 R15: 0000000000000008 spin_unlock_irqrestore include/linux/spinlock.h:393 [inline] pcpu_alloc+0x69a/0x1050 mm/percpu.c:1701 ip6_tnl_dev_init_gen net/ipv6/ip6_tunnel.c:1841 [inline] ip6_tnl_dev_init+0x93/0x610 net/ipv6/ip6_tunnel.c:1885 register_netdevice+0x1c0/0x12a0 net/core/dev.c:9139 register_netdev+0x37/0x50 net/core/dev.c:9338 ip6_tnl_init_net+0x2c6/0x370 net/ipv6/ip6_tunnel.c:2261 ops_init+0x1d4/0x4a0 net/core/net_namespace.c:141 setup_net+0x214/0x990 net/core/net_namespace.c:348 copy_net_ns+0x30d/0x510 net/core/net_namespace.c:489 create_new_namespaces+0x47a/0x570 kernel/nsproxy.c:103 unshare_nsproxy_namespaces+0x119/0x170 kernel/nsproxy.c:202 ksys_unshare+0x544/0x990 kernel/fork.c:2908 __do_sys_unshare kernel/fork.c:2976 [inline] __se_sys_unshare kernel/fork.c:2974 [inline] __x64_sys_unshare+0x34/0x40 kernel/fork.c:2974 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7f411da34967 Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 10 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffcc99c58f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007f411dc4bf40 RCX: 00007f411da34967 RDX: 0000000000000005 RSI: 00007ffcc99c57c0 RDI: 0000000040000000 RBP: 00007f411dc4c738 R08: 00007f411e77dd60 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000008 R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000000 Modules linked in: ---[ end trace aa5d827572618f2e ]--- RIP: 0010:set_track mm/kasan/common.c:78 [inline] RIP: 0010:__kasan_kmalloc+0x1d9/0x210 mm/kasan/common.c:529 Code: fa 0f 92 c2 41 84 c3 75 10 20 d1 75 0c 48 ff c3 48 39 de 75 d1 89 f3 eb 02 ff c3 48 8d 7c 24 20 89 de 44 89 f2 e8 a7 87 b4 00 <43> 89 44 2c 04 65 48 8b 04 25 28 00 00 00 48 3b 84 24 20 02 00 00 RSP: 0018:ffff8881f6f09d18 EFLAGS: 00010292 RAX: 0000000088c00185 RBX: 0000000000000038 RCX: b35fb3d605cafd00 RDX: 00000000000001c0 RSI: 0000000000000246 RDI: 0000000000000000 RBP: ffff8881f6f09ec8 R08: dffffc0000000000 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: 00000000ffffa118 R13: dffffc0000000000 R14: ffffffff81941321 R15: ffff8881d62271c0 FS: 000055558c80c500(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000100000001 CR3: 00000001d8cbf000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess): 0: fa cli 1: 0f 92 c2 setb %dl 4: 41 84 c3 test %al,%r11b 7: 75 10 jne 0x19 9: 20 d1 and %dl,%cl b: 75 0c jne 0x19 d: 48 ff c3 inc %rbx 10: 48 39 de cmp %rbx,%rsi 13: 75 d1 jne 0xffffffe6 15: 89 f3 mov %esi,%ebx 17: eb 02 jmp 0x1b 19: ff c3 inc %ebx 1b: 48 8d 7c 24 20 lea 0x20(%rsp),%rdi 20: 89 de mov %ebx,%esi 22: 44 89 f2 mov %r14d,%edx 25: e8 a7 87 b4 00 call 0xb487d1 * 2a: 43 89 44 2c 04 mov %eax,0x4(%r12,%r13,1) <-- trapping instruction 2f: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax 36: 00 00 38: 48 3b 84 24 20 02 00 cmp 0x220(%rsp),%rax 3f: 00