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: 21275 Comm: syz-executor2 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:ffff888099267ae0 EFLAGS: 00010246 RAX: 082b9e98229d7560 RBX: ffff888099267d90 RCX: ffffc90005e55000 RDX: 0000000000000000 RSI: ffffffff8343420b RDI: 0000000000000001 RBP: ffff888099267c30 R08: ffff888054308480 R09: ffffed10135f1589 R10: ffffed10135f1588 R11: ffff88809af8ac47 R12: 0000000000000000 R13: dffffc0000000000 R14: 415cf4c114ebab00 R15: 0000000000000000 FS: 00007f1f8fcad700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efc568ad000 CR3: 00000000a8f8c000 CR4: 00000000001426f0 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_verify+0xb1/0x410 security/keys/keyctl_pkey.c:293 __do_sys_keyctl security/keys/keyctl.c:1767 [inline] __se_sys_keyctl security/keys/keyctl.c:1636 [inline] __x64_sys_keyctl+0x2f9/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:00007f1f8fcacc78 EFLAGS: 00000246 ORIG_RAX: 00000000000000fa RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000457ec9 RDX: 00000000200000c0 RSI: 0000000020000280 RDI: 000000000000001c RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000053 R11: 0000000000000246 R12: 00007f1f8fcad6d4 R13: 00000000004c3705 R14: 00000000004d6010 R15: 00000000ffffffff Modules linked in: kobject: 'loop3' (00000000fc3242db): kobject_uevent_env kobject: 'loop3' (00000000fc3242db): fill_kobj_path: path = '/devices/virtual/block/loop3' kobject: 'batman_adv' (000000009829dc54): kobject_uevent_env kobject: 'batman_adv' (000000009829dc54): kobject_uevent_env: filter function caused the event to drop! kobject: 'batman_adv' (000000009829dc54): kobject_cleanup, parent (null) kobject: 'batman_adv' (000000009829dc54): calling ktype release kobject: 'loop5' (000000009b6a78c7): kobject_uevent_env kobject: (000000009829dc54): dynamic_kobj_release kobject: 'loop5' (000000009b6a78c7): fill_kobj_path: path = '/devices/virtual/block/loop5' kobject: 'batman_adv': free name ---[ end trace 176669b14e5352ad ]--- 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 kobject: 'rx-0' (00000000c44ae534): kobject_cleanup, parent 000000004c5e5cba kobject: 'rx-0' (00000000c44ae534): auto cleanup 'remove' event kobject: 'rx-0' (00000000c44ae534): kobject_uevent_env RSP: 0018:ffff888099267ae0 EFLAGS: 00010246 kobject: 'rx-0' (00000000c44ae534): fill_kobj_path: path = '/devices/virtual/net/þ€/queues/rx-0' RAX: 082b9e98229d7560 RBX: ffff888099267d90 RCX: ffffc90005e55000 kobject: 'rx-0' (00000000c44ae534): auto cleanup kobject_del kobject: 'rx-0' (00000000c44ae534): calling ktype release RDX: 0000000000000000 RSI: ffffffff8343420b RDI: 0000000000000001 kobject: 'rx-0': free name RBP: ffff888099267c30 R08: ffff888054308480 R09: ffffed10135f1589 kobject: 'tx-0' (0000000003007b4a): kobject_cleanup, parent 000000004c5e5cba R10: ffffed10135f1588 R11: ffff88809af8ac47 R12: 0000000000000000 kobject: 'tx-0' (0000000003007b4a): auto cleanup 'remove' event R13: dffffc0000000000 R14: 415cf4c114ebab00 R15: 0000000000000000 kobject: 'loop3' (00000000fc3242db): kobject_uevent_env kobject: 'loop3' (00000000fc3242db): fill_kobj_path: path = '/devices/virtual/block/loop3' FS: 00007f1f8fcad700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 kobject: 'tx-0' (0000000003007b4a): kobject_uevent_env CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000070f1b4 CR3: 00000000a8f8c000 CR4: 00000000001426e0 kobject: 'tx-0' (0000000003007b4a): fill_kobj_path: path = '/devices/virtual/net/þ€/queues/tx-0' kobject: 'tx-0' (0000000003007b4a): auto cleanup kobject_del DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 kobject: 'tx-0' (0000000003007b4a): calling ktype release kobject: 'tx-0': free name kobject: 'queues' (000000004c5e5cba): kobject_cleanup, parent (null) kobject: 'queues' (000000004c5e5cba): calling ktype release DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 kobject: 'queues' (000000004c5e5cba): kset_release