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: 16573 Comm: syz-executor3 Not tainted 4.20.0-rc1-next-20181109+ #109 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 kobject: 'kvm' (0000000046c91bac): kobject_uevent_env RIP: 0010:keyctl_pkey_params_parse security/keys/keyctl_pkey.c:56 [inline] RIP: 0010:keyctl_pkey_params_get+0x2e7/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 f7 01 00 00 4c 8b a4 24 e0 00 00 00 4c 89 e0 4c 89 e2 48 c1 e8 03 83 e2 07 <42> 0f b6 04 28 38 d0 7f 08 84 c0 0f 85 e0 01 00 00 41 0f b6 04 24 kobject: 'kvm' (0000000046c91bac): fill_kobj_path: path = '/devices/virtual/misc/kvm' RSP: 0018:ffff88017f587a90 EFLAGS: 00010206 RAX: 03fffe2005fd61f0 RBX: ffff88017f587d60 RCX: ffffc900085ad000 RDX: 0000000000000005 RSI: ffffffff8344bcae RDI: 0000000000000001 RBP: ffff88017f587c00 R08: ffff8801baabe600 R09: ffffed003816eb08 R10: ffffed003816eb08 R11: 0000000000000005 R12: 1ffff1002feb0f85 R13: dffffc0000000000 R14: ffffffffffffffff R15: ffffffffffffffff FS: 00007f6a80dc6700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 kobject: 'loop2' (00000000e67607d9): kobject_uevent_env CR2: 00007ffc893ecbd8 CR3: 00000001bcc0a000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: keyctl_pkey_params_get_2+0x12f/0x580 security/keys/keyctl_pkey.c:130 keyctl_pkey_e_d_s+0xb0/0x4f0 security/keys/keyctl_pkey.c:218 __do_sys_keyctl security/keys/keyctl.c:1760 [inline] __se_sys_keyctl security/keys/keyctl.c:1637 [inline] __x64_sys_keyctl+0x12f/0x430 security/keys/keyctl.c:1637 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: fd b3 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 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f6a80dc5c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000fa RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000457569 RDX: 00000000200003c0 RSI: 0000000020000600 RDI: 0000000000000019 RBP: 000000000072bf00 R08: 0000000020000280 R09: 0000000000000000 R10: 000000000000006b R11: 0000000000000246 R12: 00007f6a80dc66d4 R13: 00000000004c27af R14: 00000000004d3af0 R15: 00000000ffffffff Modules linked in: ---[ end trace 6ea968bb7777dd02 ]--- RIP: 0010:keyctl_pkey_params_parse security/keys/keyctl_pkey.c:56 [inline] RIP: 0010:keyctl_pkey_params_get+0x2e7/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 f7 01 00 00 4c 8b a4 24 e0 00 00 00 4c 89 e0 4c 89 e2 48 c1 e8 03 83 e2 07 <42> 0f b6 04 28 38 d0 7f 08 84 c0 0f 85 e0 01 00 00 41 0f b6 04 24 kobject: 'loop2' (00000000e67607d9): fill_kobj_path: path = '/devices/virtual/block/loop2' kobject: 'loop1' (0000000091de69b2): kobject_uevent_env kobject: 'loop1' (0000000091de69b2): fill_kobj_path: path = '/devices/virtual/block/loop1' RSP: 0018:ffff88017f587a90 EFLAGS: 00010206 RAX: 03fffe2005fd61f0 RBX: ffff88017f587d60 RCX: ffffc900085ad000 kobject: 'loop0' (00000000252866e4): kobject_uevent_env RDX: 0000000000000005 RSI: ffffffff8344bcae RDI: 0000000000000001 kobject: 'loop0' (00000000252866e4): fill_kobj_path: path = '/devices/virtual/block/loop0' RBP: ffff88017f587c00 R08: ffff8801baabe600 R09: ffffed003816eb08 kobject: 'loop2' (00000000e67607d9): kobject_uevent_env R10: ffffed003816eb08 R11: 0000000000000005 R12: 1ffff1002feb0f85 kobject: 'loop2' (00000000e67607d9): fill_kobj_path: path = '/devices/virtual/block/loop2' R13: dffffc0000000000 R14: ffffffffffffffff R15: ffffffffffffffff FS: 00007f6a80dc6700(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 kobject: 'loop1' (0000000091de69b2): kobject_uevent_env kobject: 'loop1' (0000000091de69b2): fill_kobj_path: path = '/devices/virtual/block/loop1' kobject: 'loop0' (00000000252866e4): kobject_uevent_env CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 kobject: 'loop0' (00000000252866e4): fill_kobj_path: path = '/devices/virtual/block/loop0' CR2: 0000000000625208 CR3: 00000001bcc0a000 CR4: 00000000001406e0 kobject: 'loop2' (00000000e67607d9): kobject_uevent_env DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 kobject: 'loop2' (00000000e67607d9): fill_kobj_path: path = '/devices/virtual/block/loop2' DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 kobject: 'loop0' (00000000252866e4): kobject_uevent_env kobject: 'loop0' (00000000252866e4): fill_kobj_path: path = '/devices/virtual/block/loop0'