Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 UID: 0 PID: 24963 Comm: syz.6.4460 Not tainted 6.16.0-syzkaller-11895-gcca7a0aae895-dirty #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 59 42 03 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 27 43 03 f8 4c 89 23 48 b8 00 00 00
RSP: 0018:ffffc9000635ef00 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000
RDX: ffffc900209a2000 RSI: 0000000000000378 RDI: 0000000000000379
RBP: ffffc9000635f120 R08: dffffc0000000000 R09: 0000000000000002
R10: 000000000000000a R11: 0000000000000002 R12: ffff88812f2984a8
R13: ffff88812f298480 R14: ffff88811e16d6a8 R15: ffff88812f2984b0
FS:  00007f162df5c6c0(0000) GS:ffff8881a3c21000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c39e630 CR3: 0000000027f6e000 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:0x7f162d18ebe9
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:00007f162df5c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007f162d3b5fa0 RCX: 00007f162d18ebe9
RDX: 0000000000000021 RSI: 0000200000000480 RDI: 0000000000000004
RBP: 00007f162d211e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f162d3b6038 R14: 00007f162d3b5fa0 R15: 00007ffe2fdcba88
 </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 59 42 03 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 27 43 03 f8 4c 89 23 48 b8 00 00 00
RSP: 0018:ffffc9000635ef00 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000
RDX: ffffc900209a2000 RSI: 0000000000000378 RDI: 0000000000000379
RBP: ffffc9000635f120 R08: dffffc0000000000 R09: 0000000000000002
R10: 000000000000000a R11: 0000000000000002 R12: ffff88812f2984a8
R13: ffff88812f298480 R14: ffff88811e16d6a8 R15: ffff88812f2984b0
FS:  00007f162df5c6c0(0000) GS:ffff8881a3c21000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c39e630 CR3: 0000000027f6e000 CR4: 00000000000006f0
