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: 8323 Comm: syz.0.840 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/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 19 ae 01 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 e7 ae 01 f8 4c 89 23 48 b8 00 00 00 RSP: 0018:ffffc9001d58eea0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: ffffc9000d7c0000 RSI: 000000000000031e RDI: 000000000000031f RBP: ffffc9001d58f0c0 R08: ffff88802b923c00 R09: 0000000000000002 R10: 000000000000000a R11: 0000000000000002 R12: ffff8880557f1128 R13: ffff8880557f1100 R14: ffff8880557f08a8 R15: ffff8880557f1130 FS: 00007f3eb96ed6c0(0000) GS:ffff888125c12000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000007fc0 CR3: 0000000077bca000 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 udp_sendmsg+0x142e/0x2170 net/ipv4/udp.c:1450 sock_sendmsg_nosec net/socket.c:714 [inline] __sock_sendmsg+0x19c/0x270 net/socket.c:729 ____sys_sendmsg+0x52d/0x830 net/socket.c:2614 ___sys_sendmsg+0x21f/0x2a0 net/socket.c:2668 __sys_sendmmsg+0x227/0x430 net/socket.c:2757 __do_sys_sendmmsg net/socket.c:2784 [inline] __se_sys_sendmmsg net/socket.c:2781 [inline] __x64_sys_sendmmsg+0xa0/0xc0 net/socket.c:2781 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:0x7f3eb878eec9 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:00007f3eb96ed038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f3eb89e6090 RCX: 00007f3eb878eec9 RDX: 000000000800001d RSI: 0000200000007fc0 RDI: 0000000000000003 RBP: 00007f3eb8811f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f3eb89e6128 R14: 00007f3eb89e6090 R15: 00007f3eb8b0fa28 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 19 ae 01 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 e7 ae 01 f8 4c 89 23 48 b8 00 00 00 RSP: 0018:ffffc9001d58eea0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: ffffc9000d7c0000 RSI: 000000000000031e RDI: 000000000000031f RBP: ffffc9001d58f0c0 R08: ffff88802b923c00 R09: 0000000000000002 R10: 000000000000000a R11: 0000000000000002 R12: ffff8880557f1128 R13: ffff8880557f1100 R14: ffff8880557f08a8 R15: ffff8880557f1130 FS: 00007f3eb96ed6c0(0000) GS:ffff888125c12000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000007fc0 CR3: 0000000077bca000 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 19 ae 01 f8 call 0xf801ae28 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 e7 ae 01 f8 call 0xf801af18 31: 4c 89 23 mov %r12,(%rbx) 34: 48 rex.W 35: b8 .byte 0xb8 36: 00 00 add %al,(%rax)