Hello,
syzbot found the following issue on:
HEAD commit: 7eaef76fbc46 Linux 6.1.20
git tree: linux-6.1.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=117b0c5ec80000
kernel config:
https://syzkaller.appspot.com/x/.config?x=29ad3fe3c7b61175
dashboard link:
https://syzkaller.appspot.com/bug?extid=e936bc3905ea91c75365
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2
userspace arch: arm64
syz repro:
https://syzkaller.appspot.com/x/repro.syz?x=1360f66ec80000
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/34f95428f5fb/disk-7eaef76f.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/1bdd9b2c390d/vmlinux-7eaef76f.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/419140981cfa/Image-7eaef76f.gz.xz
mounted in repro:
https://storage.googleapis.com/syzbot-assets/aa3e0ee9d2b7/mount_0.gz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+e936bc...@syzkaller.appspotmail.com
loop0: detected capacity change from 0 to 32768
find_entry called with index = 0
read_mapping_page failed!
ERROR: (device loop0): txAbort:
Unable to handle kernel paging request at virtual address dfff800000000008
KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047]
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
[dfff800000000008] address between user and kernel address ranges
Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 4336 Comm: syz-executor.0 Not tainted 6.1.20-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : generic_test_bit include/asm-generic/bitops/generic-non-atomic.h:128 [inline]
pc : txBegin+0x138/0x5e0 fs/jfs/jfs_txnmgr.c:366
lr : txBegin+0x104/0x5e0 fs/jfs/jfs_txnmgr.c:357
sp : ffff80001df17860
x29: ffff80001df17880 x28: dfff800000000000 x27: ffff80001df17940
x26: 1ffff00002b98e40 x25: 0000000000000040 x24: 0000000000000000
x23: ffff800015cd23a0 x22: ffff0000c211f830 x21: 0000000000000150
x20: 0000000000000008 x19: 0000000000000000 x18: 1ffff00003be2ec0
x17: ffff80001572d000 x16: ffff8000083239f4 x15: 0000000000000000
x14: 1ffff00002ae60b0 x13: dfff800000000000 x12: ffff700003be2ef4
x11: ff80800009a0c42c x10: 0000000000000000 x9 : ffff0000d3d13680
x8 : 1ffff00002b98e40 x7 : ffff800009a0c400 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800008323b24
x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
txBegin+0x138/0x5e0 fs/jfs/jfs_txnmgr.c:362
jfs_link+0x1ac/0x560 fs/jfs/namei.c:802
vfs_link+0x598/0x74c fs/namei.c:4529
do_linkat+0x2f4/0x898 fs/namei.c:4600
__do_sys_linkat fs/namei.c:4628 [inline]
__se_sys_linkat fs/namei.c:4625 [inline]
__arm64_sys_linkat+0xe4/0x100 fs/namei.c:4625
__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: 9400012e aa1703e0 95947120 350002f8 (387c6a88)
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
0: 9400012e bl 0x4b8
4: aa1703e0 mov x0, x23
8: 95947120 bl 0x651c488
c: 350002f8 cbnz w24, 0x68
* 10: 387c6a88 ldrb w8, [x20, x28] <-- trapping instruction
---
This report is generated by a bot. It may contain errors.
See
https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at
syzk...@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches