syzbot


kernel BUG in ext4_writepages

Status: upstream: reported C repro on 2023/06/05 07:33
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+0315bf3ff63b77f29a5a@syzkaller.appspotmail.com
First crash: 677d, last: 14d
Cause bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2023/08/31 lts (merge base) b1644a0031cf C [report] kernel BUG in ext4_writepages
2023/08/31 upstream (ToT) b97d64c72259 C [report] kernel BUG in ext4_do_writepages
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 kernel BUG at fs/ext4/inode.c:LINE! ext4 C error 145 760d 1634d 0/1 upstream: reported C repro on 2020/10/14 01:19
android-54 kernel BUG at fs/ext4/inode.c:LINE! ext4 C 210 1d05h 1907d 0/2 upstream: reported C repro on 2020/01/14 12:13
linux-5.15 kernel BUG in ext4_writepages origin:upstream C error 85 23h01m 753d 0/3 upstream: reported C repro on 2023/03/13 06:22
linux-4.14 kernel BUG at fs/ext4/inode.c:LINE! ext4 C 11 767d 1561d 0/1 upstream: reported C repro on 2020/12/25 03:51
linux-6.1 kernel BUG in ext4_writepages origin:upstream C 119 9h16m 754d 0/3 upstream: reported C repro on 2023/03/12 17:26
android-5-15 kernel BUG in ext4_writepages ext4 origin:upstream C error 451 12d 899d 0/2 upstream: reported C repro on 2022/10/18 14:12
android-5-10 kernel BUG in ext4_writepages C error 5 899d 1061d 2/2 fixed on 2022/11/16 18:44
upstream kernel BUG in mpage_prepare_extent_to_map ext4 C done error 145 843d 1404d 0/28 auto-obsoleted due to no activity on 2024/03/07 20:46
android-5-10 kernel BUG in ext4_writepages (2) ext4 C error inconclusive 223 8d00h 860d 0/2 upstream: reported C repro on 2022/11/27 00:51
Last patch testing requests (6)
Created Duration User Patch Repo Result
2025/03/21 23:08 1h08m retest repro android14-6.1 report log
2025/03/21 23:08 14m retest repro android14-6.1 report log
2025/03/21 23:08 6m retest repro android14-6.1 report log
2025/03/21 23:08 6m retest repro android14-6.1 report log
2025/03/21 23:08 13m retest repro android14-6.1 report log
2025/01/09 11:43 13m retest repro android14-6.1 report log
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2024/03/26 03:41 41m bisect fix android14-6.1 OK (0) job log log
2024/01/21 21:23 48m bisect fix android14-6.1 OK (0) job log log
2023/11/24 17:54 45m bisect fix android14-6.1 OK (0) job log log
2023/10/25 04:31 46m bisect fix android14-6.1 OK (0) job log log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/inode.c:2760!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 405 Comm: kworker/u4:6 Not tainted 6.1.128-syzkaller-00041-g471a10d3af3b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Workqueue: writeback wb_workfn
 (flush-7:4)
