syzbot


BUG: unable to handle kernel NULL pointer dereference in indx_find

Status: auto-obsoleted due to no activity on 2023/08/21 21:54
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+b3016abcd1c2d60e22a5@syzkaller.appspotmail.com
First crash: 387d, last: 368d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ntfs3?] BUG: unable to handle kernel NULL pointer dereference in indx_find 0 (1) 2023/04/11 06:32
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 BUG: unable to handle kernel NULL pointer dereference in indx_find origin:lts-only C done 3 287d 407d 3/3 fixed on 2023/09/27 12:10
linux-5.15 BUG: unable to handle kernel NULL pointer dereference in indx_find origin:lts-only C error 5 342d 407d 0/3 upstream: reported C repro on 2023/03/15 06:28

Sample crash report:
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=000000011bee0000
[0000000000000000] pgd=080000011562f003, p4d=080000011562f003, pud=08000001177a8003, pmd=0000000000000000
Internal error: Oops: 0000000086000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 10129 Comm: syz-executor.0 Not tainted 6.3.0-rc7-syzkaller-g14f8db1c0f9a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : 0x0
lr : hdr_find_e+0x298/0x4e8 fs/ntfs3/index.c:754
sp : ffff80001f9473e0
x29: ffff80001f9475c0 x28: 000000000000000c x27: 0000000000000000
x26: 0000000000000000 x25: 0000000000000040 x24: 0000000000000000
x23: dfff800000000000 x22: 0000000000000002 x21: 0000000000000030
x20: ffff00012ee7c178 x19: 0000000000000001 x18: ffff80001f947120
x17: ffff800008a6a5c4 x16: ffff800012264800 x15: ffff800008a6ae40
x14: ffff800008a6aa50 x13: 0000000000000000 x12: 0000000000000004
x11: 0000000000040000 x10: 00000000000192b4 x9 : 0000000000000003
x8 : 0000000000000000 x7 : 0000000000000000 x6 : 000000000000003f
x5 : 0000000000000040 x4 : 0000000000000000 x3 : 0000000000000000
x2 : ffff00012ee7c188 x1 : 000000000000000c x0 : ffff80001f9478f0
Call trace:
 0x0
 indx_find+0x2b0/0x9b8 fs/ntfs3/index.c:1141
 indx_insert_entry+0x3d8/0x634 fs/ntfs3/index.c:1914
 ntfs_insert_reparse+0x184/0x2e0 fs/ntfs3/fsntfs.c:2372
 ntfs_create_inode+0x1734/0x2bfc fs/ntfs3/inode.c:1565
 ntfs_symlink+0x5c/0x7c fs/ntfs3/namei.c:192
 vfs_symlink+0x138/0x260 fs/namei.c:4398
 do_symlinkat+0x364/0x6b0 fs/namei.c:4424
 __do_sys_symlinkat fs/namei.c:4440 [inline]
 __se_sys_symlinkat fs/namei.c:4437 [inline]
 __arm64_sys_symlinkat+0xa4/0xbc fs/namei.c:4437
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:193
 el0_svc+0x4c/0x15c arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591
Code: ???????? ???????? ???????? ???????? (????????) 
---[ end trace 0000000000000000 ]---

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/23 21:53 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel NULL pointer dereference in indx_find
2023/04/22 10:20 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel NULL pointer dereference in indx_find
2023/04/05 01:02 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 59caa87f9dfb 831373d3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel NULL pointer dereference in indx_find
* Struck through repros no longer work on HEAD.