general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 355 Comm: syz-executor.0 Not tainted 5.15.78-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 RIP: 0010:__d_entry_type include/linux/dcache.h:404 [inline] RIP: 0010:d_is_miss include/linux/dcache.h:409 [inline] RIP: 0010:d_is_negative include/linux/dcache.h:455 [inline] RIP: 0010:atomic_open fs/namei.c:3212 [inline] RIP: 0010:lookup_open fs/namei.c:3305 [inline] RIP: 0010:open_last_lookups fs/namei.c:3404 [inline] RIP: 0010:path_openat+0x10cd/0x2560 fs/namei.c:3612 Code: 4c 89 ff e8 05 78 02 00 43 80 3c 2e 00 48 8b 5c 24 68 74 08 48 89 df e8 61 82 f6 ff 4c 8b 3b 8b 5c 24 48 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 1f 09 00 00 41 f6 47 02 70 75 17 bb fe RSP: 0018:ffffc90000727920 EFLAGS: 00010247 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000300000000 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff88811baa5498 RBP: ffffc90000727b70 R08: dffffc0000000000 R09: ffffed1023754a94 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: dffffc0000000000 R14: 1ffff110207f5c33 R15: 0000000000000004 FS: 00007fc69dd23700(0000) GS:ffff8881f7200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055ca4028dfd8 CR3: 000000010c5af000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_filp_open+0x208/0x400 fs/namei.c:3642 do_sys_openat2+0x10b/0x420 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_openat fs/open.c:1266 [inline] __se_sys_openat fs/open.c:1261 [inline] __x64_sys_openat+0x209/0x250 fs/open.c:1261 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fc69e1d1169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc69dd23168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fc69e2f1050 RCX: 00007fc69e1d1169 RDX: 0000000000000000 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007fc69e22cca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc3e7f522f R14: 00007fc69dd23300 R15: 0000000000022000 Modules linked in: ---[ end trace cff2068497ab7418 ]--- RIP: 0010:__d_entry_type include/linux/dcache.h:404 [inline] RIP: 0010:d_is_miss include/linux/dcache.h:409 [inline] RIP: 0010:d_is_negative include/linux/dcache.h:455 [inline] RIP: 0010:atomic_open fs/namei.c:3212 [inline] RIP: 0010:lookup_open fs/namei.c:3305 [inline] RIP: 0010:open_last_lookups fs/namei.c:3404 [inline] RIP: 0010:path_openat+0x10cd/0x2560 fs/namei.c:3612 Code: 4c 89 ff e8 05 78 02 00 43 80 3c 2e 00 48 8b 5c 24 68 74 08 48 89 df e8 61 82 f6 ff 4c 8b 3b 8b 5c 24 48 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 1f 09 00 00 41 f6 47 02 70 75 17 bb fe RSP: 0018:ffffc90000727920 EFLAGS: 00010247 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000300000000 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff88811baa5498 RBP: ffffc90000727b70 R08: dffffc0000000000 R09: ffffed1023754a94 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: dffffc0000000000 R14: 1ffff110207f5c33 R15: 0000000000000004 FS: 00007fc69dd23700(0000) GS:ffff8881f7200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055ca4028dfd8 CR3: 000000010c5af000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 4c 89 ff mov %r15,%rdi 3: e8 05 78 02 00 callq 0x2780d 8: 43 80 3c 2e 00 cmpb $0x0,(%r14,%r13,1) d: 48 8b 5c 24 68 mov 0x68(%rsp),%rbx 12: 74 08 je 0x1c 14: 48 89 df mov %rbx,%rdi 17: e8 61 82 f6 ff callq 0xfff6827d 1c: 4c 8b 3b mov (%rbx),%r15 1f: 8b 5c 24 48 mov 0x48(%rsp),%ebx 23: 4c 89 f8 mov %r15,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 1f 09 00 00 jne 0x956 37: 41 f6 47 02 70 testb $0x70,0x2(%r15) 3c: 75 17 jne 0x55 3e: bb .byte 0xbb 3f: fe .byte 0xfe