Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 1 UID: 0 PID: 12580 Comm: syz.3.3854 Not tainted 6.12.30-syzkaller-g668635cd345a #0 d19ba9d9380c3ec16bff3ad427c1e033f6258032
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:traverse_mounts fs/namei.c:1459 [inline]
RIP: 0010:handle_mounts fs/namei.c:1571 [inline]
RIP: 0010:step_into+0x121/0xf50 fs/namei.c:1891
Code: 74 24 08 c6 44 24 7f 00 43 0f b6 04 3c 84 c0 4d 89 fd 0f 85 10 0c 00 00 45 8b 36 4c 8b bc 24 a8 00 00 00 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 0f 0c 00 00 45 8b 3f 44 89 fe 81 e6 00
RSP: 0018:ffffc9000a82f800 EFLAGS: 00010202
RAX: 0000000000000001 RBX: ffffc9000a82fa40 RCX: 0000000000080000
RDX: ffffc90016870000 RSI: 0000000000001c41 RDI: 0000000000001c42
RBP: ffffc9000a82f918 R08: ffff8881153c571f R09: 1ffff11022a78ae3
R10: dffffc0000000000 R11: ffffed1022a78ae4 R12: 1ffff92001505f4f
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000008
FS: 00007f087318e6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f087318df98 CR3: 00000001237ec000 CR4: 00000000003526b0
DR0: 0000000000000007 DR1: 000000000000009b DR2: 00040000ffffffff
DR3: 0000000000000009 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
walk_component+0x255/0x440 fs/namei.c:2059
lookup_last fs/namei.c:2556 [inline]
path_lookupat+0x180/0x4a0 fs/namei.c:2580
filename_lookup+0x1f5/0x520 fs/namei.c:2609
vfs_statx+0x101/0x200 fs/stat.c:312
vfs_fstatat fs/stat.c:341 [inline]
vfs_lstat include/linux/fs.h:3381 [inline]
__do_sys_newlstat fs/stat.c:491 [inline]
__se_sys_newlstat+0xd7/0x360 fs/stat.c:485
__x64_sys_newlstat+0x5f/0x80 fs/stat.c:485
x64_sys_call+0x1b6f/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:7
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0x58/0xf0 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7f087578e929
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:00007f087318e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000006
RAX: ffffffffffffffda RBX: 00007f08759b6400 RCX: 00007f087578e929
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000180
RBP: 00007f0875810b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f08759b6400 R15: 00007ffe3ef530c8
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:traverse_mounts fs/namei.c:1459 [inline]
RIP: 0010:handle_mounts fs/namei.c:1571 [inline]
RIP: 0010:step_into+0x121/0xf50 fs/namei.c:1891
Code: 74 24 08 c6 44 24 7f 00 43 0f b6 04 3c 84 c0 4d 89 fd 0f 85 10 0c 00 00 45 8b 36 4c 8b bc 24 a8 00 00 00 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 0f 0c 00 00 45 8b 3f 44 89 fe 81 e6 00
RSP: 0018:ffffc9000a82f800 EFLAGS: 00010202
RAX: 0000000000000001 RBX: ffffc9000a82fa40 RCX: 0000000000080000
RDX: ffffc90016870000 RSI: 0000000000001c41 RDI: 0000000000001c42
RBP: ffffc9000a82f918 R08: ffff8881153c571f R09: 1ffff11022a78ae3
R10: dffffc0000000000 R11: ffffed1022a78ae4 R12: 1ffff92001505f4f
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000008
FS: 00007f087318e6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa990f85560 CR3: 00000001237ec000 CR4: 00000000003526b0
DR0: 0000000000000007 DR1: 000000000000009b DR2: 00040000ffffffff
DR3: 0000000000000009 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 74 24 je 0x26
2: 08 c6 or %al,%dh
4: 44 24 7f rex.R and $0x7f,%al
7: 00 43 0f add %al,0xf(%rbx)
a: b6 04 mov $0x4,%dh
c: 3c 84 cmp $0x84,%al
e: c0 4d 89 fd rorb $0xfd,-0x77(%rbp)
12: 0f 85 10 0c 00 00 jne 0xc28
18: 45 8b 36 mov (%r14),%r14d
1b: 4c 8b bc 24 a8 00 00 mov 0xa8(%rsp),%r15
22: 00
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 0f 0c 00 00 jne 0xc46
37: 45 8b 3f mov (%r15),%r15d
3a: 44 89 fe mov %r15d,%esi
3d: 81 .byte 0x81
3e: e6 00 out %al,$0x0