general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 1 PID: 298 Comm: syz-executor694 Not tainted 5.15.167-syzkaller-android13-5.15.167_r00 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:traverse_mounts fs/namei.c:1378 [inline] RIP: 0010:handle_mounts fs/namei.c:1498 [inline] RIP: 0010:step_into+0x1b6/0xe70 fs/namei.c:1806 Code: 20 0f 85 99 0a 00 00 44 8b 3b 43 80 3c 2c 00 74 0a 48 8b 7c 24 18 e8 c9 b9 f3 ff 48 8b 9c 24 b8 00 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 86 0a 00 00 8b 1b 89 de 81 e6 00 00 07 RSP: 0018:ffffc900009a77a0 EFLAGS: 00010203 RAX: 0000000000000001 RBX: 000000000000000f RCX: ffff88811a4cbb40 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900009a78d0 R08: ffffffff81beef50 R09: ffffed10245bf935 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000134f0b R13: dffffc0000000000 R14: ffffc900009a7ba0 R15: 0000000000000010 FS: 00007f3dd476d6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3dd476dd58 CR3: 000000011fa90000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: walk_component+0x359/0x610 fs/namei.c:1982 link_path_walk+0x642/0xd90 path_parentat fs/namei.c:2502 [inline] __filename_parentat+0x24c/0x6c0 fs/namei.c:2526 filename_parentat fs/namei.c:2544 [inline] filename_create+0xf2/0x530 fs/namei.c:3816 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 x64_sys_call+0x26d/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:84 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f3dd47ce4c7 Code: ff ff 77 07 31 c0 c3 0f 1f 40 00 48 c7 c2 b0 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 0f 1f 44 00 00 b8 53 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3dd476d0f8 EFLAGS: 00000206 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007f3dd48593f8 RCX: 00007f3dd47ce4c7 RDX: 00000000000f4240 RSI: 00000000000001ff RDI: 0000000020000200 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 00007ffead431657 R11: 0000000000000206 R12: 00007f3dd482605c R13: 0030656c69662f2e R14: 00007f3dd4826078 R15: 00007ffead431658 Modules linked in: ---[ end trace 0a93be4ecbe70ea8 ]--- RIP: 0010:traverse_mounts fs/namei.c:1378 [inline] RIP: 0010:handle_mounts fs/namei.c:1498 [inline] RIP: 0010:step_into+0x1b6/0xe70 fs/namei.c:1806 Code: 20 0f 85 99 0a 00 00 44 8b 3b 43 80 3c 2c 00 74 0a 48 8b 7c 24 18 e8 c9 b9 f3 ff 48 8b 9c 24 b8 00 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 86 0a 00 00 8b 1b 89 de 81 e6 00 00 07 RSP: 0018:ffffc900009a77a0 EFLAGS: 00010203 RAX: 0000000000000001 RBX: 000000000000000f RCX: ffff88811a4cbb40 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900009a78d0 R08: ffffffff81beef50 R09: ffffed10245bf935 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000134f0b R13: dffffc0000000000 R14: ffffc900009a7ba0 R15: 0000000000000010 FS: 00007f3dd476d6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c2d91090d8 CR3: 000000011fa90000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 20 0f and %cl,(%rdi) 2: 85 99 0a 00 00 44 test %ebx,0x4400000a(%rcx) 8: 8b 3b mov (%rbx),%edi a: 43 80 3c 2c 00 cmpb $0x0,(%r12,%r13,1) f: 74 0a je 0x1b 11: 48 8b 7c 24 18 mov 0x18(%rsp),%rdi 16: e8 c9 b9 f3 ff call 0xfff3b9e4 1b: 48 8b 9c 24 b8 00 00 mov 0xb8(%rsp),%rbx 22: 00 23: 48 89 d8 mov %rbx,%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 86 0a 00 00 jne 0xabd 37: 8b 1b mov (%rbx),%ebx 39: 89 de mov %ebx,%esi 3b: 81 .byte 0x81 3c: e6 00 out %al,$0x0 3e: 00 07 add %al,(%rdi)