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: 12823 Comm: syz.3.1810 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:hlist_add_before_rcu include/linux/rculist.h:705 [inline] RIP: 0010:xfrm_state_find+0x4c9b/0x5400 net/xfrm/xfrm_state.c:1574 Code: 00 00 00 00 00 fc ff df 80 3c 03 00 74 08 4c 89 ff e8 09 46 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 d7 46 02 f8 4c 89 23 48 b8 00 00 00 RSP: 0018:ffffc90002f77400 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: ffffc9000dfbe000 RSI: 00000000000006d8 RDI: 00000000000006d9 RBP: ffffc90002f77620 R08: dffffc0000000000 R09: 0000000000000002 R10: 000000000000000a R11: 0000000000000002 R12: ffff88805286d128 R13: ffff88805286d100 R14: ffff88805286c028 R15: ffff88805286d130 FS: 00007ff3215a56c0(0000) GS:ffff888125c1b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff3215a4f98 CR3: 000000007cbf2000 CR4: 00000000003526f0 Call Trace: xfrm_tmpl_resolve_one net/xfrm/xfrm_policy.c:2522 [inline] xfrm_tmpl_resolve net/xfrm/xfrm_policy.c:2573 [inline] xfrm_resolve_and_create_bundle+0x768/0x2f80 net/xfrm/xfrm_policy.c:2871 xfrm_lookup_with_ifid+0x2a7/0x1a70 net/xfrm/xfrm_policy.c:3205 xfrm_lookup net/xfrm/xfrm_policy.c:3336 [inline] xfrm_lookup_route+0x3c/0x1c0 net/xfrm/xfrm_policy.c:3347 ip_route_connect include/net/route.h:355 [inline] __ip4_datagram_connect+0x9a5/0x1270 net/ipv4/datagram.c:49 __ip6_datagram_connect+0x9f0/0x1150 net/ipv6/datagram.c:196 ip6_datagram_connect net/ipv6/datagram.c:279 [inline] ip6_datagram_connect_v6_only+0x63/0xa0 net/ipv6/datagram.c:291 __sys_connect_file net/socket.c:2086 [inline] __sys_connect+0x316/0x440 net/socket.c:2105 __do_sys_connect net/socket.c:2111 [inline] __se_sys_connect net/socket.c:2108 [inline] __x64_sys_connect+0x7a/0x90 net/socket.c:2108 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff32078ebe9 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:00007ff3215a5038 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007ff3209b6090 RCX: 00007ff32078ebe9 RDX: 000000000000001c RSI: 0000200000000040 RDI: 0000000000000005 RBP: 00007ff320811e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ff3209b6128 R14: 00007ff3209b6090 R15: 00007ff320adfa28 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hlist_add_before_rcu include/linux/rculist.h:705 [inline] RIP: 0010:xfrm_state_find+0x4c9b/0x5400 net/xfrm/xfrm_state.c:1574 Code: 00 00 00 00 00 fc ff df 80 3c 03 00 74 08 4c 89 ff e8 09 46 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 d7 46 02 f8 4c 89 23 48 b8 00 00 00 RSP: 0018:ffffc90002f77400 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: ffffc9000dfbe000 RSI: 00000000000006d8 RDI: 00000000000006d9 RBP: ffffc90002f77620 R08: dffffc0000000000 R09: 0000000000000002 R10: 000000000000000a R11: 0000000000000002 R12: ffff88805286d128 R13: ffff88805286d100 R14: ffff88805286c028 R15: ffff88805286d130 FS: 00007ff3215a56c0(0000) GS:ffff888125c1b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff3215a4f98 CR3: 000000007cbf2000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess), 7 bytes skipped: 0: df 80 3c 03 00 74 filds 0x7400033c(%rax) 6: 08 4c 89 ff or %cl,-0x1(%rcx,%rcx,4) a: e8 09 46 02 f8 call 0xf8024618 f: 49 8b 1f mov (%r15),%rbx 12: 48 89 d8 mov %rbx,%rax 15: 48 c1 e8 03 shr $0x3,%rax 19: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 20: fc ff df * 23: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction 27: 74 08 je 0x31 29: 48 89 df mov %rbx,%rdi 2c: e8 d7 46 02 f8 call 0xf8024708 31: 4c 89 23 mov %r12,(%rbx) 34: 48 rex.W 35: b8 .byte 0xb8 36: 00 00 add %al,(%rax)