BUG: unable to handle page fault for address: ffffffff818c7cc4 #PF: supervisor write access in kernel mode #PF: error_code(0x0003) - permissions violation PGD df3b067 P4D df3b067 PUD df3c063 PMD 18001a1 Oops: Oops: 0003 [#1] SMP KASAN PTI CPU: 0 UID: 0 PID: 11518 Comm: syz.1.1349 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+0x4ca9/0x5400 net/xfrm/xfrm_state.c:1574 Code: 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 00 00 fc ff df 48 8b 4c 24 20 80 3c 01 00 RSP: 0018:ffffc9000df6ef00 EFLAGS: 00010246 RAX: 1ffffffff0318f98 RBX: ffffffff818c7cc4 RCX: dffffc0000000000 RDX: ffffc9000cf90000 RSI: 000000000000030e RDI: 000000000000030f RBP: ffffc9000df6f120 R08: dffffc0000000000 R09: 0000000000000002 R10: 000000000000000a R11: 0000000000000002 R12: ffff8880566feee8 R13: ffff8880566feec0 R14: ffff88802978cce8 R15: ffff8880566feef0 FS: 00007fa5bc9a46c0(0000) GS:ffff888125c1b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffff818c7cc4 CR3: 0000000078274000 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:0x7fa5bbb8ebe9 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:00007fa5bc9a4038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007fa5bbdb6090 RCX: 00007fa5bbb8ebe9 RDX: 00000000000002e9 RSI: 0000200000000480 RDI: 0000000000000009 RBP: 00007fa5bbc11e19 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000ffe0 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fa5bbdb6128 R14: 00007fa5bbdb6090 R15: 00007fa5bbedfa28 Modules linked in: CR2: ffffffff818c7cc4 ---[ end trace 0000000000000000 ]--- RIP: 0010:hlist_add_before_rcu include/linux/rculist.h:705 [inline] RIP: 0010:xfrm_state_find+0x4ca9/0x5400 net/xfrm/xfrm_state.c:1574 Code: 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 00 00 fc ff df 48 8b 4c 24 20 80 3c 01 00 RSP: 0018:ffffc9000df6ef00 EFLAGS: 00010246 RAX: 1ffffffff0318f98 RBX: ffffffff818c7cc4 RCX: dffffc0000000000 RDX: ffffc9000cf90000 RSI: 000000000000030e RDI: 000000000000030f RBP: ffffc9000df6f120 R08: dffffc0000000000 R09: 0000000000000002 R10: 000000000000000a R11: 0000000000000002 R12: ffff8880566feee8 R13: ffff8880566feec0 R14: ffff88802978cce8 R15: ffff8880566feef0 FS: 00007fa5bc9a46c0(0000) GS:ffff888125c1b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffff818c7cc4 CR3: 0000000078274000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: 4c 89 ff mov %r15,%rdi 3: e8 09 46 02 f8 call 0xf8024611 8: 49 8b 1f mov (%r15),%rbx b: 48 89 d8 mov %rbx,%rax e: 48 c1 e8 03 shr $0x3,%rax 12: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 19: fc ff df 1c: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) 20: 74 08 je 0x2a 22: 48 89 df mov %rbx,%rdi 25: e8 d7 46 02 f8 call 0xf8024701 * 2a: 4c 89 23 mov %r12,(%rbx) <-- trapping instruction 2d: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 34: fc ff df 37: 48 8b 4c 24 20 mov 0x20(%rsp),%rcx 3c: 80 3c 01 00 cmpb $0x0,(%rcx,%rax,1)