RIP: 0010:ext4_writepages+0x3fab/0x3fd0 fs/ext4/inode.c:2759
Code: df 7f ff 31 ff 89 de e8 03 df 7f ff 45 84 f6 75 2a e8 69 dc 7f ff 49 bc 00 00 00 00 00 fc ff df e9 6e f6 ff ff e8 55 dc 7f ff <0f> 0b e8 4e dc 7f ff e8 25 cf 0a ff e9 46 c3 ff ff e8 3f dc 7f ff
RSP: 0018:ffffc90001277000 EFLAGS: 00010293
RAX: ffffffff81f5b88b RBX: 0000008000000000 RCX: ffff888115408000
RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000
RBP: ffffc90001277410 R08: ffffffff81f57feb R09: ffffed10217b55c3
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88810d166000
R13: ffff88810bdaaf50 R14: 000000c410000000 R15: ffffc900012772e0
FS:  0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fffc4e36ff8 CR3: 0000000110487000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 do_writepages+0x385/0x620 mm/page-writeback.c:2494
 __writeback_single_inode+0xdc/0xb80 fs/fs-writeback.c:1612
 writeback_sb_inodes+0xb32/0x1910 fs/fs-writeback.c:1903
 wb_writeback+0x3c8/0xa00 fs/fs-writeback.c:2079
 wb_do_writeback fs/fs-writeback.c:2226 [inline]
 wb_workfn+0x399/0x1030 fs/fs-writeback.c:2266
 process_one_work+0x73d/0xcb0 kernel/workqueue.c:2299
 worker_thread+0xa60/0x1260 kernel/workqueue.c:2446
 kthread+0x26d/0x300 kernel/kthread.c:386
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ext4_writepages+0x3fab/0x3fd0 fs/ext4/inode.c:2759
Code: df 7f ff 31 ff 89 de e8 03 df 7f ff 45 84 f6 75 2a e8 69 dc 7f ff 49 bc 00 00 00 00 00 fc ff df e9 6e f6 ff ff e8 55 dc 7f ff <0f> 0b e8 4e dc 7f ff e8 25 cf 0a ff e9 46 c3 ff ff e8 3f dc 7f ff
RSP: 0018:ffffc90001277000 EFLAGS: 00010293
RAX: ffffffff81f5b88b RBX: 0000008000000000 RCX: ffff888115408000
RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000
RBP: ffffc90001277410 R08: ffffffff81f57feb R09: ffffed10217b55c3
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88810d166000
R13: ffff88810bdaaf50 R14: 000000c410000000 R15: ffffc900012772e0
FS:  0000000000000000(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fffc4e907c0 CR3: 000000011d146000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (223):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/06 15:51 android14-6.1 471a10d3af3b 831e3629 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-6-1 kernel BUG in ext4_writepages
2025/02/13 08:54 android14-6.1 c93dcf3b5358 b27c2402 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-6-1 kernel BUG in ext4_writepages
2025/02/12 19:54 android14-6.1 c93dcf3b5358 b27c2402 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-6-1 kernel BUG in ext4_writepages
2025/01/26 14:58 android14-6.1 ef4fb40b87a9 9fbd772e .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in ext4_writepages
2024/12/26 06:47 android14-6.1 4c2d86d81fa6 444551c4 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in ext4_writepages
2024/08/31 09:52 android14-6.1 b5e374dda921 1eda0d14 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in ext4_writepages
2024/04/30 14:59 android14-6.1 6364d594125d 3ce4924c .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in ext4_writepages
2024/04/30 10:07 android14-6.1 4744b3a4ed72 f10afd69 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in ext4_writepages
2024/04/26 00:33 android14-6.1 fa87a072a7fc 8bdc0f22 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in ext4_writepages
2024/04/23 04:51 android14-6.1 503add184388 36c961ad .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in ext4_writepages
2024/04/21 02:44 android14-6.1 dcb09569bbff af24b050 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in ext4_writepages
2023/08/10 20:05 android14-6.1 b0c06048a8ff da3c3ef8 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in ext4_writepages
2023/06/10 16:40 android14-6.1 7641ff0a300a 49519f06 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in ext4_writepages
2023/06/05 07:24 android14-6.1 7b1489746079 a4ae4f42 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in ext4_writepages
2025/02/09 07:06 android14-6.1 1ac09f5c0571 ef44b750 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-6-1 kernel BUG in ext4_writepages
2025/02/05 22:34 android14-6.1 7658169f5f5f 4dc70884 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in ext4_writepages
2025/01/23 14:31 android14-6.1 092a580916f8 a44b0418 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in ext4_writepages
2024/05/18 09:10 android14-6.1 51c421385e7a c0f1611a .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in ext4_writepages
2024/02/11 02:23 android14-6.1 d3f73f04529a 77b23aa1 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in ext4_writepages
2023/07/09 10:45 android14-6.1 0a2e9dd65c6b 668cb1fa .config strace log report syz [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-android-6-1 kernel BUG in ext4_writepages
2023/07/08 21:05 android14-6.1 0a2e9dd65c6b 668cb1fa .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in ext4_writepages
2023/05/28 17:32 android14-6.1 500484f5be02 cf184559 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in ext4_writepages
2025/02/24 15:59 android14-6.1 a624f97c9afe d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2025/02/24 15:58 android14-6.1 a624f97c9afe d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2025/02/24 14:34 android14-6.1 a624f97c9afe d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2025/02/24 13:05 android14-6.1 a624f97c9afe d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2025/02/24 06:46 android14-6.1 a624f97c9afe d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2025/02/24 06:37 android14-6.1 a624f97c9afe d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2025/02/24 06:26 android14-6.1 a624f97c9afe d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2025/02/24 06:20 android14-6.1 a624f97c9afe d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2025/02/20 16:55 android14-6.1 a5f88b652947 50668798 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2025/02/20 15:41 android14-6.1 a5f88b652947 50668798 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2025/02/10 02:03 android14-6.1 1ac09f5c0571 ef44b750 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2025/02/08 02:31 android14-6.1 1ac09f5c0571 ef44b750 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/12/09 11:32 android14-6.1 c276c53965a8 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/12/09 05:03 android14-6.1 c276c53965a8 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/12/08 20:37 android14-6.1 c276c53965a8 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/12/02 03:15 android14-6.1 a887a44ace2a 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/12/01 22:21 android14-6.1 a887a44ace2a 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/12/01 10:47 android14-6.1 a887a44ace2a 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/11/30 20:45 android14-6.1 a887a44ace2a 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/11/17 10:37 android14-6.1 defe0024cfb0 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/11/17 10:24 android14-6.1 defe0024cfb0 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/11/08 14:12 android14-6.1 d3daafbfd2bf 179b040e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/10/19 16:33 android14-6.1 1fe91f863a7f cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/10/07 08:28 android14-6.1 d4dab27b9d1c d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/10/06 14:58 android14-6.1 d4dab27b9d1c d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/10/04 20:47 android14-6.1 d4dab27b9d1c d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/09/30 09:20 android14-6.1 110595418159 ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/08/31 09:03 android14-6.1 b5e374dda921 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/08/21 00:12 android14-6.1 edca080b95df 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/08/19 20:12 android14-6.1 d6a513a78492 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/08/19 20:06 android14-6.1 d6a513a78492 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/08/19 17:32 android14-6.1 d6a513a78492 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/08/19 17:22 android14-6.1 d6a513a78492 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/08/16 13:46 android14-6.1 d6a513a78492 e1c76ab2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/08/03 09:21 android14-6.1 6aafd06a463b 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/07/10 07:15 android14-6.1 9e55f4169544 bc144f9a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/06/16 22:37 android14-6.1 25216be1ac5e f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/06/10 23:49 android14-6.1 ac9706483e98 048c640a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/04/25 16:07 android14-6.1 c61278bb705a 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/04/21 23:00 android14-6.1 dcb09569bbff af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/04/18 04:36 android14-6.1 141ebdcb283b acc528cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2024/04/18 00:54 android14-6.1 141ebdcb283b acc528cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
* Struck through repros no longer work on HEAD.