syzbot


BUG: unable to handle kernel paging request in dtInsertEntry

Status: upstream: reported C repro on 2023/06/07 12:26
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+416f1b2e39cc0a8c27d6@syzkaller.appspotmail.com
First crash: 330d, last: 9d03h
Bug presence (1)
Date Name Commit Repro Result
2023/06/07 upstream (ToT) 5f63595ebd82 C [report] BUG: unable to handle kernel paging request in dtInsertEntry
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 BUG: unable to handle kernel paging request in dtInsertEntry origin:upstream C error 1 330d 330d 0/3 upstream: reported C repro on 2023/06/07 09:20
upstream general protection fault in dtInsertEntry jfs C inconclusive 97 2h09m 23d 0/26 upstream: reported C repro on 2024/04/09 06:22
upstream BUG: unable to handle kernel NULL pointer dereference in dtInsertEntry jfs C error done 29 91d 584d 26/26 fixed on 2024/03/20 11:33
linux-4.19 general protection fault in dtInsertEntry C error 4 538d 585d 0/1 upstream: reported C repro on 2022/09/26 01:50
linux-4.14 general protection fault in dtInsertEntry C 3 428d 585d 0/1 upstream: reported C repro on 2022/09/25 23:44
Fix bisection attempts (7)
Created Duration User Patch Repo Result
2024/03/18 12:47 2h02m bisect fix linux-6.1.y job log (0) log
2024/02/14 21:08 1h08m bisect fix linux-6.1.y job log (0) log
2024/01/07 05:00 1h52m bisect fix linux-6.1.y job log (0) log
2023/12/07 23:35 1h43m bisect fix linux-6.1.y job log (0) log
2023/11/07 09:00 1h20m bisect fix linux-6.1.y job log (0) log
2023/10/05 15:33 1h37m bisect fix linux-6.1.y job log (0) log
2023/07/12 17:39 4h58m bisect fix linux-6.1.y job log (0) log

Sample crash report:
loop0: detected capacity change from 0 to 32768
Unable to handle kernel paging request at virtual address dfff800000000001
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
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
[dfff800000000001] address between user and kernel address ranges
Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 4216 Comm: syz-executor803 Not tainted 6.1.32-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : dtInsertEntry+0x9cc/0x1178 fs/jfs/jfs_dtree.c:3708
lr : dtInsertEntry+0x9c0/0x1178 fs/jfs/jfs_dtree.c:3708
sp : ffff80001d9b6de0
x29: ffff80001d9b6f40 x28: 0000000000000008 x27: 1fffe0001bf7f628
x26: ffff0000dfbfb130 x25: ffff0000dfbfb140 x24: 0000000000000005
x23: 0000000000000000 x22: dfff800000000000 x21: ffff80001d9b7420
x20: ffff80001d9b6ee0 x19: 0000000000000008 x18: ffff80001d9b6c40
x17: ffff800008a65250 x16: 0000000000000000 x15: 0000000000000000
x14: 0000000000000000 x13: 0000000000008000 x12: 0000000000000001
x11: ff80800009997654 x10: 0000000000000000 x9 : ffff800009997654
x8 : 0000000000000001 x7 : ffff8000099bbecc x6 : 0000000000000000
x5 : 0000000000000000 x4 : ffff80001d9b7420 x3 : ffff8000099a5f40
x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 dtInsertEntry+0x9cc/0x1178 fs/jfs/jfs_dtree.c:3708
 dtInsert+0x964/0x54f4 fs/jfs/jfs_dtree.c:886
 jfs_create+0x698/0xa1c fs/jfs/namei.c:137
 lookup_open fs/namei.c:3413 [inline]
 open_last_lookups fs/namei.c:3481 [inline]
 path_openat+0xeac/0x2548 fs/namei.c:3711
 do_filp_open+0x1bc/0x3cc fs/namei.c:3741
 do_sys_openat2+0x128/0x3d8 fs/open.c:1318
 do_sys_open fs/open.c:1334 [inline]
 __do_sys_openat fs/open.c:1350 [inline]
 __se_sys_openat fs/open.c:1345 [inline]
 __arm64_sys_openat+0x1f0/0x240 fs/open.c:1345
 __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: 97ad8b4d f94017e8 91002113 d343fe68 (38f66908) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	97ad8b4d 	bl	0xfffffffffeb62d34
   4:	f94017e8 	ldr	x8, [sp, #40]
   8:	91002113 	add	x19, x8, #0x8
   c:	d343fe68 	lsr	x8, x19, #3
* 10:	38f66908 	ldrsb	w8, [x8, x22] <-- trapping instruction

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/07 12:25 linux-6.1.y 76ba310227d2 a4ae4f42 .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 dtInsertEntry
2024/04/20 21:19 linux-6.1.y 6741e066ec76 af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan general protection fault in dtInsertEntry
2023/08/13 16:38 linux-6.1.y 1321ab403b38 39990d51 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan general protection fault in dtInsertEntry
2024/04/24 02:43 linux-6.1.y 6741e066ec76 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in dtInsertEntry
2024/04/21 19:26 linux-6.1.y 6741e066ec76 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in dtInsertEntry
2024/04/20 21:01 linux-6.1.y 6741e066ec76 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in dtInsertEntry
* Struck through repros no longer work on HEAD.