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: 11399 Comm: syz-executor5 Not tainted 4.20.0-rc7+ #288 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 kobject: 'loop2' (00000000bc46e7b4): kobject_uevent_env RSP: 0018:ffff888186cb7a40 EFLAGS: 00010206 RAX: 0000000000000000 RBX: ffff888186cb7d08 RCX: ffffc9000fe62000 RDX: 0000000000000005 RSI: ffffffff833fc73e RDI: 0000000000000001 RBP: ffff888186cb7bb0 R08: ffff88812ed7c080 R09: ffffed103a88d058 R10: ffffed103a88d059 R11: 0000000000000002 R12: 0000000000000005 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881dae00000(0063) knlGS:00000000f5f98b40 kobject: 'loop2' (00000000bc46e7b4): fill_kobj_path: path = '/devices/virtual/block/loop2' CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00007fd79861b000 CR3: 00000001bda62000 CR4: 00000000001406f0 kobject: 'loop3' (000000008a06d94d): kobject_uevent_env DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kobject: 'loop3' (000000008a06d94d): fill_kobj_path: path = '/devices/virtual/block/loop3' kobject: 'loop1' (00000000998a88c2): kobject_uevent_env keyctl_pkey_params_get_2+0x12f/0x580 security/keys/keyctl_pkey.c:130 keyctl_pkey_verify+0xaa/0x400 security/keys/keyctl_pkey.c:293 kobject: 'loop1' (00000000998a88c2): fill_kobj_path: path = '/devices/virtual/block/loop1' __do_compat_sys_keyctl security/keys/compat.c:159 [inline] __se_compat_sys_keyctl security/keys/compat.c:59 [inline] __ia32_compat_sys_keyctl+0x10a/0x430 security/keys/compat.c:59 do_syscall_32_irqs_on arch/x86/entry/common.c:326 [inline] do_fast_syscall_32+0x34d/0xfb2 arch/x86/entry/common.c:397 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7f9ca49 Code: 85 d2 74 02 89 0a 5b 5d c3 8b 04 24 c3 8b 14 24 c3 8b 3c 24 c3 90 90 90 90 90 90 90 90 90 90 90 90 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000f5f980cc EFLAGS: 00000296 ORIG_RAX: 0000000000000120 RAX: ffffffffffffffda RBX: 000000000000001c RCX: 000000002e52c475 RDX: 0000000020000080 RSI: 00000000200000c0 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 9861b1b3dcdbde94 ]--- kobject: 'loop4' (000000006e20ab2e): kobject_uevent_env 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 kobject: 'loop4' (000000006e20ab2e): fill_kobj_path: path = '/devices/virtual/block/loop4' 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 kobject: 'loop1' (00000000998a88c2): kobject_uevent_env kobject: 'loop1' (00000000998a88c2): fill_kobj_path: path = '/devices/virtual/block/loop1' kobject: 'loop0' (00000000d2ff8168): kobject_uevent_env kobject: 'loop0' (00000000d2ff8168): fill_kobj_path: path = '/devices/virtual/block/loop0' kobject: 'loop3' (000000008a06d94d): kobject_uevent_env kobject: 'loop3' (000000008a06d94d): fill_kobj_path: path = '/devices/virtual/block/loop3' RSP: 0018:ffff888186cb7a40 EFLAGS: 00010206 kobject: 'loop2' (00000000bc46e7b4): kobject_uevent_env RAX: 0000000000000000 RBX: ffff888186cb7d08 RCX: ffffc9000fe62000 kobject: 'loop2' (00000000bc46e7b4): fill_kobj_path: path = '/devices/virtual/block/loop2' RDX: 0000000000000005 RSI: ffffffff833fc73e RDI: 0000000000000001 RBP: ffff888186cb7bb0 R08: ffff88812ed7c080 R09: ffffed103a88d058 kobject: 'loop0' (00000000d2ff8168): kobject_uevent_env R10: ffffed103a88d059 R11: 0000000000000002 R12: 0000000000000005 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 kobject: 'loop0' (00000000d2ff8168): fill_kobj_path: path = '/devices/virtual/block/loop0' FS: 0000000000000000(0000) GS:ffff8881daf00000(0063) knlGS:00000000f5f98b40 kobject: 'loop3' (000000008a06d94d): kobject_uevent_env CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 kobject: 'loop3' (000000008a06d94d): fill_kobj_path: path = '/devices/virtual/block/loop3' CR2: 000055da38271aa8 CR3: 00000001bda62000 CR4: 00000000001406e0 kobject: 'loop1' (00000000998a88c2): kobject_uevent_env DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 kobject: 'loop1' (00000000998a88c2): fill_kobj_path: path = '/devices/virtual/block/loop1' DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400