audit: type=1400 audit(1572418326.656:68): avc: denied { prog_run } for pid=8481 comm="syz-executor.1" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=bpf permissive=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: 0 PID: 8500 Comm: syz-executor.5 Not tainted 4.19.81 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__vunmap+0x68/0x400 mm/vmalloc.c:1512
Code: 85 e4 0f 85 de 02 00 00 e8 f5 2e d1 ff 4c 89 ef e8 cd 82 ff ff 48 ba 00 00 00 00 00 fc ff df 48 8d 78 48 48 89 f9 48 c1 e9 03 <80> 3c 11 00 0f 85 50 03 00 00 4c 8b 60 48 4d 85 e4 0f 84 bd 02 00
RSP: 0018:ffff888051977310 EFLAGS: 00010206
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000009
RDX: dffffc0000000000 RSI: 0000000000000004 RDI: 0000000000000048
RBP: ffff888051977350 R08: 1ffffffff110633c R09: fffffbfff110633d
R10: fffffbfff110633c R11: ffffffff888319e3 R12: 0000000000000000
R13: ffffc90005a8b000 R14: ffffe8ffffc63720 R15: 0000607f51463720
FS: 00007fb7a4b6d700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33529000 CR3: 0000000091fe1000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
vfree+0x6a/0x100 mm/vmalloc.c:1597
ipcomp_free_scratches+0xc0/0x150 net/xfrm/xfrm_ipcomp.c:216
ipcomp_free_data net/xfrm/xfrm_ipcomp.c:325 [inline]
ipcomp_init_state+0x76d/0xa10 net/xfrm/xfrm_ipcomp.c:377
ipcomp4_init_state+0xc5/0x830 net/ipv4/ipcomp.c:137
__xfrm_init_state+0x54f/0xef0 net/xfrm/xfrm_state.c:2312
xfrm_state_construct net/xfrm/xfrm_user.c:625 [inline]
xfrm_add_sa+0x1f6c/0x351e net/xfrm/xfrm_user.c:682
xfrm_user_rcv_msg+0x450/0x720 net/xfrm/xfrm_user.c:2677
netlink_rcv_skb+0x17d/0x460 net/netlink/af_netlink.c:2454
xfrm_netlink_rcv+0x70/0x90 net/xfrm/xfrm_user.c:2685
netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline]
netlink_unicast+0x537/0x720 net/netlink/af_netlink.c:1343
netlink_sendmsg+0x8ae/0xd70 net/netlink/af_netlink.c:1908
sock_sendmsg_nosec net/socket.c:622 [inline]
sock_sendmsg+0xd7/0x130 net/socket.c:632
___sys_sendmsg+0x803/0x920 net/socket.c:2115
__sys_sendmsg+0x105/0x1d0 net/socket.c:2153
__do_sys_sendmsg net/socket.c:2162 [inline]
__se_sys_sendmsg net/socket.c:2160 [inline]
__x64_sys_sendmsg+0x78/0xb0 net/socket.c:2160
do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x459f49
Code: ad b6 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 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fb7a4b6cc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459f49
RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000003
RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb7a4b6d6d4
R13: 00000000004c8360 R14: 00000000004de638 R15: 00000000ffffffff
Modules linked in:
kobject: 'loop1' (00000000af06c2cd): kobject_uevent_env
kobject: 'loop1' (00000000af06c2cd): fill_kobj_path: path = '/devices/virtual/block/loop1'
kobject: 'loop1' (00000000af06c2cd): kobject_uevent_env
kobject: 'kvm' (0000000080cd5491): kobject_uevent_env
kobject: 'loop1' (00000000af06c2cd): fill_kobj_path: path = '/devices/virtual/block/loop1'
kobject: 'loop4' (000000000be55a00): kobject_uevent_env
kobject: 'loop4' (000000000be55a00): fill_kobj_path: path = '/devices/virtual/block/loop4'
kobject: 'kvm' (0000000080cd5491): fill_kobj_path: path = '/devices/virtual/misc/kvm'
kobject: 'loop3' (000000005c0eb380): kobject_uevent_env
kobject: 'loop3' (000000005c0eb380): fill_kobj_path: path = '/devices/virtual/block/loop3'
kobject: 'kvm' (0000000080cd5491): kobject_uevent_env
kobject: 'loop3' (000000005c0eb380): kobject_uevent_env
kobject: 'loop3' (000000005c0eb380): fill_kobj_path: path = '/devices/virtual/block/loop3'
kobject: 'loop3' (000000005c0eb380): kobject_uevent_env
kobject: 'kvm' (0000000080cd5491): fill_kobj_path: path = '/devices/virtual/misc/kvm'
kobject: 'loop3' (000000005c0eb380): fill_kobj_path: path = '/devices/virtual/block/loop3'
kobject: 'kvm' (0000000080cd5491): kobject_uevent_env
---[ end trace fbcc6790218c90da ]---
kobject: 'loop2' (000000003e29d04c): kobject_uevent_env
kobject: 'loop2' (000000003e29d04c): fill_kobj_path: path = '/devices/virtual/block/loop2'
RIP: 0010:__vunmap+0x68/0x400 mm/vmalloc.c:1512
Code: 85 e4 0f 85 de 02 00 00 e8 f5 2e d1 ff 4c 89 ef e8 cd 82 ff ff 48 ba 00 00 00 00 00 fc ff df 48 8d 78 48 48 89 f9 48 c1 e9 03 <80> 3c 11 00 0f 85 50 03 00 00 4c 8b 60 48 4d 85 e4 0f 84 bd 02 00
devpts: called with bogus options
kobject: 'loop0' (000000001675b699): kobject_uevent_env
kobject: 'kvm' (0000000080cd5491): fill_kobj_path: path = '/devices/virtual/misc/kvm'
kobject: 'loop0' (000000001675b699): fill_kobj_path: path = '/devices/virtual/block/loop0'
RSP: 0018:ffff888051977310 EFLAGS: 00010206
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000009
kobject: 'kvm' (0000000080cd5491): kobject_uevent_env
RDX: dffffc0000000000 RSI: 0000000000000004 RDI: 0000000000000048
kobject: 'kvm' (0000000080cd5491): fill_kobj_path: path = '/devices/virtual/misc/kvm'
RBP: ffff888051977350 R08: 1ffffffff110633c R09: fffffbfff110633d
kobject: 'loop2' (000000003e29d04c): kobject_uevent_env
kobject: 'loop2' (000000003e29d04c): fill_kobj_path: path = '/devices/virtual/block/loop2'
R10: fffffbfff110633c R11: ffffffff888319e3 R12: 0000000000000000
kobject: 'loop4' (000000000be55a00): kobject_uevent_env
R13: ffffc90005a8b000 R14: ffffe8ffffc63720 R15: 0000607f51463720
kobject: 'loop4' (000000000be55a00): fill_kobj_path: path = '/devices/virtual/block/loop4'
FS: 00007fb7a4b6d700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
kobject: 'loop3' (000000005c0eb380): kobject_uevent_env
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kobject: 'loop3' (000000005c0eb380): fill_kobj_path: path = '/devices/virtual/block/loop3'
CR2: 00000000007136b4 CR3: 0000000091fe1000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400