general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 32146 Comm: syz.2.11263 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:hlist_add_before_rcu include/linux/rculist.h:656 [inline] RIP: 0010:xfrm_alloc_spi+0x1002/0x11f0 net/xfrm/xfrm_state.c:2306 Code: fc ff df 80 3c 03 00 4c 8b 74 24 10 74 08 4c 89 f7 e8 02 99 be f8 4d 8b 36 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 48 8b 5c 24 28 74 08 4c 89 f7 e8 7b 99 be f8 4d 89 26 RSP: 0018:ffffc9000476f1a0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 1ffff11005ef6886 RCX: dffffc0000000000 RDX: ffffc9000ce2b000 RSI: 000000000000086b RDI: 000000000000086c RBP: ffffc9000476f2f0 R08: dffffc0000000000 R09: 0000000000000002 R10: 000000000000000a R11: 0000000000000002 R12: ffff88802f7b4428 R13: ffff88802f7b4430 R14: 0000000000000000 R15: 1ffff11005ef6886 FS: 00007fe259a016c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9d73a4f5c1 CR3: 000000002eecf000 CR4: 00000000003506f0 Call Trace: xfrm_alloc_userspi+0x5d1/0xa90 net/xfrm/xfrm_user.c:1623 xfrm_user_rcv_msg+0x596/0x870 net/xfrm/xfrm_user.c:3169 netlink_rcv_skb+0x216/0x480 net/netlink/af_netlink.c:2545 xfrm_netlink_rcv+0x79/0x90 net/xfrm/xfrm_user.c:3191 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x751/0x8d0 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x8c1/0xbe0 net/netlink/af_netlink.c:1894 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x5bf/0x950 net/socket.c:2595 ___sys_sendmsg+0x220/0x290 net/socket.c:2649 __sys_sendmsg net/socket.c:2678 [inline] __do_sys_sendmsg net/socket.c:2687 [inline] __se_sys_sendmsg+0x1a5/0x270 net/socket.c:2685 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fe258b8ebe9 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:00007fe259a01038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fe258db5fa0 RCX: 00007fe258b8ebe9 RDX: 0000000000048040 RSI: 00002000000006c0 RDI: 0000000000000003 RBP: 00007fe258c11e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fe258db6038 R14: 00007fe258db5fa0 R15: 00007ffd75688178 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hlist_add_before_rcu include/linux/rculist.h:656 [inline] RIP: 0010:xfrm_alloc_spi+0x1002/0x11f0 net/xfrm/xfrm_state.c:2306 Code: fc ff df 80 3c 03 00 4c 8b 74 24 10 74 08 4c 89 f7 e8 02 99 be f8 4d 8b 36 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 48 8b 5c 24 28 74 08 4c 89 f7 e8 7b 99 be f8 4d 89 26 RSP: 0018:ffffc9000476f1a0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 1ffff11005ef6886 RCX: dffffc0000000000 RDX: ffffc9000ce2b000 RSI: 000000000000086b RDI: 000000000000086c RBP: ffffc9000476f2f0 R08: dffffc0000000000 R09: 0000000000000002 R10: 000000000000000a R11: 0000000000000002 R12: ffff88802f7b4428 R13: ffff88802f7b4430 R14: 0000000000000000 R15: 1ffff11005ef6886 FS: 00007fe259a016c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9d73a4f5c1 CR3: 000000002eecf000 CR4: 00000000003506f0 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: df 80 3c 03 00 4c filds 0x4c00033c(%rax) 6: 8b 74 24 10 mov 0x10(%rsp),%esi a: 74 08 je 0x14 c: 4c 89 f7 mov %r14,%rdi f: e8 02 99 be f8 call 0xf8be9916 14: 4d 8b 36 mov (%r14),%r14 17: 4c 89 f0 mov %r14,%rax 1a: 48 c1 e8 03 shr $0x3,%rax 1e: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 25: fc ff df * 28: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction 2c: 48 8b 5c 24 28 mov 0x28(%rsp),%rbx 31: 74 08 je 0x3b 33: 4c 89 f7 mov %r14,%rdi 36: e8 7b 99 be f8 call 0xf8be99b6 3b: 4d 89 26 mov %r12,(%r14)