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: 9293 Comm: syz-executor366 Not tainted 4.20.0+ #3 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:ffff88808c2afbd0 EFLAGS: 00010246 RAX: 1a77295c281fe700 RBX: ffff88808c2afd90 RCX: ffffffff834376dd RDX: 0000000000000000 RSI: ffffffff834376eb RDI: 0000000000000001 RBP: ffff88808c2afd20 R08: ffff8880a86fa4c0 R09: ffffed1014f62a41 R10: ffffed1014f62a40 R11: 0000000000000005 R12: 0000000000000000 R13: dffffc0000000000 R14: d3b94ae140ff3800 R15: 0000000000000000 FS: 00000000022ac880(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000200 CR3: 000000008c22d000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: keyctl_pkey_query+0xb8/0x2a0 security/keys/keyctl_pkey.c:173 __do_sys_keyctl security/keys/keyctl.c:1752 [inline] __se_sys_keyctl security/keys/keyctl.c:1636 [inline] __x64_sys_keyctl+0x144/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:0x440cf9 Code: e8 cc ab 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 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 0f 83 bb 0a fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffcd03fbee8 EFLAGS: 00000207 ORIG_RAX: 00000000000000fa RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000440cf9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000018 RBP: 0000000000000000 R08: 0000000000000000 R09: 00000000004002c8 R10: 0000000020000200 R11: 0000000000000207 R12: 000000000001099d R13: 0000000000401cd0 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace d2698d842f0c157f ]--- 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:ffff88808c2afbd0 EFLAGS: 00010246 RAX: 1a77295c281fe700 RBX: ffff88808c2afd90 RCX: ffffffff834376dd RDX: 0000000000000000 RSI: ffffffff834376eb RDI: 0000000000000001 RBP: ffff88808c2afd20 R08: ffff8880a86fa4c0 R09: ffffed1014f62a41 R10: ffffed1014f62a40 R11: 0000000000000005 R12: 0000000000000000 R13: dffffc0000000000 R14: d3b94ae140ff3800 R15: 0000000000000000 FS: 00000000022ac880(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000200 CR3: 000000008c22d000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400