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: 16634 Comm: syz-executor4 Not tainted 4.20.0+ #169 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+0x2e7/0x560 security/keys/keyctl_pkey.c:96 Code: fe 48 8b 44 24 38 48 c1 e8 03 42 80 3c 28 00 0f 85 f8 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 e1 01 00 00 41 0f b6 04 24 RSP: 0018:ffff888181e07b70 EFLAGS: 00010246 RAX: 132ec82bbd35f2c0 RBX: ffff888181e07d60 RCX: ffffc9000dead000 RDX: 0000000000000000 RSI: ffffffff833f14ee RDI: 0000000000000001 RBP: ffff888181e07ce0 R08: ffff888179d3e080 R09: ffffed103aaa3400 R10: ffffed103aaa3400 R11: ffff8881d551a007 R12: 9976415de9af9600 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fe411bf7700(0000) GS:ffff8881dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f45a0bff518 CR3: 00000001bcd87000 CR4: 00000000001426f0 DR0: 0000000020000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: keyctl_pkey_query+0xb8/0x2b0 security/keys/keyctl_pkey.c:173 __do_sys_keyctl security/keys/keyctl.c:1753 [inline] __se_sys_keyctl security/keys/keyctl.c:1637 [inline] __x64_sys_keyctl+0x15f/0x430 security/keys/keyctl.c:1637 kobject: 'loop1' (00000000d8ceae75): kobject_uevent_env do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 kobject: 'loop1' (00000000d8ceae75): fill_kobj_path: path = '/devices/virtual/block/loop1' kobject: 'kvm' (000000009f8514ef): kobject_uevent_env entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457759 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 kobject: 'kvm' (000000009f8514ef): fill_kobj_path: path = '/devices/virtual/misc/kvm' RSP: 002b:00007fe411bf6c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000fa RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457759 RDX: 0000000000000000 RSI: 0000000002ba4375 RDI: 0000000000000018 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000040 R11: 0000000000000246 R12: 00007fe411bf76d4 R13: 00000000004c3057 R14: 00000000004d5808 R15: 00000000ffffffff Modules linked in: *** Guest State *** ---[ end trace 2a20fe4c0a4d57ac ]--- RIP: 0010:keyctl_pkey_params_parse security/keys/keyctl_pkey.c:56 [inline] RIP: 0010:keyctl_pkey_params_get+0x2e7/0x560 security/keys/keyctl_pkey.c:96 CR0: actual=0x0000000000000030, shadow=0x0000000060000010, gh_mask=fffffffffffffff7 Code: fe 48 8b 44 24 38 48 c1 e8 03 42 80 3c 28 00 0f 85 f8 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 e1 01 00 00 41 0f b6 04 24 CR4: actual=0x0000000000002040, shadow=0x0000000000000000, gh_mask=ffffffffffffe871 RSP: 0018:ffff888181e07b70 EFLAGS: 00010246 CR3 = 0x0000000000000000 RAX: 132ec82bbd35f2c0 RBX: ffff888181e07d60 RCX: ffffc9000dead000 RDX: 0000000000000000 RSI: ffffffff833f14ee RDI: 0000000000000001 RBP: ffff888181e07ce0 R08: ffff888179d3e080 R09: ffffed103aaa3400 R10: ffffed103aaa3400 R11: ffff8881d551a007 R12: 9976415de9af9600 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fe411bf7700(0000) GS:ffff8881dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c029000 CR3: 00000001bcd87000 CR4: 00000000001426f0 DR0: 0000000020000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600