[v6.6] general protection fault in step_into

0 views
Skip to first unread message

syzbot

unread,
Sep 14, 2025, 4:10:37 PM (8 days ago) Sep 14
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 60a9e718726f Linux 6.6.106
git tree: linux-6.6.y
console output: https://syzkaller.appspot.com/x/log.txt?x=14e5a762580000
kernel config: https://syzkaller.appspot.com/x/.config?x=12606d4b8832c7e4
dashboard link: https://syzkaller.appspot.com/bug?extid=f3a1ef61c7e1d78a2fb6
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/eca27e056a5a/disk-60a9e718.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/bc64d4eeb7f6/vmlinux-60a9e718.xz
kernel image: https://storage.googleapis.com/syzbot-assets/a345041561ac/bzImage-60a9e718.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+f3a1ef...@syzkaller.appspotmail.com

ntfs: (device loop1): ntfs_lookup(): ntfs_lookup_ino_by_name() failed with error code -24.
general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f]
CPU: 0 PID: 6865 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:traverse_mounts fs/namei.c:1435 [inline]
RIP: 0010:handle_mounts fs/namei.c:1547 [inline]
RIP: 0010:step_into+0x121/0xf10 fs/namei.c:1840
Code: 74 24 08 c6 44 24 7f 00 43 0f b6 04 3c 84 c0 4d 89 fd 0f 85 f5 0b 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 f4 0b 00 00 45 8b 3f 44 89 fe 81 e6 00
RSP: 0018:ffffc9000b58fac0 EFLAGS: 00010206
RAX: 0000000000000003 RBX: ffffc9000b58fca0 RCX: ffff888024411e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000b58fbc8 R08: ffff88805e5f4e57 R09: 1ffff1100bcbe9ca
R10: dffffc0000000000 R11: ffffed100bcbe9cb R12: 1ffff920016b1f9b
R13: dffffc0000000000 R14: 0000000000000080 R15: 0000000000000018
FS: 0000555588ec0500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555588eeb648 CR3: 000000007ca07000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000b5f DR2: 0000000000003706
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
lookup_last fs/namei.c:2459 [inline]
path_lookupat+0x169/0x440 fs/namei.c:2483
filename_lookup+0x1f4/0x510 fs/namei.c:2512
user_path_at_empty+0x42/0x60 fs/namei.c:2909
user_path_at include/linux/namei.h:57 [inline]
ksys_umount fs/namespace.c:1912 [inline]
__do_sys_umount fs/namespace.c:1920 [inline]
__se_sys_umount fs/namespace.c:1918 [inline]
__x64_sys_umount+0xf5/0x170 fs/namespace.c:1918
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f035af8fed7
Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffd39b8e918 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f035af8fed7
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd39b8e9d0
RBP: 00007ffd39b8e9d0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd39b8fac0
R13: 00007f035b011c05 R14: 0000555588ec04a8 R15: 00007ffd39b91c80
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:traverse_mounts fs/namei.c:1435 [inline]
RIP: 0010:handle_mounts fs/namei.c:1547 [inline]
RIP: 0010:step_into+0x121/0xf10 fs/namei.c:1840
Code: 74 24 08 c6 44 24 7f 00 43 0f b6 04 3c 84 c0 4d 89 fd 0f 85 f5 0b 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 f4 0b 00 00 45 8b 3f 44 89 fe 81 e6 00
RSP: 0018:ffffc9000b58fac0 EFLAGS: 00010206
RAX: 0000000000000003 RBX: ffffc9000b58fca0 RCX: ffff888024411e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000b58fbc8 R08: ffff88805e5f4e57 R09: 1ffff1100bcbe9ca
R10: dffffc0000000000 R11: ffffed100bcbe9cb R12: 1ffff920016b1f9b
R13: dffffc0000000000 R14: 0000000000000080 R15: 0000000000000018
FS: 0000555588ec0500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc8e5f0ff0 CR3: 000000007ca07000 CR4: 00000000003506e0
----------------
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 f5 0b 00 00 jne 0xc0d
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 f4 0b 00 00 jne 0xc2b
37: 45 8b 3f mov (%r15),%r15d
3a: 44 89 fe mov %r15d,%esi
3d: 81 .byte 0x81
3e: e6 00 out %al,$0x0


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Sep 14, 2025, 8:40:32 PM (8 days ago) Sep 14
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 60a9e718726f Linux 6.6.106
git tree: linux-6.6.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1731f642580000
kernel config: https://syzkaller.appspot.com/x/.config?x=12606d4b8832c7e4
dashboard link: https://syzkaller.appspot.com/bug?extid=f3a1ef61c7e1d78a2fb6
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=15727934580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12b63b12580000
mounted in repro: https://storage.googleapis.com/syzbot-assets/df09cfbc751f/mount_0.gz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+f3a1ef...@syzkaller.appspotmail.com

