BUG: unable to handle kernel paging request at ffffffff00000000 PGD 8e70067 P4D 8e70067 PUD 0 Oops: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 12623 Comm: syz-executor.5 Not tainted 4.19.90-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:xs_net include/net/xfrm.h:253 [inline] RIP: 0010:xfrmi_decode_session+0x15d/0x790 net/xfrm/xfrm_interface.c:94 Code: 80 3c 02 00 0f 85 06 06 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b 5c dc 10 48 89 da 48 c1 ea 03 80 3c 02 00 0f 85 d9 05 00 00 <4c> 8b 23 e8 9b 53 0c fb e8 c6 c9 1e fb 45 31 c9 45 31 c0 31 d2 31 RSP: 0018:ffff88803b04f120 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffffffff00000000 RCX: ffffc900108eb000 RDX: 1fffffffe0000000 RSI: ffffffff864c79ec RDI: ffff8880a899f408 RBP: ffff88803b04f148 R08: ffff888095bbc6c0 R09: ffffed1015d24733 R10: ffffed1015d24732 R11: ffff8880ae923993 R12: ffff8880a899f400 R13: 0000000000000039 R14: 000000000000000b R15: ffff8880553a0800 FS: 00007fd7fd67c700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffff00000000 CR3: 000000008575e000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __xfrm_policy_check+0x1f6/0x2550 net/xfrm/xfrm_policy.c:2342 __xfrm_policy_check2 include/net/xfrm.h:1202 [inline] xfrm_policy_check include/net/xfrm.h:1207 [inline] xfrm6_policy_check include/net/xfrm.h:1217 [inline] vti6_rcv+0x4b9/0x931 net/ipv6/ip6_vti.c:316 xfrm6_esp_rcv+0xd2/0x230 net/ipv6/xfrm6_protocol.c:74 ip6_input_finish+0x36f/0x17c0 net/ipv6/ip6_input.c:395 NF_HOOK include/linux/netfilter.h:289 [inline] NF_HOOK include/linux/netfilter.h:283 [inline] ip6_input+0xe4/0x3f0 net/ipv6/ip6_input.c:438 dst_input include/net/dst.h:453 [inline] ip6_rcv_finish+0x1de/0x2f0 net/ipv6/ip6_input.c:76 NF_HOOK include/linux/netfilter.h:289 [inline] NF_HOOK include/linux/netfilter.h:283 [inline] ipv6_rcv+0x119/0x430 net/ipv6/ip6_input.c:283 __netif_receive_skb_one_core+0x113/0x1a0 net/core/dev.c:4946 __netif_receive_skb+0x2c/0x1d0 net/core/dev.c:5058 netif_receive_skb_internal+0x117/0x700 net/core/dev.c:5161 napi_frags_finish net/core/dev.c:5704 [inline] napi_gro_frags+0x602/0xa20 net/core/dev.c:5777 tun_get_user+0x2f08/0x4c30 drivers/net/tun.c:1939 tun_chr_write_iter+0xbd/0x156 drivers/net/tun.c:1985 call_write_iter include/linux/fs.h:1820 [inline] do_iter_readv_writev+0x558/0x830 fs/read_write.c:681 do_iter_write fs/read_write.c:960 [inline] do_iter_write+0x184/0x5f0 fs/read_write.c:941 vfs_writev+0x1b3/0x2f0 fs/read_write.c:1005 do_writev+0x15e/0x370 fs/read_write.c:1040 __do_sys_writev fs/read_write.c:1113 [inline] __se_sys_writev fs/read_write.c:1110 [inline] __x64_sys_writev+0x75/0xb0 fs/read_write.c:1110 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45a7d1 Code: 75 14 b8 14 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 e4 b7 fb ff c3 48 83 ec 08 e8 fa 2c 00 00 48 89 04 24 b8 14 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 43 2d 00 00 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007fd7fd67bba0 EFLAGS: 00000293 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 000000000000004a RCX: 000000000045a7d1 RDX: 0000000000000001 RSI: 00007fd7fd67bc00 RDI: 00000000000000f0 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00007fd7fd67c6d4 R13: 00000000004cab1f R14: 00000000004e4040 R15: 00000000ffffffff Modules linked in: CR2: ffffffff00000000 ---[ end trace 63269f893f5dc2fd ]--- RIP: 0010:xs_net include/net/xfrm.h:253 [inline] RIP: 0010:xfrmi_decode_session+0x15d/0x790 net/xfrm/xfrm_interface.c:94 Code: 80 3c 02 00 0f 85 06 06 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b 5c dc 10 48 89 da 48 c1 ea 03 80 3c 02 00 0f 85 d9 05 00 00 <4c> 8b 23 e8 9b 53 0c fb e8 c6 c9 1e fb 45 31 c9 45 31 c0 31 d2 31 RSP: 0018:ffff88803b04f120 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffffffff00000000 RCX: ffffc900108eb000 RDX: 1fffffffe0000000 RSI: ffffffff864c79ec RDI: ffff8880a899f408 RBP: ffff88803b04f148 R08: ffff888095bbc6c0 R09: ffffed1015d24733 R10: ffffed1015d24732 R11: ffff8880ae923993 R12: ffff8880a899f400 R13: 0000000000000039 R14: 000000000000000b R15: ffff8880553a0800 FS: 00007fd7fd67c700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffff00000000 CR3: 000000008575e000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400