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: 11039 Comm: syz.2.2162 Not tainted 6.16.0-syzkaller-06574-gd9104cec3e8f-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 79 b6 0b 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 b7 0b f8 4c 89 23 48 b8 00 00 00
RSP: 0018:ffffc9000630f400 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000
RDX: ffffc90003ccb000 RSI: 000000000000074b RDI: 000000000000074c
RBP: ffffc9000630f620 R08: ffff888023580000 R09: 0000000000000002
R10: 000000000000000a R11: 0000000000000002 R12: ffff888027a70028
R13: ffff888027a70000 R14: ffff888027a731a8 R15: ffff888027a70030
FS:  00007f67c4ad96c0(0000) GS:ffff8880b8680000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000080 CR3: 00000000239ee000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 xfrm_resolve_and_create_bundle+0x768/0x2f80
 xfrm_lookup_with_ifid+0x2a7/0x1a70
 xfrm_lookup_route+0x3c/0x1c0
 __ip4_datagram_connect+0x9a5/0x1270
 __ip6_datagram_connect+0x9f0/0x1150
 ip6_datagram_connect_v6_only+0x63/0xa0
 __sys_connect+0x316/0x440
 __x64_sys_connect+0x7a/0x90
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f67c3b8eb69
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:00007f67c4ad9038 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 00007f67c3db5fa0 RCX: 00007f67c3b8eb69
RDX: 000000000000001c RSI: 0000200000000000 RDI: 0000000000000004
RBP: 00007f67c3c11df1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f67c3db5fa0 R15: 00007ffc40c738c8
 </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 b6 0b 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 b7 0b f8 4c 89 23 48 b8 00 00 00
RSP: 0018:ffffc9000630f400 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000
RDX: ffffc90003ccb000 RSI: 000000000000074b RDI: 000000000000074c
RBP: ffffc9000630f620 R08: ffff888023580000 R09: 0000000000000002
R10: 000000000000000a R11: 0000000000000002 R12: ffff888027a70028
R13: ffff888027a70000 R14: ffff888027a731a8 R15: ffff888027a70030
FS:  00007f67c4ad96c0(0000) GS:ffff8880b8680000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000080 CR3: 00000000239ee000 CR4: 00000000000006f0
