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: 382d, last: 2d12h
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 error 8 40d 382d 0/3 upstream: reported C repro on 2023/06/07 12:26
upstream general protection fault in dtInsertEntry jfs C inconclusive 311 3h04m 75d 0/27 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 142d 636d 26/27 fixed on 2024/03/20 11:33
linux-4.19 general protection fault in dtInsertEntry C error 4 589d 636d 0/1 upstream: reported C repro on 2022/09/26 01:50
linux-4.14 general protection fault in dtInsertEntry C 3 480d 636d 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 (13):
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
2024/05/13 21:28 linux-5.15.y 284087d4f7d5 9026e142 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan general protection fault in dtInsertEntry
2024/05/05 10:55 linux-5.15.y 284087d4f7d5 610f2a54 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan general protection fault in dtInsertEntry
2024/06/20 19:16 linux-5.15.y 4878aadf2d15 dac2aa43 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in dtInsertEntry
2024/05/14 21:00 linux-5.15.y 284087d4f7d5 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in dtInsertEntry
2024/05/13 11:46 linux-5.15.y 284087d4f7d5 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in dtInsertEntry
2024/05/13 07:45 linux-5.15.y 284087d4f7d5 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in dtInsertEntry
2024/05/11 04:07 linux-5.15.y 284087d4f7d5 f7c35481 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in dtInsertEntry
2024/05/09 20:53 linux-5.15.y 284087d4f7d5 05079661 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in dtInsertEntry
2024/05/08 10:11 linux-5.15.y 284087d4f7d5 4cf3f9b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in dtInsertEntry
2024/05/07 21:04 linux-5.15.y 284087d4f7d5 cb2dcc0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in dtInsertEntry
2024/05/05 10:24 linux-5.15.y 284087d4f7d5 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dtInsertEntry
2024/06/21 05:43 linux-5.15.y 4878aadf2d15 dac2aa43 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 UBSAN: array-index-out-of-bounds in dtInsertEntry
* Struck through repros no longer work on HEAD.