syzbot


BUG: unable to handle kernel paging request in ntfs_security_init

Status: upstream: reported C repro on 2023/04/05 13:07
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+7a921ca3f83be96bfbdb@syzkaller.appspotmail.com
First crash: 446d, last: 183d
Bug presence (2)
Date Name Commit Repro Result
2023/05/18 linux-6.1.y (ToT) fa74641fb6b9 C [report] BUG: unable to handle kernel paging request in ntfs_security_init
2023/05/18 upstream (ToT) 4d6d4c7f541d C Didn't crash
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in ntfs_security_init ntfs3 C error 42 408d 551d 0/27 auto-obsoleted due to no activity on 2023/08/22 15:17
linux-5.15 BUG: unable to handle kernel paging request in ntfs_security_init origin:lts-only C error 19 148d 408d 0/3 upstream: reported C repro on 2023/05/13 16:12
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2023/09/18 05:53 2h00m fix candidate upstream job log (0)

Sample crash report:
loop0: detected capacity change from 0 to 4096
ntfs3: loop0: Different NTFS' sector size (4096) and media sector size (512)
Unable to handle kernel paging request at virtual address dfff800000000000
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
Mem abort info:
  ESR = 0x0000000096000006
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x06: level 2 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000006
  CM = 0, WnR = 0
[dfff800000000000] address between user and kernel address ranges
Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 4222 Comm: syz-executor250 Not tainted 6.1.28-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : ntfs_security_init+0x244/0x9f8 fs/ntfs3/fsntfs.c:1853
lr : resident_data_ex fs/ntfs3/ntfs.h:461 [inline]
lr : ntfs_security_init+0x230/0x9f8 fs/ntfs3/fsntfs.c:1852
sp : ffff80001d9b76e0
x29: ffff80001d9b77e0 x28: dfff800000000000 x27: 0000000000000020
x26: ffff700003b36ee4 x25: 0000000000000040 x24: 0000000000000000
x23: ffff0000d756c160 x22: ffff80001d9b7760 x21: ffff0000df3ec4b0
x20: ffff0000df3ec260 x19: ffff0000d77e4000 x18: 1fffe000368b6776
x17: ffff80001558d000 x16: ffff80001209f97c x15: 0000000000000000
x14: 1ffff00002ab20b0 x13: dfff800000000000 x12: 0000000000000001
x11: ff80800009667944 x10: 0000000000000000 x9 : ffff800009667944
x8 : 0000000000000000 x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000004 x3 : ffff80001253fc00
x2 : 0000000000000008 x1 : 0000000000000000 x0 : 0000000000000020
Call trace:
 ntfs_security_init+0x244/0x9f8 fs/ntfs3/fsntfs.c:1853
 ntfs_fill_super+0x35f4/0x3a04 fs/ntfs3/super.c:1238
 get_tree_bdev+0x360/0x54c fs/super.c:1346
 ntfs_fs_get_tree+0x28/0x38 fs/ntfs3/super.c:1359
 vfs_get_tree+0x90/0x274 fs/super.c:1553
 do_new_mount+0x25c/0x8c8 fs/namespace.c:3040
 path_mount+0x590/0xe58 fs/namespace.c:3370
 do_mount fs/namespace.c:3383 [inline]
 __do_sys_mount fs/namespace.c:3591 [inline]
 __se_sys_mount fs/namespace.c:3568 [inline]
 __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3568
 __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/0x218 arch/arm64/kernel/syscall.c:206
 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+0x18c/0x190 arch/arm64/kernel/entry.S:581
Code: 14000003 97ba4c5d 8b1b02f8 d343ff08 (38fc6908) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	14000003 	b	0xc
   4:	97ba4c5d 	bl	0xfffffffffee93178
   8:	8b1b02f8 	add	x24, x23, x27
   c:	d343ff08 	lsr	x8, x24, #3
* 10:	38fc6908 	ldrsb	w8, [x8, x28] <-- trapping instruction

Crashes (17):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/14 07:27 linux-6.1.y bf4ad6fa4e53 2b9ba477 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in ntfs_security_init
2023/05/12 05:42 linux-6.1.y bf4ad6fa4e53 adb9a3cd .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in ntfs_security_init
2023/10/29 04:06 linux-6.1.y 32c9cdbe383c 3c418d72 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan general protection fault in ntfs_security_init
2023/06/16 20:43 linux-6.1.y ca87e77a2ef8 f3921d4d .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan general protection fault in ntfs_security_init
2023/06/12 08:00 linux-6.1.y 2f3918bc53fb 49519f06 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan general protection fault in ntfs_security_init
2023/12/24 01:43 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in ntfs_security_init
2023/10/29 04:47 linux-6.1.y 32c9cdbe383c 3c418d72 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in ntfs_security_init
2023/10/18 13:29 linux-6.1.y adc4d740ad9e 342b9c55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in ntfs_security_init
2023/07/19 04:40 linux-6.1.y 61fd484b2cf6 022df2bb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in ntfs_security_init
2023/06/21 09:16 linux-6.1.y ca87e77a2ef8 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in ntfs_security_init
2023/05/21 22:44 linux-6.1.y fa74641fb6b9 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in ntfs_security_init
2023/05/12 05:13 linux-6.1.y bf4ad6fa4e53 adb9a3cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in ntfs_security_init
2023/04/08 16:47 linux-6.1.y 543aff194ab6 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in ntfs_security_init
2023/04/05 13:07 linux-6.1.y 3b29299e5f60 831373d3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in ntfs_security_init
2023/10/29 03:55 linux-6.1.y 32c9cdbe383c 3c418d72 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in ntfs_security_init
2023/08/10 21:53 linux-6.1.y 0a4a7855302d da3c3ef8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in ntfs_security_init
2023/06/04 00:07 linux-6.1.y d2869ace6eeb a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in ntfs_security_init
* Struck through repros no longer work on HEAD.