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: 430 Comm: syz-executor.0 Not tainted 5.10.85-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:400 [inline] RIP: 0010:d_is_miss include/linux/dcache.h:405 [inline] RIP: 0010:d_is_negative include/linux/dcache.h:451 [inline] RIP: 0010:atomic_open fs/namei.c:3065 [inline] RIP: 0010:lookup_open fs/namei.c:3155 [inline] RIP: 0010:open_last_lookups fs/namei.c:3253 [inline] RIP: 0010:path_openat+0x10cc/0x2760 fs/namei.c:3441 Code: 48 89 f7 e8 76 4d 02 00 43 80 3c 2f 00 48 8b 5c 24 68 74 08 48 89 df e8 a2 c8 f6 ff 48 8b 33 8b 54 24 18 48 89 f0 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 06 0a 00 00 f6 46 02 70 75 2e bb fe ff RSP: 0018:ffffc900008d7980 EFLAGS: 00010247 RAX: 0000000000000000 RBX: ffff88810c764f18 RCX: 0000000300000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88811caffaf8 RBP: ffffc900008d7bb0 R08: dffffc0000000000 R09: ffffed102395ff60 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88810c764f44 R13: dffffc0000000000 R14: 1ffff110218ec9e8 R15: 1ffff110218ec9e3 FS: 00007fcee13dd700(0000) GS:ffff8881f7300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcee19a7000 CR3: 000000010c967000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_filp_open+0x1f1/0x3f0 fs/namei.c:3471 do_sys_openat2+0xf7/0x380 fs/open.c:1211 do_sys_open fs/open.c:1227 [inline] __do_sys_openat fs/open.c:1243 [inline] __se_sys_openat fs/open.c:1238 [inline] __x64_sys_openat+0x209/0x250 fs/open.c:1238 do_syscall_64+0x34/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fcee188b169 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:00007fcee13dd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fcee19ab050 RCX: 00007fcee188b169 RDX: 0000000000000000 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007fcee18e6ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffdd7df63f R14: 00007fcee13dd300 R15: 0000000000022000 Modules linked in: ---[ end trace e8236d6471d9317a ]--- RIP: 0010:__d_entry_type include/linux/dcache.h:400 [inline] RIP: 0010:d_is_miss include/linux/dcache.h:405 [inline] RIP: 0010:d_is_negative include/linux/dcache.h:451 [inline] RIP: 0010:atomic_open fs/namei.c:3065 [inline] RIP: 0010:lookup_open fs/namei.c:3155 [inline] RIP: 0010:open_last_lookups fs/namei.c:3253 [inline] RIP: 0010:path_openat+0x10cc/0x2760 fs/namei.c:3441 Code: 48 89 f7 e8 76 4d 02 00 43 80 3c 2f 00 48 8b 5c 24 68 74 08 48 89 df e8 a2 c8 f6 ff 48 8b 33 8b 54 24 18 48 89 f0 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 06 0a 00 00 f6 46 02 70 75 2e bb fe ff RSP: 0018:ffffc900008d7980 EFLAGS: 00010247 RAX: 0000000000000000 RBX: ffff88810c764f18 RCX: 0000000300000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88811caffaf8 RBP: ffffc900008d7bb0 R08: dffffc0000000000 R09: ffffed102395ff60 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88810c764f44 R13: dffffc0000000000 R14: 1ffff110218ec9e8 R15: 1ffff110218ec9e3 FS: 00007fcee13dd700(0000) GS:ffff8881f7300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcee19a7000 CR3: 000000010c967000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 89 f7 mov %rsi,%rdi 3: e8 76 4d 02 00 callq 0x24d7e 8: 43 80 3c 2f 00 cmpb $0x0,(%r15,%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 a2 c8 f6 ff callq 0xfff6c8be 1c: 48 8b 33 mov (%rbx),%rsi 1f: 8b 54 24 18 mov 0x18(%rsp),%edx 23: 48 89 f0 mov %rsi,%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 06 0a 00 00 jne 0xa3d 37: f6 46 02 70 testb $0x70,0x2(%rsi) 3b: 75 2e jne 0x6b 3d: bb .byte 0xbb 3e: fe (bad) 3f: ff .byte 0xff