syzbot


BUG: unable to handle kernel paging request in ntfs_security_init

Status: upstream: reported C repro on 2023/05/13 16:12
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+86907330aff57bf54596@syzkaller.appspotmail.com
First crash: 360d, last: 100d
Fix bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2023/05/14 linux-5.15.y (ToT) b0ece631f84a C [report] BUG: unable to handle kernel paging request in ntfs_security_init
2023/05/14 upstream (ToT) bb7c241fae62 C Didn't crash
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 BUG: unable to handle kernel paging request in ntfs_security_init origin:lts-only C inconclusive 17 135d 398d 0/3 upstream: reported C repro on 2023/04/05 13:07
upstream general protection fault in ntfs_security_init ntfs3 C error 42 360d 503d 0/26 auto-obsoleted due to no activity on 2023/08/22 15:17
Fix bisection attempts (6)
Created Duration User Patch Repo Result
2024/03/20 17:19 2m fix candidate upstream error job log (0)
2024/02/16 05:09 3m fix candidate upstream error job log (0)
2024/01/04 13:19 0m fix candidate upstream error job log (0)
2023/12/04 17:59 0m fix candidate upstream error job log (0)
2023/09/26 20:35 0m fix candidate upstream error job log (0)
2023/09/25 02:10 0m bisect fix linux-5.15.y error 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
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: 96000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 3961 Comm: syz-executor335 Not tainted 5.15.111-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:1882
lr : resident_data_ex fs/ntfs3/ntfs.h:461 [inline]
lr : ntfs_security_init+0x230/0x9f8 fs/ntfs3/fsntfs.c:1881
sp : ffff80001ae676a0
x29: ffff80001ae677a0 x28: dfff800000000000 x27: 0000000000000020
x26: ffff7000035ccedc x25: 0000000000000040 x24: 0000000000000000
x23: ffff0000c8926160 x22: ffff80001ae67720 x21: ffff0000dd0c44b0
x20: ffff0000dd0c4260 x19: ffff0000c761c000 x18: 0000000000000000
x17: ff808000095bdaa0 x16: ffff80000824cbf4 x15: ffff8000095bdaa0
x14: 1ffff0000291a06a x13: ffffffffffffffff x12: 0000000000000000
x11: ff80800009586114 x10: 0000000000000000 x9 : ffff800009586114
x8 : 0000000000000000 x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000004 x3 : ffff800011d7c7a0
x2 : 0000000000000008 x1 : 0000000000000000 x0 : 0000000000000020
Call trace:
 ntfs_security_init+0x244/0x9f8 fs/ntfs3/fsntfs.c:1882
 ntfs_fill_super+0x3008/0x33ec fs/ntfs3/super.c:1233
 get_tree_bdev+0x360/0x54c fs/super.c:1303
 ntfs_fs_get_tree+0x28/0x38 fs/ntfs3/super.c:1354
 vfs_get_tree+0x90/0x274 fs/super.c:1508
 do_new_mount+0x25c/0x8c8 fs/namespace.c:2994
 path_mount+0x590/0x104c fs/namespace.c:3324
 do_mount fs/namespace.c:3337 [inline]
 __do_sys_mount fs/namespace.c:3545 [inline]
 __se_sys_mount fs/namespace.c:3522 [inline]
 __arm64_sys_mount+0x510/0x5e0 fs/namespace.c:3522
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:596
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
Code: 14000003 97bcf21e 8b1b02f8 d343ff08 (38fc6908) 
---[ end trace cb2582dd91c30afb ]---
----------------
Code disassembly (best guess):
   0:	14000003 	b	0xc
   4:	97bcf21e 	bl	0xfffffffffef3c87c
   8:	8b1b02f8 	add	x24, x23, x27
   c:	d343ff08 	lsr	x8, x24, #3
* 10:	38fc6908 	ldrsb	w8, [x8, x28] <-- trapping instruction

Crashes (19):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/13 16:48 linux-5.15.y b0ece631f84a 2b9ba477 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in ntfs_security_init
2023/05/15 08:06 linux-5.15.y b0ece631f84a 2b9ba477 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in ntfs_security_init
2024/01/28 09:28 linux-5.15.y 6139f2a02fe0 cc4a4020 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan general protection fault in ntfs_security_init
2023/10/19 00:16 linux-5.15.y 02e21884dcf2 342b9c55 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan general protection fault in ntfs_security_init
2023/06/09 01:56 linux-5.15.y d7af3e5ba454 058b3a5a .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan general protection fault in ntfs_security_init
2023/06/08 16:35 linux-5.15.y d7af3e5ba454 058b3a5a .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan general protection fault in ntfs_security_init
2023/12/24 01:39 linux-5.15.y d93fa2c78854 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in ntfs_security_init
2023/10/29 03:48 linux-5.15.y 12952a23a5da 3c418d72 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in ntfs_security_init
2023/10/18 13:30 linux-5.15.y 02e21884dcf2 342b9c55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in ntfs_security_init
2023/06/16 23:51 linux-5.15.y 471e639e59d1 f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in ntfs_security_init
2023/06/04 00:00 linux-5.15.y 0ab06468cbd1 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in ntfs_security_init
2023/05/22 00:08 linux-5.15.y 9d6bde853685 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in ntfs_security_init
2023/05/13 16:11 linux-5.15.y b0ece631f84a 2b9ba477 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in ntfs_security_init
2024/01/28 09:14 linux-5.15.y 6139f2a02fe0 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in ntfs_security_init
2023/12/24 01:27 linux-5.15.y d93fa2c78854 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in ntfs_security_init
2023/10/29 03:56 linux-5.15.y 12952a23a5da 3c418d72 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in ntfs_security_init
2023/10/18 13:38 linux-5.15.y 02e21884dcf2 342b9c55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in ntfs_security_init
2023/07/19 04:42 linux-5.15.y d54cfc420586 022df2bb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in ntfs_security_init
2023/05/21 16:57 linux-5.15.y 9d6bde853685 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in ntfs_security_init
* Struck through repros no longer work on HEAD.