Oops: general protection fault, probably for non-canonical address 0xe99ffbffeb1471cc: 0000 [#1] SMP KASAN PTI
KASAN: maybe wild-memory-access in range [0x4cffffff58a38e60-0x4cffffff58a38e67]
CPU: 1 UID: 0 PID: 16014 Comm: syz.0.3273 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:__xfrm_state_lookup+0x30c/0x8d0
Code: 18 48 8d 48 08 48 c1 e8 03 48 89 44 24 30 48 89 4c 24 38 48 c1 e9 03 48 89 4c 24 50 4c 8d b3 42 01 00 00 4c 89 f0 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 7c 03 00 00 45 0f b7 36 44 89 f7 44 89
RSP: 0018:ffffc90003b5ece0 EFLAGS: 00010207
RAX: 099fffffeb1471cc RBX: 4cffffff58a38d24 RCX: 0000000000080000
RDX: ffffc90007dd9000 RSI: 00000000000004ce RDI: 00000000000004cf
RBP: ffffc90003b5edd0 R08: ffff888021de8000 R09: 0000000000000002
R10: 000000000000000a R11: 0000000000000002 R12: dffffc0000000000
R13: 0000000000000002 R14: 4cffffff58a38e66 R15: 0000000000000001
FS:  00007f66c481c6c0(0000) GS:ffff8881a3c15000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f66c3974c80 CR3: 000000003ee70000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 xfrm_input_state_lookup+0x6e9/0xa60
 xfrm_input+0x425c/0x72c0
 vti_input+0x219/0x330
 xfrm4_rcv_encap+0x39f/0x620
 udp_queue_rcv_one_skb+0x17bc/0x19e0
 udp_unicast_rcv_skb+0x257/0x400
 __udp4_lib_rcv+0x1496/0x2600
 ip_protocol_deliver_rcu+0x282/0x440
 ip_local_deliver_finish+0x3bb/0x6f0
 NF_HOOK+0x30c/0x3a0
 NF_HOOK+0x30c/0x3a0
 __netif_receive_skb+0x143/0x380
 netif_receive_skb+0x1cb/0x790
 tun_rx_batched+0x1b9/0x730
 tun_get_user+0x2aa2/0x3e20
 tun_chr_write_iter+0x113/0x200
 vfs_write+0x5c9/0xb30
 ksys_write+0x145/0x250
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f66c398d6df
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48
RSP: 002b:00007f66c481c000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f66c3bd5fa0 RCX: 00007f66c398d6df
RDX: 00000000000000be RSI: 0000200000000000 RDI: 00000000000000c8
RBP: 00007f66c3a11e41 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000000000be R11: 0000000000000293 R12: 0000000000000000
R13: 00007f66c3bd6038 R14: 00007f66c3bd5fa0 R15: 00007fff18d05f78
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__xfrm_state_lookup+0x30c/0x8d0
Code: 18 48 8d 48 08 48 c1 e8 03 48 89 44 24 30 48 89 4c 24 38 48 c1 e9 03 48 89 4c 24 50 4c 8d b3 42 01 00 00 4c 89 f0 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 7c 03 00 00 45 0f b7 36 44 89 f7 44 89
RSP: 0018:ffffc90003b5ece0 EFLAGS: 00010207
RAX: 099fffffeb1471cc RBX: 4cffffff58a38d24 RCX: 0000000000080000
RDX: ffffc90007dd9000 RSI: 00000000000004ce RDI: 00000000000004cf
RBP: ffffc90003b5edd0 R08: ffff888021de8000 R09: 0000000000000002
R10: 000000000000000a R11: 0000000000000002 R12: dffffc0000000000
R13: 0000000000000002 R14: 4cffffff58a38e66 R15: 0000000000000001
FS:  00007f66c481c6c0(0000) GS:ffff8881a3c15000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f66c3974c80 CR3: 000000003ee70000 CR4: 00000000000006f0
