[v6.1] kernel BUG in ext4_es_cache_extent

0 views
Skip to first unread message

syzbot

unread,
Mar 11, 2026, 4:55:35 AM (4 days ago) Mar 11
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: f2ddafa93a25 Linux 6.1.166
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=11c73854580000
kernel config: https://syzkaller.appspot.com/x/.config?x=b1adc0bfde2d8a4a
dashboard link: https://syzkaller.appspot.com/bug?extid=521e748b7c74a2019319
compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8
userspace arch: arm64
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10f7975a580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/28fc2cbac5cf/disk-f2ddafa9.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/b17a5a214fbc/vmlinux-f2ddafa9.xz
kernel image: https://storage.googleapis.com/syzbot-assets/c2564b1203e5/Image-f2ddafa9.gz.xz
mounted in repro: https://storage.googleapis.com/syzbot-assets/1f1f8db445f0/mount_0.gz
fsck result: failed (log: https://syzkaller.appspot.com/x/fsck.log?x=13dab75a580000)

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+521e74...@syzkaller.appspotmail.com

------------[ cut here ]------------
kernel BUG at fs/ext4/extents_status.c:967!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4573 Comm: syz.0.32 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/26/2026
pstate: 82400005 (Nzcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--)
pc : ext4_es_cache_extent+0x630/0x6c4 fs/ext4/extents_status.c:967
lr : ext4_es_cache_extent+0x630/0x6c4 fs/ext4/extents_status.c:967
sp : ffff8000214b6c40
x29: ffff8000214b6ce0 x28: ffff0000eabae4d8 x27: dfff800000000000
x26: ffff8000214b6c40 x25: ffff700004296d88 x24: 0000000000000001
x23: ffff80001520d160 x22: 0000000000000002 x21: 0000000000000110
x20: 0000000000000114 x19: ffff0000e2a934d8 x18: ffff800011b8bf60
x17: 1fffe00033eac97e x16: ffff8000082ef8dc x15: ffff80001520d000
x14: 0000000000000003 x13: 1ffff00004296d8c x12: 0000000000ff0100
x11: ff00800008d3b5f8 x10: 0000000000000000 x9 : ffff800008d3b5f8
x8 : ffff0000d3ff0000 x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000010
x2 : 0000000000000008 x1 : 0000000000000114 x0 : 0000000000000110
Call trace:
ext4_es_cache_extent+0x630/0x6c4 fs/ext4/extents_status.c:967
ext4_cache_extents fs/ext4/extents.c:536 [inline]
__read_extent_tree_block+0x450/0x840 fs/ext4/extents.c:583
ext4_find_extent+0x71c/0xb68 fs/ext4/extents.c:936
ext4_ext_map_blocks+0x268/0x56f4 fs/ext4/extents.c:4172
ext4_map_blocks+0x860/0x1778 fs/ext4/inode.c:679
_ext4_get_block+0x19c/0x4d8 fs/ext4/inode.c:822
ext4_get_block_unwritten+0x3c/0x110 fs/ext4/inode.c:855
ext4_block_write_begin+0x50c/0x10e4 fs/ext4/inode.c:1124
ext4_write_begin+0x5f4/0x131c fs/ext4/ext4_jbd2.h:-1
ext4_da_write_begin+0x348/0x990 fs/ext4/inode.c:3000
generic_perform_write+0x234/0x4f4 mm/filemap.c:3862
ext4_buffered_write_iter+0x2c4/0x528 fs/ext4/file.c:285
ext4_file_write_iter+0x18c/0x1574 fs/ext4/file.c:-1
call_write_iter include/linux/fs.h:2265 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x3ec/0x7f0 fs/read_write.c:584
ksys_pwrite64 fs/read_write.c:699 [inline]
__do_sys_pwrite64 fs/read_write.c:709 [inline]
__se_sys_pwrite64 fs/read_write.c:706 [inline]
__arm64_sys_pwrite64+0x174/0x20c fs/read_write.c:706
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2b4 arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140
do_el0_svc+0x58/0x130 arch/arm64/kernel/syscall.c:204
el0_svc+0x58/0x128 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: b40004f6 97ddbf33 17fffebd 97ddbf31 (d4210000)
---[ end trace 0000000000000000 ]---


---
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.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup
Reply all
Reply to author
Forward
0 new messages