syzbot


BUG: unable to handle kernel paging request in dtInsertEntry

Status: upstream: reported C repro on 2023/06/07 09:20
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+aeaecc863bec52168639@syzkaller.appspotmail.com
First crash: 331d, last: 331d
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2023/06/08 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-6.1 BUG: unable to handle kernel paging request in dtInsertEntry origin:upstream C 6 9d10h 331d 0/3 upstream: reported C repro on 2023/06/07 12:26
upstream general protection fault in dtInsertEntry jfs C inconclusive 98 32m 24d 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

Sample crash report:
loop0: detected capacity change from 0 to 32768
Unable to handle kernel paging request at virtual address dfff800000000001
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: 96000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 3960 Comm: syz-executor365 Not tainted 5.15.115-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:4006
lr : dtInsertEntry+0x9c0/0x1178 fs/jfs/jfs_dtree.c:4006
sp : ffff80001af76dc0
x29: ffff80001af76f20 x28: 0000000000000008 x27: 1fffe0001bf05628
x26: ffff0000df82b130 x25: ffff0000df82b140 x24: 0000000000000005
x23: 0000000000000000 x22: dfff800000000000 x21: ffff80001af77400
x20: ffff80001af76ec0 x19: 0000000000000008 x18: 0000000000000000
x17: ff808000098d45e4 x16: 0000000000000000 x15: ffff8000098d45e4
x14: 0000000000008000 x13: ffffffffffffffff x12: 0000000000000000
x11: ff808000098addac x10: 0000000000000000 x9 : ffff8000098addac
x8 : 0000000000000001 x7 : ffff8000098d3b04 x6 : 0000000000000000
x5 : 0000000000000000 x4 : ffff80001af77400 x3 : ffff8000098bc848
x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 dtInsertEntry+0x9cc/0x1178 fs/jfs/jfs_dtree.c:4006
 dtInsert+0x958/0x5534 fs/jfs/jfs_dtree.c:886
 jfs_create+0x698/0xa1c fs/jfs/namei.c:137
 lookup_open fs/namei.c:3392 [inline]
 open_last_lookups fs/namei.c:3462 [inline]
 path_openat+0xec0/0x26f0 fs/namei.c:3669
 do_filp_open+0x1a8/0x3b4 fs/namei.c:3699
 do_sys_openat2+0x128/0x3d8 fs/open.c:1211
 do_sys_open fs/open.c:1227 [inline]
 __do_sys_openat fs/open.c:1243 [inline]
 __se_sys_openat fs/open.c:1238 [inline]
 __arm64_sys_openat+0x1f0/0x240 fs/open.c:1238
 __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: 97b054d5 f94017e8 91002113 d343fe68 (38f66908) 
---[ end trace fa60150a0e1a6da9 ]---
----------------
Code disassembly (best guess):
   0:	97b054d5 	bl	0xfffffffffec15354
   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 (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/07 09:20 linux-5.15.y d7af3e5ba454 a4ae4f42 .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 dtInsertEntry
* Struck through repros no longer work on HEAD.