syzbot


kernel BUG in ext4_ext_insert_extent

Status: premoderation: reported syz repro on 2025/09/23 22:42
Reported-by: syzbot+00c85f990a6e16584cc5@syzkaller.appspotmail.com
First crash: 118d, last: 31d
Similar bugs (3)
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 33 21d 283d 0/29 upstream: reported C repro on 2025/04/11 16:16
android-54 kernel BUG in ext4_ext_insert_extent -1 1 1456d 1456d 0/2 auto-closed as invalid on 2022/05/24 20:39
upstream kernel BUG in ext4_ext_insert_extent ext4 -1 1 1782d 1778d 0/29 auto-closed as invalid on 2021/06/02 20:11
Last patch testing requests (5)
Created Duration User Patch Repo Result
2026/01/02 20:57 11m retest repro android13-5.10-lts report log
2025/12/18 19:17 8m retest repro android13-5.10-lts report log
2025/12/18 19:17 6m retest repro android13-5.10-lts report log
2025/10/09 02:12 18m retest repro android13-5.10-lts report log
2025/10/09 02:12 18m retest repro android13-5.10-lts report log

Sample crash report:
EXT4-fs (loop5): dirty_blocks=0
EXT4-fs (loop5): Block reservation details
EXT4-fs (loop5): i_reserved_data_blocks=0
------------[ cut here ]------------
kernel BUG at fs/ext4/extents.c:2135!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 425 Comm: kworker/u4:5 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Workqueue: ext4-rsv-conversion ext4_end_io_rsv_work
RIP: 0010:ext4_ext_insert_extent+0x44fa/0x4530 fs/ext4/extents.c:2135
Code: ff ff 89 d9 80 e1 07 fe c1 38 c1 0f 8c 01 e9 ff ff 48 89 df e8 57 e2 d4 ff e9 f4 e8 ff ff e8 ed f3 9a ff 0f 0b e8 e6 f3 9a ff <0f> 0b e8 df f3 9a ff 0f 0b 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 43
RSP: 0018:ffffc90001177500 EFLAGS: 00010293
RAX: ffffffff81c8b09a RBX: ffff8881115e9400 RCX: ffff888112864f00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900011776b0 R08: dffffc0000000000 R09: ffffed102204ffa5
R10: ffffed102204ffa5 R11: 1ffff1102204ffa4 R12: 0000000000000000
R13: 1ffff11025e3cee8 R14: ffff8881115e9460 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f37f336e867 CR3: 000000010d2e0000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ext4_ext_map_blocks+0x17b5/0x5d80 fs/ext4/extents.c:4356
 ext4_map_blocks+0x978/0x1bc0 fs/ext4/inode.c:674
 ext4_convert_unwritten_extents+0x21c/0x3f0 fs/ext4/extents.c:4862
 ext4_convert_unwritten_io_end_vec+0x103/0x180 fs/ext4/extents.c:4901
 ext4_end_io_end fs/ext4/page-io.c:189 [inline]
 ext4_do_flush_completed_IO fs/ext4/page-io.c:262 [inline]
 ext4_end_io_rsv_work+0x2b9/0x600 fs/ext4/page-io.c:276
 process_one_work+0x6e1/0xba0 kernel/workqueue.c:2301
 worker_thread+0xa6a/0x13b0 kernel/workqueue.c:2447
 kthread+0x346/0x3d0 kernel/kthread.c:313
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
Modules linked in:
---[ end trace 4c9d1baebaa3481d ]---
RIP: 0010:ext4_ext_insert_extent+0x44fa/0x4530 fs/ext4/extents.c:2135
Code: ff ff 89 d9 80 e1 07 fe c1 38 c1 0f 8c 01 e9 ff ff 48 89 df e8 57 e2 d4 ff e9 f4 e8 ff ff e8 ed f3 9a ff 0f 0b e8 e6 f3 9a ff <0f> 0b e8 df f3 9a ff 0f 0b 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 43
RSP: 0018:ffffc90001177500 EFLAGS: 00010293
RAX: ffffffff81c8b09a RBX: ffff8881115e9400 RCX: ffff888112864f00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900011776b0 R08: dffffc0000000000 R09: ffffed102204ffa5
R10: ffffed102204ffa5 R11: 1ffff1102204ffa4 R12: 0000000000000000
R13: 1ffff11025e3cee8 R14: ffff8881115e9460 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f37f336e867 CR3: 000000010d0bb000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/19 12:24 android13-5.10-lts e253c52bbdfc d6526ea3 .config console log report syz / log [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_ext_insert_extent
2025/09/23 23:01 android13-5.10-lts 911f602c2237 e667a34f .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-10 kernel BUG in ext4_ext_insert_extent
2025/09/23 22:41 android13-5.10-lts 911f602c2237 e667a34f .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-10 kernel BUG in ext4_ext_insert_extent
* Struck through repros no longer work on HEAD.