ntfs: (device loop0): ntfs_ucstonls(): Unicode name contains characters that cannot be converted to character set iso8859-2. You might want to try to use the mount option nls=utf8.
ntfs: (device loop0): ntfs_filldir(): Skipping unrepresentable inode 0x4.
ntfs: (device loop0): ntfs_lookup(): ntfs_lookup_ino_by_name() failed with error code -24.
general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f]
CPU: 1 PID: 5899 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:traverse_mounts fs/namei.c:1435 [inline]
RIP: 0010:handle_mounts fs/namei.c:1547 [inline]
RIP: 0010:step_into+0x121/0xf10 fs/namei.c:1840
Code: 74 24 08 c6 44 24 7f 00 43 0f b6 04 3c 84 c0 4d 89 fd 0f 85 f5 0b 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 f4 0b 00 00 45 8b 3f 44 89 fe 81 e6 00
RSP: 0018:ffffc900032b7ac0 EFLAGS: 00010206
RAX: 0000000000000003 RBX: ffffc900032b7ca0 RCX: ffff8880226d3c00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900032b7bc8 R08: ffff88805dcbce57 R09: 1ffff1100bb979ca
R10: dffffc0000000000 R11: ffffed100bb979cb R12: 1ffff92000656f9b
R13: dffffc0000000000 R14: 0000000000000080 R15: 0000000000000018
FS: 00005555667f3500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055556681e648 CR3: 000000005fe14000 CR4: 00000000003506e0
Call Trace:
<TASK>
lookup_last fs/namei.c:2459 [inline]
path_lookupat+0x169/0x440 fs/namei.c:2483
filename_lookup+0x1f4/0x510 fs/namei.c:2512
user_path_at_empty+0x42/0x60 fs/namei.c:2909
user_path_at include/linux/namei.h:57 [inline]
ksys_umount fs/namespace.c:1912 [inline]
__do_sys_umount fs/namespace.c:1920 [inline]
__se_sys_umount fs/namespace.c:1918 [inline]
__x64_sys_umount+0xf5/0x170 fs/namespace.c:1918
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f708bb8fed7
Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffd6b8aded8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f708bb8fed7
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd6b8adf90
RBP: 00007ffd6b8adf90 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd6b8af080
R13: 00007f708bc11c05 R14: 00005555667f34a8 R15: 00007ffd6b8b1240
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:traverse_mounts fs/namei.c:1435 [inline]
RIP: 0010:handle_mounts fs/namei.c:1547 [inline]
RIP: 0010:step_into+0x121/0xf10 fs/namei.c:1840
Code: 74 24 08 c6 44 24 7f 00 43 0f b6 04 3c 84 c0 4d 89 fd 0f 85 f5 0b 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 f4 0b 00 00 45 8b 3f 44 89 fe 81 e6 00
RSP: 0018:ffffc900032b7ac0 EFLAGS: 00010206
RAX: 0000000000000003 RBX: ffffc900032b7ca0 RCX: ffff8880226d3c00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900032b7bc8 R08: ffff88805dcbce57 R09: 1ffff1100bb979ca
R10: dffffc0000000000 R11: ffffed100bb979cb R12: 1ffff92000656f9b
R13: dffffc0000000000 R14: 0000000000000080 R15: 0000000000000018
FS: 00005555667f3500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055556681e648 CR3: 000000005fe14000 CR4: 00000000003506e0
----------------
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 f5 0b 00 00 jne 0xc0d
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 f4 0b 00 00 jne 0xc2b
37: 45 8b 3f mov (%r15),%r15d
3a: 44 89 fe mov %r15d,%esi
3d: 81 .byte 0x81
3e: e6 00 out %al,$0x0


---
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.
Reply all
Reply to author
Forward
0 new messages