general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 354 Comm: syz-executor.0 Not tainted 6.1.1-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:386 [inline] RIP: 0010:d_is_miss include/linux/dcache.h:391 [inline] RIP: 0010:d_is_negative include/linux/dcache.h:437 [inline] RIP: 0010:atomic_open fs/namei.c:3292 [inline] RIP: 0010:lookup_open fs/namei.c:3384 [inline] RIP: 0010:open_last_lookups fs/namei.c:3481 [inline] RIP: 0010:path_openat+0x1081/0x2450 fs/namei.c:3711 Code: 48 8b 84 24 88 00 00 00 42 80 3c 28 00 48 8b 5c 24 60 74 08 48 89 df e8 ad f5 f5 ff 4c 8b 3b 8b 5c 24 0c 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 6e 08 00 00 41 f6 47 02 70 75 17 bb fe RSP: 0018:ffffc90000d87940 EFLAGS: 00010247 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000300000000 RDX: ffff88810e2b9a58 RSI: 0000000000000008 RDI: ffffc90000d87870 RBP: ffffc90000d87b30 R08: dffffc0000000000 R09: fffff520001b0f0f R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000008000 R13: dffffc0000000000 R14: 0000000000000001 R15: 0000000000000004 FS: 00007fbbc68a3700(0000) GS:ffff8881f7300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffdec17ce8 CR3: 0000000123a1b000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_filp_open+0x226/0x430 fs/namei.c:3741 do_sys_openat2+0x10b/0x420 fs/open.c:1312 do_sys_open fs/open.c:1328 [inline] __do_sys_openat fs/open.c:1344 [inline] __se_sys_openat fs/open.c:1339 [inline] __x64_sys_openat+0x209/0x250 fs/open.c:1339 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+0x63/0xcd RIP: 0033:0x7fbbc5a8c169 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:00007fbbc68a3168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fbbc5bac050 RCX: 00007fbbc5a8c169 RDX: 0000000000000000 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007fbbc5ae7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc71f81c3f R14: 00007fbbc68a3300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__d_entry_type include/linux/dcache.h:386 [inline] RIP: 0010:d_is_miss include/linux/dcache.h:391 [inline] RIP: 0010:d_is_negative include/linux/dcache.h:437 [inline] RIP: 0010:atomic_open fs/namei.c:3292 [inline] RIP: 0010:lookup_open fs/namei.c:3384 [inline] RIP: 0010:open_last_lookups fs/namei.c:3481 [inline] RIP: 0010:path_openat+0x1081/0x2450 fs/namei.c:3711 Code: 48 8b 84 24 88 00 00 00 42 80 3c 28 00 48 8b 5c 24 60 74 08 48 89 df e8 ad f5 f5 ff 4c 8b 3b 8b 5c 24 0c 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 6e 08 00 00 41 f6 47 02 70 75 17 bb fe RSP: 0018:ffffc90000d87940 EFLAGS: 00010247 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000300000000 RDX: ffff88810e2b9a58 RSI: 0000000000000008 RDI: ffffc90000d87870 RBP: ffffc90000d87b30 R08: dffffc0000000000 R09: fffff520001b0f0f R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000008000 R13: dffffc0000000000 R14: 0000000000000001 R15: 0000000000000004 FS: 00007fbbc68a3700(0000) GS:ffff8881f7300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffdec17ce8 CR3: 0000000123a1b000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 8b 84 24 88 00 00 mov 0x88(%rsp),%rax 7: 00 8: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) d: 48 8b 5c 24 60 mov 0x60(%rsp),%rbx 12: 74 08 je 0x1c 14: 48 89 df mov %rbx,%rdi 17: e8 ad f5 f5 ff callq 0xfff5f5c9 1c: 4c 8b 3b mov (%rbx),%r15 1f: 8b 5c 24 0c mov 0xc(%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 6e 08 00 00 jne 0x8a5 37: 41 f6 47 02 70 testb $0x70,0x2(%r15) 3c: 75 17 jne 0x55 3e: bb .byte 0xbb 3f: fe .byte 0xfe