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: 21622 Comm: syz.0.6580 Tainted: G W 5.15.151-syzkaller-00415-gdb06c48ab67e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 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:d_is_positive include/linux/dcache.h:465 [inline] RIP: 0010:filename_create+0x2d8/0x530 fs/namei.c:3842 Code: 92 00 00 00 4c 89 7c 24 28 45 84 e4 0f 95 c0 83 7c 24 14 00 0f 94 c3 20 c3 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 1f 02 00 00 45 8b 26 41 bd 00 00 70 00 be RSP: 0018:ffffc900014bfd20 EFLAGS: 00010247 RAX: 0000000000000000 RBX: 1ffff92000297f00 RCX: dffffc0000000000 RDX: ffffc9000431b000 RSI: 00000000000003a8 RDI: 00000000000003a9 RBP: ffffc900014bfe10 R08: ffffffff81c09428 R09: ffffed10245fb160 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000600 R14: 0000000000000005 R15: ffffc900014bfe80 FS: 00007fa3e6dc26c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f492d39fa6c CR3: 000000011a136000 CR4: 00000000003506a0 Call Trace: do_mkdirat+0xbd/0x450 fs/namei.c:4080 __do_sys_mkdir fs/namei.c:4110 [inline] __se_sys_mkdir fs/namei.c:4108 [inline] __x64_sys_mkdir+0x6e/0x80 fs/namei.c:4108 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:0x7fa3e7b40ad9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa3e6dc2048 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007fa3e7ccef60 RCX: 00007fa3e7b40ad9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080 RBP: 00007fa3e7bafe5d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fa3e7ccef60 R15: 00007fff101a0ef8 Modules linked in: ---[ end trace 5a248e703baff8ba ]--- 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:d_is_positive include/linux/dcache.h:465 [inline] RIP: 0010:filename_create+0x2d8/0x530 fs/namei.c:3842 Code: 92 00 00 00 4c 89 7c 24 28 45 84 e4 0f 95 c0 83 7c 24 14 00 0f 94 c3 20 c3 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 1f 02 00 00 45 8b 26 41 bd 00 00 70 00 be RSP: 0018:ffffc900014bfd20 EFLAGS: 00010247 RAX: 0000000000000000 RBX: 1ffff92000297f00 RCX: dffffc0000000000 RDX: ffffc9000431b000 RSI: 00000000000003a8 RDI: 00000000000003a9 RBP: ffffc900014bfe10 R08: ffffffff81c09428 R09: ffffed10245fb160 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000600 R14: 0000000000000005 R15: ffffc900014bfe80 FS: 00007fa3e6dc26c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1018079ff0 CR3: 000000011a136000 CR4: 00000000003506a0 ---------------- Code disassembly (best guess): 0: 92 xchg %eax,%edx 1: 00 00 add %al,(%rax) 3: 00 4c 89 7c add %cl,0x7c(%rcx,%rcx,4) 7: 24 28 and $0x28,%al 9: 45 84 e4 test %r12b,%r12b c: 0f 95 c0 setne %al f: 83 7c 24 14 00 cmpl $0x0,0x14(%rsp) 14: 0f 94 c3 sete %bl 17: 20 c3 and %al,%bl 19: 4c 89 f0 mov %r14,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 27: fc ff df * 2a: 0f b6 04 08 movzbl (%rax,%rcx,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 1f 02 00 00 jne 0x255 36: 45 8b 26 mov (%r14),%r12d 39: 41 bd 00 00 70 00 mov $0x700000,%r13d 3f: be .byte 0xbe