RBP: 0000000020000000 R08: 00000000000000f0 R09: 0000000000000000 R10: 0000000000000064 R11: 0000000000000293 R12: 00007f09652e66d4 R13: 00000000004c619e R14: 00000000004daec0 R15: 0000000000000004 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: 31750 Comm: syz-executor3 Not tainted 4.20.0+ #254 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:xs_net include/net/xfrm.h:253 [inline] RIP: 0010:xfrmi_rcv_cb+0x14e/0x990 net/xfrm/xfrm_interface.c:259 Code: 7c ec 08 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 64 07 00 00 48 b8 00 00 00 00 00 fc ff df 4f 8b 64 ec 08 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 0f 85 4e 07 00 00 49 8b 3c 24 49 8d b4 24 d0 00 00 00 RSP: 0018:ffff8880665fe8f8 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff88809386e1c0 RCX: ffffc9000be21000 RDX: 0000000000000000 RSI: ffffffff86cbb11c RDI: ffff88809e81a9c8 RBP: ffff8880665fe938 R08: ffff8880969c8400 R09: ffffed1015ce5b8f R10: ffffed1015ce5b8f R11: ffff8880ae72dc7b R12: 0000000000000000 R13: ffffffffffffffff R14: dffffc0000000000 R15: 00000000ffffffff FS: 00007f09652e6700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000099307000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: xfrm6_rcv_cb+0x220/0x400 net/ipv6/xfrm6_protocol.c:59 xfrm_rcv_cb net/xfrm/xfrm_input.c:106 [inline] xfrm_input+0x999/0x3520 net/xfrm/xfrm_input.c:472 xfrm6_rcv_spi net/ipv6/xfrm6_input.c:31 [inline] xfrm6_rcv_tnl+0x168/0x1d0 net/ipv6/xfrm6_input.c:74 xfrm6_rcv+0x17/0x20 net/ipv6/xfrm6_input.c:81 xfrm6_esp_rcv+0x1a5/0x3a0 net/ipv6/xfrm6_protocol.c:74 ip6_protocol_deliver_rcu+0x372/0x1940 net/ipv6/ip6_input.c:394 ip6_input_finish+0x84/0x170 net/ipv6/ip6_input.c:434 NF_HOOK include/linux/netfilter.h:289 [inline] ip6_input+0xe9/0x600 net/ipv6/ip6_input.c:443 ip6_mc_input+0x514/0x11c0 net/ipv6/ip6_input.c:537 dst_input include/net/dst.h:450 [inline] ip6_rcv_finish+0x17a/0x330 net/ipv6/ip6_input.c:76 NF_HOOK include/linux/netfilter.h:289 [inline] ipv6_rcv+0x115/0x640 net/ipv6/ip6_input.c:272 __netif_receive_skb_one_core+0x14d/0x200 net/core/dev.c:4973 __netif_receive_skb+0x2c/0x1e0 net/core/dev.c:5083 netif_receive_skb_internal+0x12c/0x6b0 net/core/dev.c:5186 napi_frags_finish net/core/dev.c:5753 [inline] napi_gro_frags+0xd82/0x1050 net/core/dev.c:5827 tun_get_user+0x3111/0x4200 drivers/net/tun.c:1972 tun_chr_write_iter+0xb9/0x160 drivers/net/tun.c:2017 call_write_iter include/linux/fs.h:1857 [inline] do_iter_readv_writev+0x8b0/0xa80 fs/read_write.c:680 do_iter_write+0x185/0x5f0 fs/read_write.c:959 vfs_writev+0x1f1/0x360 fs/read_write.c:1004 do_writev+0x11a/0x310 fs/read_write.c:1039 __do_sys_writev fs/read_write.c:1112 [inline] __se_sys_writev fs/read_write.c:1109 [inline] __x64_sys_writev+0x75/0xb0 fs/read_write.c:1109 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457d81 Code: 75 14 b8 14 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 a4 b8 fb ff c3 48 83 ec 08 e8 1a 2d 00 00 48 89 04 24 b8 14 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 63 2d 00 00 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007f09652e5ba0 EFLAGS: 00000293 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 0000000000000140 RCX: 0000000000457d81 RDX: 0000000000000001 RSI: 00007f09652e5bf0 RDI: 00000000000000f0 RBP: 0000000020000000 R08: 00000000000000f0 R09: 0000000000000000 R10: 0000000000000064 R11: 0000000000000293 R12: 00007f09652e66d4 R13: 00000000004c619e R14: 00000000004daec0 R15: 0000000000000004 Modules linked in: ---[ end trace 2522f35ffe11d715 ]--- RIP: 0010:xs_net include/net/xfrm.h:253 [inline] RIP: 0010:xfrmi_rcv_cb+0x14e/0x990 net/xfrm/xfrm_interface.c:259 Code: 7c ec 08 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 64 07 00 00 48 b8 00 00 00 00 00 fc ff df 4f 8b 64 ec 08 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 0f 85 4e 07 00 00 49 8b 3c 24 49 8d b4 24 d0 00 00 00 RSP: 0018:ffff8880665fe8f8 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff88809386e1c0 RCX: ffffc9000be21000 RDX: 0000000000000000 RSI: ffffffff86cbb11c RDI: ffff88809e81a9c8 RBP: ffff8880665fe938 R08: ffff8880969c8400 R09: ffffed1015ce5b8f R10: ffffed1015ce5b8f R11: ffff8880ae72dc7b R12: 0000000000000000 R13: ffffffffffffffff R14: dffffc0000000000 R15: 00000000ffffffff FS: 00007f09652e6700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000099307000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400