syzbot


kernel BUG in ext4_do_writepages

Status: upstream: reported C repro on 2025/07/07 19:42
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+203932ca69a3bb6e336e@syzkaller.appspotmail.com
First crash: 307d, last: 13h38m
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2025/07/07 upstream (ToT) d7b8f8e20813 C [report] kernel BUG in ext4_do_writepages
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in ext4_do_writepages ext4 -1 C error 3097 2h52m 1240d 0/29 upstream: reported C repro on 2022/12/17 20:23
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2026/03/16 00:30 2m bisect fix linux-6.6.y error job log
2025/08/09 23:46 2h34m bisect fix linux-6.6.y OK (0) job log log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/inode.c:2605!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 11 Comm: kworker/u4:0 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
Workqueue: writeback wb_workfn (flush-7:2)
RIP: 0010:ext4_do_writepages+0x398e/0x3990 fs/ext4/inode.c:2604
Code: c1 03 38 c1 0f 8c 7d fd ff ff 4c 89 e7 e8 0a a2 ab ff e9 70 fd ff ff e8 f0 6a 53 ff 0f 0b e8 e9 6a 53 ff 0f 0b e8 e2 6a 53 ff <0f> 0b 66 0f 1f 00 55 41 57 41 56 41 54 53 48 89 fb 49 bf 00 00 00
RSP: 0018:ffffc90000106e80 EFLAGS: 00010293
RAX: ffffffff8233b71e RBX: 0000006210000000 RCX: ffff88801a273c00
RDX: 0000000000000000 RSI: 0000004000000000 RDI: 0000000000000000
RBP: ffffc900001071f0 R08: ffff88806c2a2857 R09: 1ffff1100d85450a
R10: dffffc0000000000 R11: ffffed100d85450b R12: 0000000000000001
R13: ffff88806c2a2ab0 R14: 0000004000000000 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0a59c9b368 CR3: 0000000072262000 CR4: 00000000003506f0
Call Trace:
 <TASK>
 ext4_writepages+0x1dd/0x350 fs/ext4/inode.c:2809
 do_writepages+0x3b3/0x630 mm/page-writeback.c:2575
 __writeback_single_inode+0x153/0xec0 fs/fs-writeback.c:1635
 writeback_sb_inodes+0x7cd/0xf50 fs/fs-writeback.c:1926
 wb_writeback+0x46a/0xbf0 fs/fs-writeback.c:2105
 wb_do_writeback fs/fs-writeback.c:2252 [inline]
 wb_workfn+0x400/0xe60 fs/fs-writeback.c:2292
 process_one_work kernel/workqueue.c:2653 [inline]
 process_scheduled_works+0xa5d/0x15d0 kernel/workqueue.c:2730
 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2811
 kthread+0x2fa/0x390 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ext4_do_writepages+0x398e/0x3990 fs/ext4/inode.c:2604
Code: c1 03 38 c1 0f 8c 7d fd ff ff 4c 89 e7 e8 0a a2 ab ff e9 70 fd ff ff e8 f0 6a 53 ff 0f 0b e8 e9 6a 53 ff 0f 0b e8 e2 6a 53 ff <0f> 0b 66 0f 1f 00 55 41 57 41 56 41 54 53 48 89 fb 49 bf 00 00 00
RSP: 0018:ffffc90000106e80 EFLAGS: 00010293
RAX: ffffffff8233b71e RBX: 0000006210000000 RCX: ffff88801a273c00
RDX: 0000000000000000 RSI: 0000004000000000 RDI: 0000000000000000
RBP: ffffc900001071f0 R08: ffff88806c2a2857 R09: 1ffff1100d85450a
R10: dffffc0000000000 R11: ffffed100d85450b R12: 0000000000000001
R13: ffff88806c2a2ab0 R14: 0000004000000000 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005578640cfbe0 CR3: 0000000072262000 CR4: 00000000003506f0

Crashes (23):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/05/03 18:04 linux-6.6.y 258cf62a6dfd a0d91488 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-6-kasan kernel BUG in ext4_do_writepages
2025/11/10 16:17 linux-6.6.y 0a805b6ea8cd 4e1406b4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-6-6-kasan kernel BUG in ext4_do_writepages
2025/07/07 19:41 linux-6.6.y a5df3a702b2c 4f67c4ae .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-6-kasan kernel BUG in ext4_do_writepages
2026/05/10 20:31 linux-6.6.y 3b9f64db0496 29233ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ext4_do_writepages
2026/05/03 10:44 linux-6.6.y 258cf62a6dfd a0d91488 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ext4_do_writepages
2026/04/01 22:59 linux-6.6.y c09fbcd31ae6 0cb124d5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ext4_do_writepages
2026/02/14 00:29 linux-6.6.y 1b4ef5214f17 1e62d198 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ext4_do_writepages
2026/02/11 06:22 linux-6.6.y c56aaf1a85ae 441e25b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ext4_do_writepages
2026/02/03 02:31 linux-6.6.y 2cf6f68313dc d78927dd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ext4_do_writepages
2026/01/08 09:03 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ext4_do_writepages
2025/12/16 07:39 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ext4_do_writepages
2025/12/12 12:44 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ext4_do_writepages
2025/12/12 12:43 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ext4_do_writepages
2025/11/10 13:32 linux-6.6.y 0a805b6ea8cd 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ext4_do_writepages
2025/10/11 12:56 linux-6.6.y e617101e5626 ff1712fe .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ext4_do_writepages
2025/10/06 19:58 linux-6.6.y e617101e5626 91305dbe .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ext4_do_writepages
2025/09/06 23:29 linux-6.6.y 355bd0b51d2f d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ext4_do_writepages
2025/08/25 06:28 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ext4_do_writepages
2025/07/10 06:52 linux-6.6.y a5df3a702b2c 956bd956 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ext4_do_writepages
2025/07/09 14:42 linux-6.6.y a5df3a702b2c f4e5e155 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ext4_do_writepages
2025/07/09 14:42 linux-6.6.y a5df3a702b2c f4e5e155 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ext4_do_writepages
2025/07/09 01:36 linux-6.6.y a5df3a702b2c 4d9fdfa4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ext4_do_writepages
2025/07/09 01:36 linux-6.6.y a5df3a702b2c 4d9fdfa4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ext4_do_writepages
* Struck through repros no longer work on HEAD.