syzbot


kernel BUG in ext4_ext_insert_extent

Status: premoderation: reported syz repro on 2026/02/13 16:13
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+9d9d8d8b6ce244be271a@syzkaller.appspotmail.com
First crash: 23d, last: 2d14h
Bug presence (2)
Date Name Commit Repro Result
2026/02/14 lts (merge base) e50b81c50fcb syz [report] kernel BUG in ext4_ext_insert_extent
2026/02/14 upstream (ToT) f50822fd8675 syz [report] kernel BUG in ext4_ext_insert_extent
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in ext4_ext_insert_extent (2) ext4 -1 C done 37 3d14h 331d 0/29 upstream: reported C repro on 2025/04/11 16:16
android-54 kernel BUG in ext4_ext_insert_extent -1 1 1504d 1504d 0/2 auto-closed as invalid on 2022/05/24 20:39
upstream kernel BUG in ext4_ext_insert_extent ext4 -1 1 1830d 1826d 0/29 auto-closed as invalid on 2021/06/02 20:11
android-5-15 kernel BUG in ext4_ext_insert_extent origin:upstream -1 C 11 3d04h 28d 0/2 upstream: reported C repro on 2026/02/08 07:52
android-5-10 kernel BUG in ext4_ext_insert_extent -1 C error 11 2d02h 3d07h 0/2 upstream: reported C repro on 2026/03/05 21:58
Last patch testing requests (2)
Created Duration User Patch Repo Result
2026/02/27 20:33 11m retest repro android14-6.1 report log
2026/02/27 20:33 7m retest repro android14-6.1 report log

