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: 9743 Comm: syz.2.1112 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 e9 3f 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 b7 40 02 f8 4c 89 23 48 b8 00 00 00 RSP: 0018:ffffc9001dc4ef00 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: ffffc9000bfd1000 RSI: 0000000000000334 RDI: 0000000000000335 RBP: ffffc9001dc4f120 R08: dffffc0000000000 R09: 0000000000000002 R10: 000000000000000a R11: 0000000000000002 R12: ffff88804b72a668 R13: ffff88804b72a640 R14: ffff88804b00c8a8 R15: ffff88804b72a670 FS: 00007f43e82026c0(0000) GS:ffff888125c18000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3351aff8 CR3: 000000007eb36000 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 rawv6_sendmsg+0xdab/0x1820 net/ipv6/raw.c:893 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:0x7f43e738ebe9 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:00007f43e8202038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f43e75c5fa0 RCX: 00007f43e738ebe9 RDX: 00000000000002e9 RSI: 0000200000000480 RDI: 0000000000000006 RBP: 00007f43e7411e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f43e75c6038 R14: 00007f43e75c5fa0 R15: 00007fff6fdbca18 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 e9 3f 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 b7 40 02 f8 4c 89 23 48 b8 00 00 00 RSP: 0018:ffffc9001dc4ef00 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: ffffc9000bfd1000 RSI: 0000000000000334 RDI: 0000000000000335 RBP: ffffc9001dc4f120 R08: dffffc0000000000 R09: 0000000000000002 R10: 000000000000000a R11: 0000000000000002 R12: ffff88804b72a668 R13: ffff88804b72a640 R14: ffff88804b00c8a8 R15: ffff88804b72a670 FS: 00007f43e82026c0(0000) GS:ffff888125c18000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3351aff8 CR3: 000000007eb36000 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 e9 3f 02 f8 call 0xf8023ff8 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 b7 40 02 f8 call 0xf80240e8 31: 4c 89 23 mov %r12,(%rbx) 34: 48 rex.W 35: b8 .byte 0xb8 36: 00 00 add %al,(%rax)