[ntfs3?] BUG: unable to handle kernel NULL pointer dereference in hdr_find_e

4 views
Skip to first unread message

syzbot

unread,
Mar 31, 2023, 12:14:48 PM3/31/23
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 62bad54b26db Merge tag 'dma-mapping-6.3-2023-03-31' of git..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=1083c6e1c80000
kernel config: https://syzkaller.appspot.com/x/.config?x=9c35b3803e5ad668
dashboard link: https://syzkaller.appspot.com/bug?extid=5aeaa3371cd5f4f652c2
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2
CC: [almaz.ale...@paragon-software.com linux-...@vger.kernel.org linux-...@vger.kernel.org nt...@lists.linux.dev]

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/68a7ac7cd5a4/disk-62bad54b.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/fce2266b90fb/vmlinux-62bad54b.xz
kernel image: https://storage.googleapis.com/syzbot-assets/69c5cb7f9ae3/bzImage-62bad54b.xz

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

ntfs3: loop1: failed to convert "0033" to iso8859-6
BUG: kernel NULL pointer dereference, address: 0000000000000000
#PF: supervisor instruction fetch in kernel mode
#PF: error_code(0x0010) - not-present page
PGD 63558067 P4D 63558067 PUD 7df67067 PMD 0
Oops: 0010 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 23429 Comm: syz-executor.1 Not tainted 6.3.0-rc4-syzkaller-00161-g62bad54b26db #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:0x0
Code: Unable to access opcode bytes at 0xffffffffffffffd6.
RSP: 0018:ffffc90014c97618 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000000000
RDX: ffff888030bde188 RSI: 000000000000000c RDI: ffffc90014c97b30
RBP: ffffc90014c97850 R08: 0000000000000000 R09: ffffc90014c976c0
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000030
R13: dffffc0000000000 R14: ffff888030bde178 R15: 0000000000000000
FS: 00007fb9aa301700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 000000002a89a000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
hdr_find_e+0x2fa/0x570 fs/ntfs3/index.c:754
indx_find+0x317/0xb00 fs/ntfs3/index.c:1141
indx_insert_entry+0x4f2/0x740 fs/ntfs3/index.c:1914
ntfs_insert_reparse+0x1d7/0x380 fs/ntfs3/fsntfs.c:2372
ntfs_create_inode+0x1ce2/0x3830 fs/ntfs3/inode.c:1565
ntfs_symlink+0x46/0x60 fs/ntfs3/namei.c:192
vfs_symlink+0x12f/0x2a0 fs/namei.c:4398
do_symlinkat+0x201/0x610 fs/namei.c:4424
__do_sys_symlinkat fs/namei.c:4440 [inline]
__se_sys_symlinkat fs/namei.c:4437 [inline]
__x64_sys_symlinkat+0x99/0xb0 fs/namei.c:4437
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fb9a968c0f9
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:00007fb9aa301168 EFLAGS: 00000246 ORIG_RAX: 000000000000010a
RAX: ffffffffffffffda RBX: 00007fb9a97abf80 RCX: 00007fb9a968c0f9
RDX: 0000000020000200 RSI: 0000000000000005 RDI: 00000000200001c0
RBP: 00007fb9a96e7b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffca73a9f6f R14: 00007fb9aa301300 R15: 0000000000022000
</TASK>
Modules linked in:
CR2: 0000000000000000
---[ end trace 0000000000000000 ]---
RIP: 0010:0x0
Code: Unable to access opcode bytes at 0xffffffffffffffd6.
RSP: 0018:ffffc90014c97618 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000000000
RDX: ffff888030bde188 RSI: 000000000000000c RDI: ffffc90014c97b30
RBP: ffffc90014c97850 R08: 0000000000000000 R09: ffffc90014c976c0
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000030
R13: dffffc0000000000 R14: ffff888030bde178 R15: 0000000000000000
FS: 00007fb9aa301700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 000000002a89a000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
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.

syzbot

unread,
Jul 13, 2023, 4:32:37 AM7/13/23
to syzkaller-upst...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages