Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 0 UID: 0 PID: 28356 Comm: syz.1.5601 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_find+0x4c9b/0x5400
Code: 00 00 00 00 00 fc ff df 80 3c 03 00 74 08 4c 89 ff e8 79 08 02 f8 49 8b 1f 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 47 09 02 f8 4c 89 23 48 b8 00 00 00
RSP: 0018:ffffc9000668ef00 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000008
RBP: ffffc9000668f120 R08: dffffc0000000000 R09: 0000000000000002
R10: 000000000000000a R11: 0000000000000000 R12: ffff8880382e2d28
R13: ffff8880382e2d00 R14: ffff8880382e1b28 R15: ffff8880382e2d30
FS:  00007f45204cc6c0(0000) GS:ffff8880b861a000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f45204aafc8 CR3: 0000000020d5c000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 xfrm_resolve_and_create_bundle+0x768/0x2f80
 xfrm_lookup_with_ifid+0x2a7/0x1a70
 xfrm_lookup_route+0x3c/0x1c0
 rawv6_sendmsg+0xdab/0x1820
 __sock_sendmsg+0x19c/0x270
 ____sys_sendmsg+0x52d/0x830
 ___sys_sendmsg+0x21f/0x2a0
 __sys_sendmmsg+0x227/0x430
 __x64_sys_sendmmsg+0xa0/0xc0
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f451f58ebe9
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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f45204cc038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007f451f7b5fa0 RCX: 00007f451f58ebe9
RDX: 00000000000002e9 RSI: 0000200000000480 RDI: 0000000000000004
RBP: 00007f451f611e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f451f7b6038 R14: 00007f451f7b5fa0 R15: 00007fff498a9b48
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:xfrm_state_find+0x4c9b/0x5400
Code: 00 00 00 00 00 fc ff df 80 3c 03 00 74 08 4c 89 ff e8 79 08 02 f8 49 8b 1f 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 47 09 02 f8 4c 89 23 48 b8 00 00 00
RSP: 0018:ffffc9000668ef00 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000008
RBP: ffffc9000668f120 R08: dffffc0000000000 R09: 0000000000000002
R10: 000000000000000a R11: 0000000000000000 R12: ffff8880382e2d28
R13: ffff8880382e2d00 R14: ffff8880382e1b28 R15: ffff8880382e2d30
FS:  00007f45204cc6c0(0000) GS:ffff8880b861a000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f45204aafc8 CR3: 0000000020d5c000 CR4: 00000000000006f0
