Hello,
syzbot found the following issue on:
HEAD commit: 8a923980a190 Linux 6.1.16
git tree: linux-6.1.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=17cd522ac80000
kernel config:
https://syzkaller.appspot.com/x/.config?x=fc32d7322291d081
dashboard link:
https://syzkaller.appspot.com/bug?extid=ba95aa88fe0e1c3e132f
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2
userspace arch: arm64
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/bf09a4a426d0/disk-8a923980.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/99e88c1c3e26/vmlinux-8a923980.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/d13a720e0836/Image-8a923980.gz.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+ba95aa...@syzkaller.appspotmail.com
el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581
Unable to handle kernel paging request at virtual address dfff800000000002
KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017]
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
[dfff800000000002] address between user and kernel address ranges
Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 5480 Comm: syz-executor.0 Not tainted 6.1.16-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 : is_rec_inuse fs/ntfs3/ntfs.h:313 [inline]
pc : ni_write_inode+0x178/0xfb8 fs/ntfs3/frecord.c:3246
lr : ni_write_inode+0x144/0xfb8 fs/ntfs3/frecord.c:3240
sp : ffff80002cc071c0
x29: ffff80002cc072d0 x28: 1fffe0001986b80a x27: ffff0000cc35c050
x26: ffff80002cc07240 x25: 0000000000000016 x24: ffff00010ad45140
x23: 0000000000000000 x22: dfff800000000000 x21: ffff0000cc35c000
x20: ffff00010ad45370 x19: ffff700005980e44 x18: 1fffe000368b0376
x17: 0000000000000000 x16: ffff80001224ff0c x15: 0000000000000000
x14: 1ffff00002ae60b0 x13: dfff800000000000 x12: 0000000000040000
x11: ff808000096c4250 x10: 0000000000000002 x9 : ffff00010ad45120
x8 : 0000000000000002 x7 : ffff8000096c4240 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000126b6aa0
x2 : 0000000000000008 x1 : 0000000000000001 x0 : 0000000000000000
Call trace:
is_rec_inuse fs/ntfs3/ntfs.h:313 [inline]
ni_write_inode+0x178/0xfb8 fs/ntfs3/frecord.c:3246
ntfs_evict_inode+0x70/0xc8 fs/ntfs3/inode.c:1757
evict+0x260/0x68c fs/inode.c:664
iput_final fs/inode.c:1747 [inline]
iput+0x988/0xa6c fs/inode.c:1773
ntfs_new_inode+0x98/0x110 fs/ntfs3/fsntfs.c:1660
ntfs_create_inode+0x3cc/0x2a98 fs/ntfs3/inode.c:1291
ntfs_create+0x54/0x74 fs/ntfs3/namei.c:100
lookup_open fs/namei.c:3413 [inline]
open_last_lookups fs/namei.c:3481 [inline]
path_openat+0xeac/0x2548 fs/namei.c:3711
do_filp_open+0x1bc/0x3cc fs/namei.c:3741
do_sys_openat2+0x128/0x3d8 fs/open.c:1310
do_sys_open fs/open.c:1326 [inline]
__do_sys_openat fs/open.c:1342 [inline]
__se_sys_openat fs/open.c:1337 [inline]
__arm64_sys_openat+0x1f0/0x240 fs/open.c:1337
__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: d1094289 91005919 f9001fe9 d343ff28 (38f66908)
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
0: d1094289 sub x9, x20, #0x250
4: 91005919 add x25, x8, #0x16
8: f9001fe9 str x9, [sp, #56]
c: d343ff28 lsr x8, x25, #3
* 10: 38f66908 ldrsb w8, [x8, x22] <-- 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.