syzbot
BUG: unable to handle kernel paging request in dtInsertEntry
Status:
auto-obsoleted due to no activity on 2024/12/03 11:36
Reported-by: syzbot+416f1b2e39cc0a8c27d6@syzkaller.appspotmail.com
First crash: 1170d, last: 725d
▶
▼
Bug presence (1)
| Date |
Name |
Commit |
Repro |
Result |
| 2024/10/17 |
upstream (ToT) |
c964ced77262 |
C
|
Didn't crash |
▶
▼
Fix bisection attempts (8)
Sample crash report:
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: 1 PID: 6885 Comm: syz.3.598 Not tainted 6.1.106-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : dtInsertEntry+0x9cc/0x1178 fs/jfs/jfs_dtree.c:3713
lr : dtInsertEntry+0x9c0/0x1178 fs/jfs/jfs_dtree.c:3713
sp : ffff80001e866de0
x29: ffff80001e866f40 x28: 0000000000000008 x27: 1fffe0001c28c628
x26: ffff0000e1463130 x25: ffff0000e1463140 x24: 0000000000000000
x23: 0000000000000000 x22: dfff800000000000 x21: ffff80001d6aa180
x20: ffff80001e866ee0 x19: 0000000000000008 x18: ffff80001e866e60
x17: ffff800018a97000 x16: ffff80000825ffa0 x15: 0000000000000002
x14: 0000000000008000 x13: ffff0000ca2a1bc0 x12: 0000000000040000
x11: 0000000000003cae x10: ffff800025e9a000 x9 : ffff8000099afb98
x8 : 0000000000000001 x7 : ffff8000099d444c x6 : 0000000000000000
x5 : 0000000000000000 x4 : ffff80001e867420 x3 : ffff8000099be480
x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
dtInsertEntry+0x9cc/0x1178 fs/jfs/jfs_dtree.c:3713
dtInsert+0x964/0x54f4 fs/jfs/jfs_dtree.c:891
jfs_create+0x698/0xa1c fs/jfs/namei.c:137
lookup_open fs/namei.c:3484 [inline]
open_last_lookups fs/namei.c:3552 [inline]
path_openat+0xeac/0x2548 fs/namei.c:3782
do_filp_open+0x1bc/0x3cc fs/namei.c:3812
do_sys_openat2+0x128/0x3e0 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:140
do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204
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:585
Code: 97ad292d f94017e8 91002113 d343fe68 (38f66908)
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
0: 97ad292d bl 0xfffffffffeb4a4b4
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
* Struck through repros no longer work on HEAD.