Sample crash report:
EXT4-fs: Ignoring removed nobh option
EXT4-fs: Warning: mounting with an experimental mount option 'dioread_nolock' for blocksize < PAGE_SIZE
EXT4-fs (loop4): mounted filesystem without journal. Quota mode: none.
------------[ cut here ]------------
kernel BUG at fs/ext4/extents.c:2142!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 541 Comm: syz.4.56 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
RIP: 0010:ext4_ext_insert_extent+0x4790/0x47d0 fs/ext4/extents.c:2142
Code: ff 44 89 f1 80 e1 07 fe c1 38 c1 0f 8c c6 e8 ff ff 4c 89 f7 e8 e1 52 d1 ff e9 b9 e8 ff ff e8 b7 20 8c ff 0f 0b e8 b0 20 8c ff <0f> 0b e8 a9 20 8c ff 0f 0b 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 40
RSP: 0018:ffffc90001166560 EFLAGS: 00010293
RAX: ffffffff81e54c50 RBX: ffff888129ce8400 RCX: ffff888112fb1440
RDX: 0000000000000000 RSI: 000000000000002f RDI: 000000000000002f
RBP: ffffc90001166710 R08: ffff88812d6fe5ef R09: 1ffff11025adfcbd
R10: dffffc0000000000 R11: ffffed1025adfcbe R12: 000000000000002f
R13: ffff88812d784050 R14: ffff888129ce8460 R15: 000000000000002f
FS:  000055556b703500(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcd90817dac CR3: 000000012eb75000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ext4_split_extent_at+0x7d4/0xf70 fs/ext4/extents.c:3236
 ext4_split_extent+0x1ba/0x4c0 fs/ext4/extents.c:3355
 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+0x10e5/0x61d0 fs/ext4/extents.c:4231
 ext4_map_blocks+0x9d8/0x1b70 fs/ext4/inode.c:679
 mpage_map_one_extent fs/ext4/inode.c:2435 [inline]
 mpage_map_and_submit_extent fs/ext4/inode.c:2488 [inline]
 ext4_writepages+0x1409/0x30e0 fs/ext4/inode.c:2856
 do_writepages+0x3a4/0x5f0 mm/page-writeback.c:2494
 filemap_fdatawrite_wbc+0x128/0x190 mm/filemap.c:408
 __filemap_fdatawrite_range mm/filemap.c:441 [inline]
 file_write_and_wait_range+0x159/0x230 mm/filemap.c:794
 ext4_sync_file+0x1a9/0xa10 fs/ext4/fsync.c:151
 vfs_fsync_range+0x1a1/0x1b0 fs/sync.c:188
 generic_write_sync include/linux/fs.h:2980 [inline]
 ext4_buffered_write_iter+0x573/0x630 fs/ext4/file.c:292
 ext4_file_write_iter+0x191/0x1500 fs/ext4/file.c:-1
 do_iter_readv_writev fs/read_write.c:-1 [inline]
 do_iter_write+0x665/0xb40 fs/read_write.c:861
 vfs_iter_write+0x7d/0xa0 fs/read_write.c:902
 iter_file_splice_write+0x69e/0xcd0 fs/splice.c:685
 do_splice_from fs/splice.c:763 [inline]
 direct_splice_actor+0xf7/0x130 fs/splice.c:930
 splice_direct_to_actor+0x4ad/0xb30 fs/splice.c:885
 do_splice_direct+0x1c2/0x2d0 fs/splice.c:973
 do_sendfile+0x5ed/0xea0 fs/read_write.c:1255
 __do_sys_sendfile64 fs/read_write.c:1323 [inline]
 __se_sys_sendfile64 fs/read_write.c:1309 [inline]
 __x64_sys_sendfile64+0x199/0x1f0 fs/read_write.c:1309
 x64_sys_call+0x62c/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:41
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fcd9059c799
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:00007ffeecef83b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007fcd90815fa0 RCX: 00007fcd9059c799
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000005
RBP: 00007fcd90632bd9 R08: 0000000000000000 R09: 0000000000000000
R10: 000000000003ffff R11: 0000000000000246 R12: 0000000000000000
R13: 00007fcd90815fac R14: 00007fcd90815fa0 R15: 00007fcd90815fa0
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ext4_ext_insert_extent+0x4790/0x47d0 fs/ext4/extents.c:2142
Code: ff 44 89 f1 80 e1 07 fe c1 38 c1 0f 8c c6 e8 ff ff 4c 89 f7 e8 e1 52 d1 ff e9 b9 e8 ff ff e8 b7 20 8c ff 0f 0b e8 b0 20 8c ff <0f> 0b e8 a9 20 8c ff 0f 0b 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 40
RSP: 0018:ffffc90001166560 EFLAGS: 00010293
RAX: ffffffff81e54c50 RBX: ffff888129ce8400 RCX: ffff888112fb1440
RDX: 0000000000000000 RSI: 000000000000002f RDI: 000000000000002f
RBP: ffffc90001166710 R08: ffff88812d6fe5ef R09: 1ffff11025adfcbd
R10: dffffc0000000000 R11: ffffed1025adfcbe R12: 000000000000002f
R13: ffff88812d784050 R14: ffff888129ce8460 R15: 000000000000002f
FS:  000055556b703500(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcd90817dac CR3: 000000012eb75000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/03/06 15:16 android14-6.1 6bfa51973214 41d8037d .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-6-1 kernel BUG in ext4_ext_insert_extent
2026/02/13 19:21 android14-6.1 edbe3e111301 1e62d198 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-6-1 kernel BUG in ext4_ext_insert_extent
2026/02/13 16:12 android14-6.1 edbe3e111301 6a673c50 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-6-1 kernel BUG in ext4_ext_insert_extent
2026/03/06 11:40 android14-6.1 6bfa51973214 31e9c887 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_ext_insert_extent
2026/03/06 11:38 android14-6.1 6bfa51973214 31e9c887 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_ext_insert_extent
2026/03/06 11:35 android14-6.1 6bfa51973214 31e9c887 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_ext_insert_extent
2026/03/06 11:32 android14-6.1 6bfa51973214 31e9c887 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_ext_insert_extent
2026/03/06 11:31 android14-6.1 6bfa51973214 31e9c887 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_ext_insert_extent
* Struck through repros no longer work on HEAD.