kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 15260 Comm: udevd Not tainted 5.4.16-syzkaller-01258-g4a192aa559b1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:do_last fs/namei.c:3369 [inline] RIP: 0010:path_openat+0x324/0x3c00 fs/namei.c:3646 Code: 48 89 84 24 00 01 00 00 42 80 3c 38 00 74 08 48 89 df e8 5f ac f8 ff 48 89 5c 24 38 48 8b 1b 48 8d 7b 04 48 89 f8 48 c1 e8 03 <42> 8a 04 38 84 c0 0f 85 4b 24 00 00 8b 43 04 89 84 24 08 01 00 00 RSP: 0018:ffff8881a658f4c0 EFLAGS: 00010247 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff8881a658f6e8 RDX: ffff8881cb170c98 RSI: 0000000000000000 RDI: 0000000000000004 RBP: ffff8881a658f790 R08: ffffffff81782ec1 R09: 0000000000000003 R10: ffffed1034cb1e4b R11: 0000000000000004 R12: ffff8881a658f7e8 R13: ffff8881d6b1c000 R14: ffff8881a658f9f0 R15: dffffc0000000000 FS: 00007f34301607a0(0000) GS:ffff8881dbb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5afd123c88 CR3: 00000001cf19f001 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_filp_open+0x1f7/0x430 fs/namei.c:3676 do_open_execat+0x178/0x860 fs/exec.c:857 open_exec+0x3d/0x60 fs/exec.c:889 load_elf_binary+0x1abd/0x3720 fs/binfmt_elf.c:756 search_binary_handler+0x190/0x5e0 fs/exec.c:1659 exec_binprm fs/exec.c:1702 [inline] __do_execve_file+0x12a2/0x1c00 fs/exec.c:1822 do_execveat_common fs/exec.c:1868 [inline] do_execve fs/exec.c:1885 [inline] __do_sys_execve fs/exec.c:1961 [inline] __se_sys_execve fs/exec.c:1956 [inline] __x64_sys_execve+0x94/0xb0 fs/exec.c:1956 do_syscall_64+0xc0/0x100 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f342f844207 Code: 77 19 f4 48 89 d7 44 89 c0 0f 05 48 3d 00 f0 ff ff 76 e0 f7 d8 64 41 89 01 eb d8 f7 d8 64 41 89 01 eb df b8 3b 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 02 f3 c3 48 8b 15 00 8c 2d 00 f7 d8 64 89 02 RSP: 002b:00007ffecde6b9f8 EFLAGS: 00000202 ORIG_RAX: 000000000000003b RAX: ffffffffffffffda RBX: 00000000ffffffff RCX: 00007f342f844207 RDX: 00000000024d1230 RSI: 00007ffecde6baf0 RDI: 00007ffecde6cb00 RBP: 0000000000625500 R08: 0000000000000196 R09: 0000000000000196 R10: 0000000000000000 R11: 0000000000000202 R12: 00000000024d1230 R13: 0000000000000008 R14: 0000000002349030 R15: 0000000000000007 Modules linked in: ---[ end trace 4bbd4b74a1897bf0 ]--- RIP: 0010:do_last fs/namei.c:3369 [inline] RIP: 0010:path_openat+0x324/0x3c00 fs/namei.c:3646 Code: 48 89 84 24 00 01 00 00 42 80 3c 38 00 74 08 48 89 df e8 5f ac f8 ff 48 89 5c 24 38 48 8b 1b 48 8d 7b 04 48 89 f8 48 c1 e8 03 <42> 8a 04 38 84 c0 0f 85 4b 24 00 00 8b 43 04 89 84 24 08 01 00 00 RSP: 0018:ffff8881a658f4c0 EFLAGS: 00010247 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff8881a658f6e8 RDX: ffff8881cb170c98 RSI: 0000000000000000 RDI: 0000000000000004 RBP: ffff8881a658f790 R08: ffffffff81782ec1 R09: 0000000000000003 R10: ffffed1034cb1e4b R11: 0000000000000004 R12: ffff8881a658f7e8 R13: ffff8881d6b1c000 R14: ffff8881a658f9f0 R15: dffffc0000000000 FS: 00007f34301607a0(0000) GS:ffff8881dbb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3430167000 CR3: 00000001cf19f006 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400