[moderation] [ntfs?] BUG: unable to handle kernel NULL pointer dereference in ntfs_check_logfile

11 views
Skip to first unread message

syzbot

unread,
Sep 8, 2023, 6:15:00 AM9/8/23
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: fe4469582053 Merge branch 'for-next/core' into for-kernelci
git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
console output: https://syzkaller.appspot.com/x/log.txt?x=124a60d0680000
kernel config: https://syzkaller.appspot.com/x/.config?x=4f6a8d3c0bd07f11
dashboard link: https://syzkaller.appspot.com/bug?extid=ed355649033ec3f64c65
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: arm64
CC: [an...@tuxera.com linki...@kernel.org linux-...@vger.kernel.org linux-...@vger.kernel.org linux-n...@lists.sourceforge.net]

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/2ec0745828a0/disk-fe446958.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/aedc32340d6c/vmlinux-fe446958.xz
kernel image: https://storage.googleapis.com/syzbot-assets/6eb5a42d09a2/Image-fe446958.gz.xz

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

ntfs: volume version 3.1.
Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
Mem abort info:
ESR = 0x0000000086000006
EC = 0x21: IABT (current EL), IL = 32 bits
SET = 0, FnV = 0
EA = 0, S1PTW = 0
FSC = 0x06: level 2 translation fault
user pgtable: 4k pages, 48-bit VAs, pgdp=000000010e430000
[0000000000000000] pgd=080000010b5a1003, p4d=080000010b5a1003, pud=0800000106838003, pmd=0000000000000000
Internal error: Oops: 0000000086000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 15822 Comm: syz-executor.3 Not tainted 6.5.0-rc7-syzkaller-gfe4469582053 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : 0x0
lr : filemap_read_folio+0x14c/0x39c mm/filemap.c:2389
sp : ffff8000976d7300
x29: ffff8000976d7390 x28: 1fffff800099ca38 x27: 1fffff800099ca39
x26: 0000000000000000 x25: dfff800000000000 x24: 0000000000000000
x23: ffff8000976d7340 x22: 0000000000000000 x21: fffffc0004ce51c8
x20: 0000000000000000 x19: fffffc0004ce51c0 x18: ffff0001b42135a8
x17: ffff80008e09d000 x16: ffff80008a572e30 x15: 0000000000000001
x14: 1fffff800099ca38 x13: 0000000000000000 x12: 0000000000000000
x11: 0000000000040000 x10: 0000000000024e2f x9 : ffff8000a2e2c000
x8 : 0000000000024e30 x7 : 0000000000000000 x6 : ffff8000807cba64
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000807a1928
x2 : 0000000000000001 x1 : fffffc0004ce51c0 x0 : 0000000000000000
Call trace:
0x0
do_read_cache_folio+0x114/0x548 mm/filemap.c:3696
do_read_cache_page mm/filemap.c:3762 [inline]
read_cache_page+0x6c/0x170 mm/filemap.c:3771
read_mapping_page include/linux/pagemap.h:776 [inline]
ntfs_map_page fs/ntfs/aops.h:75 [inline]
ntfs_check_logfile+0x498/0x2838 fs/ntfs/logfile.c:532
load_and_check_logfile+0x78/0x104 fs/ntfs/super.c:1223
load_system_files+0x3260/0x4734 fs/ntfs/super.c:1949
ntfs_fill_super+0x14e0/0x2314 fs/ntfs/super.c:2900
mount_bdev+0x24c/0x328 fs/super.c:1391
ntfs_mount+0x44/0x58 fs/ntfs/super.c:3057
legacy_get_tree+0xd4/0x16c fs/fs_context.c:611
vfs_get_tree+0x90/0x274 fs/super.c:1519
do_new_mount+0x25c/0x8c8 fs/namespace.c:3335
path_mount+0x590/0xe04 fs/namespace.c:3662
do_mount fs/namespace.c:3675 [inline]
__do_sys_mount fs/namespace.c:3884 [inline]
__se_sys_mount fs/namespace.c:3861 [inline]
__arm64_sys_mount+0x45c/0x594 fs/namespace.c:3861
__invoke_syscall arch/arm64/kernel/syscall.c:37 [inline]
invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51
el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136
do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155
el0_svc+0x58/0x16c arch/arm64/kernel/entry-common.c:678
el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696
el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591
Code: ???????? ???????? ???????? ???????? (????????)
---[ end trace 0000000000000000 ]---


---
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 bug is already fixed, let syzbot know by replying with:
#syz fix: exact-commit-title

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

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

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

syzbot

unread,
Dec 3, 2023, 5:10:14 AM12/3/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