syzbot


BUG: unable to handle kernel paging request in run_add_entry

Status: auto-obsoleted due to no activity on 2023/07/07 04:47
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+301be5988d6e47c62358@syzkaller.appspotmail.com
First crash: 417d, last: 346d

Sample crash report:
ntfs3: loop4: Different NTFS' sector size (4096) and media sector size (512)
Unable to handle kernel paging request at virtual address fbd529d5a0000000
KASAN: maybe wild-memory-access in range [0xdead4ead00000000-0xdead4ead00000007]
Mem abort info:
  ESR = 0x0000000096000004
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x04: level 0 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000004
  CM = 0, WnR = 0
[fbd529d5a0000000] address between user and kernel address ranges
Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 19451 Comm: syz-executor.4 Not tainted 6.2.0-syzkaller-18300-g2ebd1fbb946d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : run_lookup fs/ntfs3/run.c:49 [inline]
pc : run_add_entry+0x9c/0xbdc fs/ntfs3/run.c:331
lr : run_lookup fs/ntfs3/run.c:39 [inline]
lr : run_add_entry+0x70/0xbdc fs/ntfs3/run.c:331
sp : ffff8000224e7150
x29: ffff8000224e71c0 x28: 0000000000000001 x27: ffff0001348f08c0
x26: dead4ead00000000 x25: 00000000ffffffff x24: dfff800000000000
x23: 0000000000000045 x22: 0000000000000000 x21: 0000000000000000
x20: ffff0001348f08b8 x19: 0000000000000001 x18: 1fffe0003689f976
x17: ffff800015b8d000 x16: 0000000000000000 x15: 0000000000000000
x14: 0000000000000002 x13: 0000000000000001 x12: 0000000000040000
x11: ff80800009702b38 x10: 0000000000000002 x9 : ffff000138d3d1c0
x8 : 1bd5a9d5a0000000 x7 : 0000000000000008 x6 : ffff0000cd58e1d8
x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000001
x2 : 0000000000000045 x1 : 00000000ffffffff x0 : 0000000000000000
Call trace:
 run_lookup fs/ntfs3/run.c:49 [inline]
 run_add_entry+0x9c/0xbdc fs/ntfs3/run.c:331
 run_unpack+0x7a4/0xb60 fs/ntfs3/run.c:1021
 run_unpack_ex+0x130/0x6a8 fs/ntfs3/run.c:1060
 ntfs_read_mft fs/ntfs3/inode.c:386 [inline]
 ntfs_iget5+0x1b24/0x2c18 fs/ntfs3/inode.c:518
 ntfs_loadlog_and_replay+0x1c4/0x448 fs/ntfs3/fsntfs.c:306
 ntfs_fill_super+0x1f7c/0x3b9c fs/ntfs3/super.c:1053
 get_tree_bdev+0x360/0x54c fs/super.c:1282
 ntfs_fs_get_tree+0x28/0x38 fs/ntfs3/super.c:1408
 vfs_get_tree+0x90/0x274 fs/super.c:1489
 do_new_mount+0x25c/0x8c8 fs/namespace.c:3145
 path_mount+0x590/0xe58 fs/namespace.c:3475
 do_mount fs/namespace.c:3488 [inline]
 __do_sys_mount fs/namespace.c:3697 [inline]
 __se_sys_mount fs/namespace.c:3674 [inline]
 __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3674
 __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+0x58/0x168 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: aa1403e0 97c9c1f2 f940029a d343ff48 (38f86908) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	aa1403e0 	mov	x0, x20
   4:	97c9c1f2 	bl	0xffffffffff2707cc
   8:	f940029a 	ldr	x26, [x20]
   c:	d343ff48 	lsr	x8, x26, #3
* 10:	38f86908 	ldrsb	w8, [x8, x24] <-- trapping instruction

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/26 03:44 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2ebd1fbb946d ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in run_add_entry
2023/01/27 03:53 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1dc22be1f91f 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in run_add_entry
2023/04/08 04:47 upstream aa318c48808c 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in run_add_entry
* Struck through repros no longer work on HEAD.