audit: type=1804 audit(1599339696.375:149): pid=29097 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.4" name="/root/syzkaller-testdir963598424/syzkaller.OLOdJV/469/cgroup.controllers" dev="sda1" ino=16753 res=1 kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 29115 Comm: syz-executor.1 Not tainted 4.19.143-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__read_once_size include/linux/compiler.h:193 [inline] RIP: 0010:net_generic include/net/netns/generic.h:45 [inline] RIP: 0010:xfrmi_decode_session+0x1b4/0x770 net/xfrm/xfrm_interface.c:94 Code: 6c 27 fb 85 db 58 0f 85 89 03 00 00 e8 d5 6a 27 fb 49 8d bc 24 48 1b 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 4f 05 00 00 4d 8b a4 24 48 1b 00 00 e8 05 32 15 RSP: 0018:ffff8880228ef188 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffffc900080e9000 RDX: 0000000000000469 RSI: ffffffff864246fb RDI: 0000000000002348 RBP: 0000000000000039 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000800 R13: 000000000000005e R14: ffff888089ac8500 R15: 0000000000000000 FS: 00007fb8a523a700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020cfefee CR3: 000000008b0d5000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __xfrm_policy_check+0x1eb/0x2300 net/xfrm/xfrm_policy.c:2339 __xfrm_policy_check2 include/net/xfrm.h:1202 [inline] xfrm_policy_check include/net/xfrm.h:1207 [inline] xfrm4_policy_check include/net/xfrm.h:1212 [inline] vti_input+0x57c/0x800 net/ipv4/ip_vti.c:63 xfrm4_esp_rcv+0xc8/0x220 net/ipv4/xfrm4_protocol.c:100 ip_local_deliver_finish+0x495/0xc00 net/ipv4/ip_input.c:215 NF_HOOK include/linux/netfilter.h:289 [inline] ip_local_deliver+0x188/0x500 net/ipv4/ip_input.c:256 dst_input include/net/dst.h:461 [inline] ip_rcv_finish+0x1ca/0x2e0 net/ipv4/ip_input.c:414 NF_HOOK include/linux/netfilter.h:289 [inline] ip_rcv+0xca/0x3c0 net/ipv4/ip_input.c:524 __netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:4954 __netif_receive_skb+0x27/0x1c0 net/core/dev.c:5066 netif_receive_skb_internal+0xf0/0x3f0 net/core/dev.c:5156 napi_frags_finish net/core/dev.c:5683 [inline] napi_gro_frags+0x67b/0x990 net/core/dev.c:5756 tun_get_user+0x2a53/0x4be0 drivers/net/tun.c:1949 tun_chr_write_iter+0xb0/0x150 drivers/net/tun.c:1995 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 __kernel_write+0x109/0x370 fs/read_write.c:506 write_pipe_buf+0x153/0x1f0 fs/splice.c:798 splice_from_pipe_feed fs/splice.c:503 [inline] __splice_from_pipe+0x389/0x800 fs/splice.c:627 splice_from_pipe fs/splice.c:662 [inline] default_file_splice_write+0xd8/0x180 fs/splice.c:810 do_splice_from fs/splice.c:852 [inline] do_splice fs/splice.c:1154 [inline] __do_sys_splice fs/splice.c:1428 [inline] __se_sys_splice+0xfe7/0x16d0 fs/splice.c:1408 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45d5b9 Code: 5d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fb8a5239c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 0000000000033980 RCX: 000000000045d5b9 RDX: 0000000000000005 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 000000000118d0d8 R08: 0000000000010005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118d08c R13: 00007ffc35ae5a8f R14: 00007fb8a523a9c0 R15: 000000000118d08c Modules linked in: ---[ end trace 724160960e9f793b ]--- RIP: 0010:__read_once_size include/linux/compiler.h:193 [inline] RIP: 0010:net_generic include/net/netns/generic.h:45 [inline] RIP: 0010:xfrmi_decode_session+0x1b4/0x770 net/xfrm/xfrm_interface.c:94 Code: 6c 27 fb 85 db 58 0f 85 89 03 00 00 e8 d5 6a 27 fb 49 8d bc 24 48 1b 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 4f 05 00 00 4d 8b a4 24 48 1b 00 00 e8 05 32 15 RSP: 0018:ffff8880228ef188 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffffc900080e9000 RDX: 0000000000000469 RSI: ffffffff864246fb RDI: 0000000000002348 RBP: 0000000000000039 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000800 R13: 000000000000005e R14: ffff888089ac8500 R15: 0000000000000000 FS: 00007fb8a523a700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020cfefee CR3: 000000008b0d5000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400