kernel BUG in ext4_ext_insert_extent

Status: auto-obsoleted due to no activity on 2026/08/16 07:33
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+2de0d91e23c76ff87bb3@syzkaller.appspotmail.com
First crash: 194d, last: 107d
Fix bisection: failed (error log, bisect log)
  
Bug presence (5)
Date Name Commit Repro Result
2026/05/15 android13-5.15-lts (ToT) 7f4b368e0410 C [report] lost connection to test machine
2026/02/08 lts (merge base) 9eec9a14ee10 C [report] kernel BUG in ext4_ext_insert_extent
2026/05/14 lts (merge base) de8dfb3f0278 C Didn't crash
2026/02/08 upstream (ToT) e7aa57247700 C [report] kernel BUG in ext4_ext_insert_extent
2026/05/14 upstream (ToT) 66182ca873a4 C Didn't crash
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) prio:high ext4 -1 syz, C done error 38 160d 497d 0/29 upstream: reported C repro on 2025/04/11 16:16
android-54 kernel BUG in ext4_ext_insert_extent -1 1 1670d 1670d 0/2 auto-closed as invalid on 2022/05/24 20:39
upstream kernel BUG in ext4_ext_insert_extent ext4 -1 1 1996d 1992d 0/29 auto-closed as invalid on 2021/06/02 20:11
android-6-1 kernel BUG in ext4_ext_insert_extent origin:upstream missing-backport -1 syz error 9 143d 189d 0/2 premoderation: reported syz repro on 2026/02/13 16:13
android-5-10 kernel BUG in ext4_ext_insert_extent -1 syz, C error 12 107d 169d 0/2 upstream: reported C repro on 2026/03/05 21:58
Last patch testing requests (10)
Created Duration User Patch Repo Result
2026/08/16 07:14 18m retest repro android13-5.15-lts no crash job log log
2026/08/14 05:39 12m retest repro android13-5.15-lts no crash job log log
2026/08/14 05:39 18m retest repro android13-5.15-lts no crash job log log
2026/08/14 05:39 12m retest repro android13-5.15-lts no crash job log log
2026/08/14 05:39 20m retest repro android13-5.15-lts no crash job log log
2026/08/09 11:30 18m retest repro android13-5.15-lts no crash log
2026/06/05 00:56 15m retest repro android13-5.15-lts log
2026/06/05 00:56 13m retest repro android13-5.15-lts log
2026/06/05 00:56 13m retest repro android13-5.15-lts log
2026/06/05 00:56 15m retest repro android13-5.15-lts log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/extents.c:2140!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 350 Comm: kworker/u4:4 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
Workqueue: ext4-rsv-conversion ext4_end_io_rsv_work
RIP: 0010:ext4_ext_insert_extent+0x477e/0x47c0 fs/ext4/extents.c:2140
Code: ff 44 89 f1 80 e1 07 fe c1 38 c1 0f 8c a5 e8 ff ff 4c 89 f7 e8 73 78 d4 ff e9 98 e8 ff ff e8 19 45 95 ff 0f 0b e8 12 45 95 ff <0f> 0b e8 0b 45 95 ff 0f 0b 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 19
RSP: 0018:ffffc900014674c0 EFLAGS: 00010293
RAX: ffffffff81d484ce RBX: ffff88811d24d400 RCX: ffff88810d6762c0
RDX: 0000000000000000 RSI: 0000000000000024 RDI: 0000000000000024
RBP: ffffc90001467670 R08: ffff888130805e77 R09: 1ffff11026100bce
R10: dffffc0000000000 R11: ffffed1026100bcf R12: 0000000000000024
R13: ffff88812164cd50 R14: ffff88811d24d40c R15: 0000000000000024
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555578943908 CR3: 000000012ebd9000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ext4_ext_map_blocks+0x186c/0x61e0 fs/ext4/extents.c:4368
 ext4_map_blocks+0x988/0x1b30 fs/ext4/inode.c:674
 ext4_convert_unwritten_extents+0x2b7/0x5f0 fs/ext4/extents.c:4875
 ext4_convert_unwritten_io_end_vec+0x103/0x180 fs/ext4/extents.c:4914
 ext4_end_io_end fs/ext4/page-io.c:186 [inline]
 ext4_do_flush_completed_IO fs/ext4/page-io.c:259 [inline]
 ext4_end_io_rsv_work+0x2c1/0x610 fs/ext4/page-io.c:273
 process_one_work+0x6be/0xba0 kernel/workqueue.c:2325
 worker_thread+0xa59/0x1200 kernel/workqueue.c:2472
 kthread+0x411/0x500 kernel/kthread.c:337
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>
Modules linked in:
---[ end trace a8172276cb0c7614 ]---
RIP: 0010:ext4_ext_insert_extent+0x477e/0x47c0 fs/ext4/extents.c:2140
Code: ff 44 89 f1 80 e1 07 fe c1 38 c1 0f 8c a5 e8 ff ff 4c 89 f7 e8 73 78 d4 ff e9 98 e8 ff ff e8 19 45 95 ff 0f 0b e8 12 45 95 ff <0f> 0b e8 0b 45 95 ff 0f 0b 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 19
RSP: 0018:ffffc900014674c0 EFLAGS: 00010293
RAX: ffffffff81d484ce RBX: ffff88811d24d400 RCX: ffff88810d6762c0
RDX: 0000000000000000 RSI: 0000000000000024 RDI: 0000000000000024
RBP: ffffc90001467670 R08: ffff888130805e77 R09: 1ffff11026100bce
R10: dffffc0000000000 R11: ffffed1026100bcf R12: 0000000000000024
R13: ffff88812164cd50 R14: ffff88811d24d40c R15: 0000000000000024
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1015f53dac CR3: 000000010d61d000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/05/06 06:19 android13-5.15-lts e63ebedc51b2 26da2c66 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-15 kernel BUG in ext4_ext_insert_extent
2026/04/07 00:14 android13-5.15-lts 7fad219d720d 4440e7c2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_ext_insert_extent
2026/03/06 01:03 android13-5.15-lts e714749f59d3 31e9c887 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_ext_insert_extent
2026/03/06 01:03 android13-5.15-lts e714749f59d3 31e9c887 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_ext_insert_extent
2026/03/06 00:45 android13-5.15-lts e714749f59d3 31e9c887 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_ext_insert_extent
2026/03/03 12:27 android13-5.15-lts e714749f59d3 28b83e23 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-15 kernel BUG in ext4_ext_insert_extent
2026/03/03 11:04 android13-5.15-lts e714749f59d3 28b83e23 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_ext_insert_extent
2026/03/03 10:57 android13-5.15-lts e714749f59d3 28b83e23 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_ext_insert_extent
2026/02/22 02:54 android13-5.15-lts 13d6d33696ef 6e7b5511 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-15 kernel BUG in ext4_ext_insert_extent
2026/02/22 02:25 android13-5.15-lts 13d6d33696ef 6e7b5511 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_ext_insert_extent
2026/02/08 08:22 android13-5.15-lts b5b90d209864 4c131dc4 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-15 kernel BUG in ext4_ext_insert_extent
2026/02/08 07:48 android13-5.15-lts b5b90d209864 4c131dc4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-15 kernel BUG in ext4_ext_insert_extent
2026/02/08 07:25 android13-5.15-lts b5b90d209864 4c131dc4 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-15 kernel BUG in ext4_ext_insert_extent
* Struck through repros no longer work on HEAD.