syzbot
BUG: unable to handle kernel paging request in ocfs2_prepare_dir_for_insert
Status:
auto-obsoleted due to no activity on 2025/05/14 04:21
Reported-by: syzbot+1c1295145200bdc7a89c@syzkaller.appspotmail.com
First crash: 538d, last: 522d
▶
▼
Bug presence (1)
| Date |
Name |
Commit |
Repro |
Result |
| 2025/03/03 |
upstream (ToT) |
7eb172143d55 |
C
|
Failed due to an error; will retry later
|
▶
▼
Last patch testing requests (1)
| Created |
Duration |
User |
Patch |
Repo |
Result |
| 2025/03/20 02:01 |
18m
|
retest repro
|
|
linux-5.15.y |
OK
log
|
Sample crash report:
loop2: detected capacity change from 0 to 32768
ocfs2: Mounting device (7,2) on (node local, slot 0) with ordered data mode.
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: 0000000096000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4291 Comm: syz.2.48 Not tainted 5.15.178-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : ocfs2_find_dir_space_id fs/ocfs2/dir.c:3408 [inline]
pc : ocfs2_prepare_dir_for_insert+0x2c08/0x5090 fs/ocfs2/dir.c:4288
lr : ocfs2_find_dir_space_id fs/ocfs2/dir.c:3371 [inline]
lr : ocfs2_prepare_dir_for_insert+0x23f8/0x5090 fs/ocfs2/dir.c:4288
sp : ffff8000205367a0
x29: ffff800020537040 x28: 1fffe0001d211b9f x27: ffff0000e908ddf8
x26: ffff7000040a6d30 x25: ffff800020536980 x24: dfff800000000000
x23: ffff800020536f80 x22: 0000000000000014 x21: 00000001000001c0
x20: 0000000000000009 x19: 0000000000000000 x18: 0000000000000000
x17: 0000000000000002 x16: ffff800009e3ffa0 x15: 0000000000000002
x14: ffff0000d12751c0 x13: 0000000000ff0100 x12: 0000000000080000
x11: 000000000000a668 x10: ffff80002352a000 x9 : 000000000000a669
x8 : 0000000000000001 x7 : 0000000000000000 x6 : ffff800020536ec0
x5 : ffff8000205372f0 x4 : 0000000000000000 x3 : 0000000000000020
x2 : 0000000000000000 x1 : 0000000000000400 x0 : 0000000000000008
Call trace:
ocfs2_find_dir_space_id fs/ocfs2/dir.c:3408 [inline]
ocfs2_prepare_dir_for_insert+0x2c08/0x5090 fs/ocfs2/dir.c:4288
ocfs2_mknod+0x854/0x24f8 fs/ocfs2/namei.c:294
ocfs2_create+0x184/0x4c8 fs/ocfs2/namei.c:674
lookup_open fs/namei.c:3462 [inline]
open_last_lookups fs/namei.c:3532 [inline]
path_openat+0xf18/0x26cc fs/namei.c:3739
do_filp_open+0x1a8/0x3b4 fs/namei.c:3769
do_sys_openat2+0x128/0x3e0 fs/open.c:1253
do_sys_open fs/open.c:1269 [inline]
__do_sys_openat fs/open.c:1285 [inline]
__se_sys_openat fs/open.c:1280 [inline]
__arm64_sys_openat+0x1f0/0x240 fs/open.c:1280
__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:608
el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
Code: cb150295 d343fc08 91002674 f9409bfa (38f86908)
---[ end trace 41fccb8c7462e9f4 ]---
----------------
Code disassembly (best guess):
0: cb150295 sub x21, x20, x21
4: d343fc08 lsr x8, x0, #3
8: 91002674 add x20, x19, #0x9
c: f9409bfa ldr x26, [sp, #304]
* 10: 38f86908 ldrsb w8, [x8, x24] <-- trapping instruction
* Struck through repros no longer work on HEAD.