syzbot


kernel BUG in ext4_split_extent_at

Status: upstream: reported C repro on 2023/06/09 00:07
Reported-by: syzbot+1257631df4d42447d768@syzkaller.appspotmail.com
First crash: 1230d, last: 11d
Cause bisection: failed (error log, bisect log)
  
Fix bisection: failed (error log, bisect log)
  
Similar bugs (8)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in ext4_split_extent_at ext4 -1 1 1503d 1499d 0/29 auto-closed as invalid on 2022/06/08 01:32
upstream kernel BUG in ext4_split_extent_at (2) ext4 -1 C error done 3 818d 1013d 25/29 fixed on 2024/01/30 15:47
android-6-1 kernel BUG in ext4_split_extent_at (3) -1 1 13d 13d 0/2 premoderation: reported on 2026/03/09 11:36
android-6-1 kernel BUG in ext4_split_extent_at missing-backport origin:upstream -1 C error error 1 556d 1017d 0/2 auto-obsoleted due to no activity on 2024/12/21 09:12
android-6-1 kernel BUG in ext4_split_extent_at (2) origin:lts -1 C done 1 250d 250d 0/2 auto-obsoleted due to no activity on 2025/10/22 23:15
upstream kernel BUG in ext4_split_extent_at (3) ext4 -1 3 253d 269d 0/29 auto-obsoleted due to no activity on 2025/10/19 20:03
linux-6.1 kernel BUG in ext4_split_extent_at -1 C 2 11d 11d 0/3 upstream: reported C repro on 2026/03/11 06:35
android-5-15 kernel BUG in ext4_split_extent_at missing-backport origin:upstream -1 C error error 11 16d 297d 0/2 upstream: reported C repro on 2025/05/29 02:28
Last patch testing requests (10)
Created Duration User Patch Repo Result
2026/02/19 12:39 5m retest repro android13-5.10-lts report log
2026/02/19 12:39 5m retest repro android13-5.10-lts report log
2026/01/21 22:18 14m retest repro android13-5.10-lts report log
2026/01/03 02:08 10m retest repro android13-5.10-lts report log
2026/01/03 02:08 13m retest repro android13-5.10-lts report log
2026/01/03 02:08 18m retest repro android13-5.10-lts report log
2026/01/03 02:08 13m retest repro android13-5.10-lts report log
2025/12/11 11:22 14m retest repro android13-5.10-lts report log
2025/12/11 11:22 40m retest repro android13-5.10-lts report log
2025/11/24 02:02 12m retest repro android13-5.10-lts OK log

