syzbot


kernel BUG in ext4_split_extent_at (2)

Status: upstream: reported C repro on 2025/07/14 23:15
Bug presence: origin:lts
[Documentation on labels]
Reported-by: syzbot+2716ad6c543d92535dc2@syzkaller.appspotmail.com
First crash: 6d10h, last: 6d10h
Bug presence (2)
Date Name Commit Repro Result
2025/07/15 lts (merge base) 58485ff1a74f C [report] KASAN: use-after-free Read in ext4_find_extent
2025/07/15 upstream (ToT) 155a3c003e55 C Didn't crash
Similar bugs (6)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in ext4_split_extent_at ext4 -1 1 1259d 1255d 0/29 auto-closed as invalid on 2022/06/08 01:32
android-5-10 kernel BUG in ext4_split_extent_at -1 C error error 10 14d 773d 0/2 upstream: reported C repro on 2023/06/09 00:07
upstream kernel BUG in ext4_split_extent_at (2) ext4 -1 C error done 3 574d 769d 25/29 fixed on 2024/01/30 15:47
android-6-1 kernel BUG in ext4_split_extent_at missing-backport origin:upstream -1 C error error 1 312d 773d 0/2 auto-obsoleted due to no activity on 2024/12/21 09:12
upstream kernel BUG in ext4_split_extent_at (3) ext4 -1 3 9d13h 24d 0/29 upstream: reported on 2025/06/26 14:29
android-5-15 kernel BUG in ext4_split_extent_at missing-backport origin:lts -1 C error error 2 33d 53d 0/2 upstream: reported C repro on 2025/05/29 02:28

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/extents.c:3186!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 304 Comm: syz-executor221 Not tainted 6.1.141-syzkaller-00038-ge2deb0b42a3a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:ext4_split_extent_at+0xf92/0xfb0 fs/ext4/extents.c:3186
Code: c9 fa ff ff 48 89 df 49 89 f7 e8 39 7c d0 ff 4c 89 fe e9 b6 fa ff ff e8 bc 22 8c ff 0f 0b e8 b5 22 8c ff 0f 0b e8 ae 22 8c ff <0f> 0b e8 a7 22 8c ff 0f 0b e8 a0 22 8c ff 0f 0b e8 99 22 8c ff 0f
RSP: 0018:ffffc90000ee7920 EFLAGS: 00010293
RAX: ffffffff81e3d4c2 RBX: 0000000000000010 RCX: ffff88810df79440
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000010
RBP: ffffc90000ee7a90 R08: 0000000000000000 R09: 0000000050000028
R10: ffffed1021df822a R11: 1ffff11021df8228 R12: ffff88810efc1100
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f390a70d6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f250cd8d000 CR3: 000000012391f000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ext4_force_split_extent_at fs/ext4/extents.c:338 [inline]
 ext4_ext_remove_space+0x349d/0x3fb0 fs/ext4/extents.c:2880
 ext4_punch_hole+0x77c/0xbd0 fs/ext4/inode.c:4141
 ext4_fallocate+0x2b6/0x1dd0 fs/ext4/extents.c:4760
 vfs_fallocate+0x4c5/0x5a0 fs/open.c:324
 ksys_fallocate fs/open.c:347 [inline]
 __do_sys_fallocate fs/open.c:355 [inline]
 __se_sys_fallocate fs/open.c:353 [inline]
 __x64_sys_fallocate+0xc0/0x110 fs/open.c:353
 x64_sys_call+0x7fa/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:286
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f390a7508f9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 81 18 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f390a70d218 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00007f390a7e9608 RCX: 00007f390a7508f9
RDX: 0000000000000004 RSI: 0000000000000003 RDI: 0000000000000004
RBP: 00007f390a7e9600 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000010000 R11: 0000000000000246 R12: 00007f390a7b5b08
R13: 00007f390a7a40c0 R14: 0000200000010143 R15: 0000200000010140
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ext4_split_extent_at+0xf92/0xfb0 fs/ext4/extents.c:3186
Code: c9 fa ff ff 48 89 df 49 89 f7 e8 39 7c d0 ff 4c 89 fe e9 b6 fa ff ff e8 bc 22 8c ff 0f 0b e8 b5 22 8c ff 0f 0b e8 ae 22 8c ff <0f> 0b e8 a7 22 8c ff 0f 0b e8 a0 22 8c ff 0f 0b e8 99 22 8c ff 0f
RSP: 0018:ffffc90000ee7920 EFLAGS: 00010293

RAX: ffffffff81e3d4c2 RBX: 0000000000000010 RCX: ffff88810df79440
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000010
RBP: ffffc90000ee7a90 R08: 0000000000000000 R09: 0000000050000028
R10: ffffed1021df822a R11: 1ffff11021df8228 R12: ffff88810efc1100
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f390a70d6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f250cd8d000 CR3: 000000012391f000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/14 23:14 android14-6.1 e2deb0b42a3a d8fc7335 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro #1 (corrupt fs)] [mounted in repro #2 (corrupt fs)] ci2-android-6-1 kernel BUG in ext4_split_extent_at
* Struck through repros no longer work on HEAD.