kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access audit: type=1800 audit(1546255648.465:35): pid=10174 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor5" name="bus" dev="sda1" ino=16817 res=0 general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 10173 Comm: syz-executor1 Not tainted 4.20.0+ #1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:keyctl_pkey_params_parse security/keys/keyctl_pkey.c:56 [inline] RIP: 0010:keyctl_pkey_params_get+0x284/0x550 security/keys/keyctl_pkey.c:96 Code: fe 48 8b 44 24 38 48 c1 e8 03 42 80 3c 28 00 0f 85 41 02 00 00 4c 8b b4 24 b0 00 00 00 4c 89 f0 4c 89 f2 48 c1 e8 03 83 e2 07 <42> 0f b6 04 28 38 d0 7f 08 84 c0 0f 85 2a 02 00 00 41 0f b6 36 31 RSP: 0018:ffff88808d247ae0 EFLAGS: 00010246 RAX: 0e69947be945d2e0 RBX: ffff88808d247d90 RCX: ffffc90007df5000 RDX: 0000000000000000 RSI: ffffffff8343420b RDI: 0000000000000001 RBP: ffff88808d247c28 R08: ffff88809f5d8040 R09: ffffed10131e6be9 R10: ffffed10131e6be8 R11: 0000000000000005 R12: 0000000000000000 R13: dffffc0000000000 R14: 734ca3df4a2e9700 R15: 0000000000000000 FS: 00007f8fc432a700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3859e04db8 CR3: 000000008bb86000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: keyctl_pkey_params_get_2+0x13e/0x570 security/keys/keyctl_pkey.c:130 keyctl_pkey_e_d_s+0xb7/0x500 security/keys/keyctl_pkey.c:218 audit: type=1800 audit(1546255648.665:36): pid=10178 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor5" name="bus" dev="sda1" ino=16808 res=0 __do_sys_keyctl security/keys/keyctl.c:1759 [inline] __se_sys_keyctl security/keys/keyctl.c:1636 [inline] __x64_sys_keyctl+0x103/0x420 security/keys/keyctl.c:1636 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457ec9 Code: 6d b7 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 3b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f8fc4329c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000fa RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000457ec9 RDX: 00000000200003c0 RSI: 0000000020000600 RDI: 0000000000000019 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000006b R11: 0000000000000246 R12: 00007f8fc432a6d4 R13: 00000000004c3705 R14: 00000000004d6010 R15: 00000000ffffffff Modules linked in: ---[ end trace b84dfd23d9697c8b ]--- RIP: 0010:keyctl_pkey_params_parse security/keys/keyctl_pkey.c:56 [inline] RIP: 0010:keyctl_pkey_params_get+0x284/0x550 security/keys/keyctl_pkey.c:96 Code: fe 48 8b 44 24 38 48 c1 e8 03 42 80 3c 28 00 0f 85 41 02 00 00 4c 8b b4 24 b0 00 00 00 4c 89 f0 4c 89 f2 48 c1 e8 03 83 e2 07 <42> 0f b6 04 28 38 d0 7f 08 84 c0 0f 85 2a 02 00 00 41 0f b6 36 31 RSP: 0018:ffff88808d247ae0 EFLAGS: 00010246 RAX: 0e69947be945d2e0 RBX: ffff88808d247d90 RCX: ffffc90007df5000 RDX: 0000000000000000 RSI: ffffffff8343420b RDI: 0000000000000001 RBP: ffff88808d247c28 R08: ffff88809f5d8040 R09: ffffed10131e6be9 audit: type=1800 audit(1546255648.965:37): pid=10187 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor0" name="bus" dev="sda1" ino=16817 res=0 R10: ffffed10131e6be8 R11: 0000000000000005 R12: 0000000000000000 R13: dffffc0000000000 R14: 734ca3df4a2e9700 R15: 0000000000000000 FS: 00007f8fc432a700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000000 CR3: 000000008bb86000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400