Sample crash report:
EXT4-fs error (device loop4): ext4_mb_mark_diskspace_used:3358: comm syz.4.51: Allocating blocks 497-513 which overlap fs metadata
EXT4-fs (loop4): pa ffff88811b500bd0: logic 128, phys. 385, len 8
EXT4-fs error (device loop4): ext4_mb_release_inode_pa:4375: group 0, free 0, pa_free 1
------------[ cut here ]------------
kernel BUG at fs/ext4/extents.c:3184!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 626 Comm: syz.4.51 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
RIP: 0010:ext4_split_extent_at+0xe1f/0xe40 fs/ext4/extents.c:3184
Code: a7 cf d2 ff e9 05 fc ff ff 89 d9 80 e1 07 fe c1 38 c1 0f 8c 12 fc ff ff 48 89 df e8 6b cf d2 ff e9 05 fc ff ff e8 81 4f 98 ff <0f> 0b e8 7a 4f 98 ff 0f 0b e8 73 4f 98 ff 0f 0b e8 6c 4f 98 ff 0f
RSP: 0018:ffffc90001856de0 EFLAGS: 00010293
RAX: ffffffff81cc63cf RBX: 1ffff11026340a86 RCX: ffff88811ad213c0
RDX: 0000000000000000 RSI: 000000000000001f RDI: 000000000000006d
RBP: ffffc90001856f40 R08: 0000000000000010 R09: 000000004000043b
R10: dffffc0000000000 R11: ffffed1023a81eea R12: 0000000000000010
R13: 0000000000000011 R14: 000000000000000e R15: 000000000000001f
FS:  00007f26a21bf6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdab377b000 CR3: 000000011a0db000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ext4_split_extent+0x363/0x4a0 fs/ext4/extents.c:3386
 ext4_split_convert_extents fs/ext4/extents.c:3715 [inline]
 ext4_ext_handle_unwritten_extents fs/ext4/extents.c:3876 [inline]
 ext4_ext_map_blocks+0x1084/0x5dd0 fs/ext4/extents.c:4231
 ext4_map_blocks+0x985/0x1bd0 fs/ext4/inode.c:674
 mpage_map_one_extent fs/ext4/inode.c:2452 [inline]
 mpage_map_and_submit_extent fs/ext4/inode.c:2505 [inline]
 ext4_writepages+0x136a/0x2eb0 fs/ext4/inode.c:2873
 do_writepages+0x128/0x280 mm/page-writeback.c:2380
 __filemap_fdatawrite_range+0x2a0/0x350 mm/filemap.c:427
 file_write_and_wait_range+0x8c/0x110 mm/filemap.c:766
 ext4_sync_file+0x1a9/0x9f0 fs/ext4/fsync.c:151
 vfs_fsync_range+0x190/0x1a0 fs/sync.c:202
 generic_write_sync include/linux/fs.h:2920 [inline]
 ext4_buffered_write_iter+0x59b/0x640 fs/ext4/file.c:278
 ext4_file_write_iter+0x53f/0x1980 fs/ext4/file.c:-1
 call_write_iter include/linux/fs.h:2066 [inline]
 new_sync_write fs/read_write.c:518 [inline]
 vfs_write+0x758/0xdc0 fs/read_write.c:605
 ksys_pwrite64 fs/read_write.c:712 [inline]
 __do_sys_pwrite64 fs/read_write.c:722 [inline]
 __se_sys_pwrite64 fs/read_write.c:719 [inline]
 __x64_sys_pwrite64+0x197/0x220 fs/read_write.c:719
 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f26a235c799
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f26a21bf028 EFLAGS: 00000246 ORIG_RAX: 0000000000000012
RAX: ffffffffffffffda RBX: 00007f26a25d5fa0 RCX: 00007f26a235c799
RDX: 00000000200000c1 RSI: 00002000000000c0 RDI: 0000000000000006
RBP: 00007f26a23f2c99 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000009000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f26a25d6038 R14: 00007f26a25d5fa0 R15: 00007fffc720f538
Modules linked in:
---[ end trace c5c427225e85a4a5 ]---
RIP: 0010:ext4_split_extent_at+0xe1f/0xe40 fs/ext4/extents.c:3184
Code: a7 cf d2 ff e9 05 fc ff ff 89 d9 80 e1 07 fe c1 38 c1 0f 8c 12 fc ff ff 48 89 df e8 6b cf d2 ff e9 05 fc ff ff e8 81 4f 98 ff <0f> 0b e8 7a 4f 98 ff 0f 0b e8 73 4f 98 ff 0f 0b e8 6c 4f 98 ff 0f
RSP: 0018:ffffc90001856de0 EFLAGS: 00010293
RAX: ffffffff81cc63cf RBX: 1ffff11026340a86 RCX: ffff88811ad213c0
RDX: 0000000000000000 RSI: 000000000000001f RDI: 000000000000006d
RBP: ffffc90001856f40 R08: 0000000000000010 R09: 000000004000043b
R10: dffffc0000000000 R11: ffffed1023a81eea R12: 0000000000000010
R13: 0000000000000011 R14: 000000000000000e R15: 000000000000001f
FS:  00007f26a21bf6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdab377b000 CR3: 000000011a0db000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (21):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/03/11 10:54 android13-5.10-lts 9136079e403a 86914af9 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-10 kernel BUG in ext4_split_extent_at
2026/03/09 23:59 android13-5.10-lts 9136079e403a 176bead5 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-10 kernel BUG in ext4_split_extent_at
2025/12/19 01:24 android13-5.10-lts e253c52bbdfc d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro #1 (corrupt fs)] [mounted in repro #2 (corrupt fs)] ci2-android-5-10 kernel BUG in ext4_split_extent_at
2025/02/12 08:04 android13-5.10-lts 6686f2996d23 f2baddf5 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-10 kernel BUG in ext4_split_extent_at
2023/06/09 00:04 android13-5.10-lts 43c801dc3325 058b3a5a .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-10 kernel BUG in ext4_split_extent_at
2026/03/11 10:17 android13-5.10-lts 9136079e403a 86914af9 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-10 kernel BUG in ext4_split_extent_at
2026/03/11 09:39 android13-5.10-lts 9136079e403a 86914af9 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-10 kernel BUG in ext4_split_extent_at
2026/03/05 08:28 android13-5.10-lts dad37bbb13a8 a9fe5c9e .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-10 kernel BUG in ext4_split_extent_at
2026/01/06 12:32 android13-5.10-lts e253c52bbdfc d6526ea3 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-10 kernel BUG in ext4_split_extent_at
2025/12/19 23:59 android13-5.10-lts e253c52bbdfc d6526ea3 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-10 kernel BUG in ext4_split_extent_at
2025/02/12 06:47 android13-5.10-lts 6686f2996d23 f2baddf5 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-10 kernel BUG in ext4_split_extent_at
2022/12/14 02:28 android12-5.10-lts 202ee063496e f6511626 .config strace log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-10 kernel BUG in ext4_split_extent_at
2026/03/06 05:15 android13-5.10-lts dad37bbb13a8 31e9c887 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_split_extent_at
2026/03/05 17:07 android13-5.10-lts dad37bbb13a8 d20b04c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_split_extent_at
2026/01/07 04:12 android13-5.10-lts e253c52bbdfc d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_split_extent_at
2025/06/22 17:06 android13-5.10-lts d76d4cd0623a d6cdfb8a .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-android-5-10 kernel BUG in ext4_split_extent_at
2025/05/29 13:35 android13-5.10-lts cf6ed0f1511d 3d2f584d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_split_extent_at
2025/04/02 00:26 android13-5.10-lts 094fc3778d6b b8645499 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro #1 (corrupt fs)] [mounted in repro #2 (corrupt fs)] ci2-android-5-10 kernel BUG in ext4_split_extent_at
2025/02/27 03:27 android13-5.10-lts 3f5f2283d684 6a8fcbc4 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-10 kernel BUG in ext4_split_extent_at
2023/06/08 22:36 android13-5.10-lts 43c801dc3325 058b3a5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_split_extent_at
2022/11/08 00:29 android12-5.10-lts 0118fb827bc7 6feb842b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_split_extent_at
* Struck through repros no longer work on HEAD.