syzbot


kernel BUG in ext4_writepages

Status: upstream: reported C repro on 2023/03/12 17:26
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+a8068dd81edde0186829@syzkaller.appspotmail.com
First crash: 900d, last: 2d10h
Discussions (1)
Title Replies (including bot) Last reply
Re: [v6.1] kernel BUG in ext4_writepages 8 (8) 2023/08/15 16:44
Bug presence (1)
Date Name Commit Repro Result
2023/05/06 upstream (ToT) fc4354c6e5c2 C [report] kernel BUG in ext4_do_writepages
Similar bugs (9)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 kernel BUG at fs/ext4/inode.c:LINE! ext4 -1 C error 145 906d 1780d 0/1 upstream: reported C repro on 2020/10/14 01:19
android-54 kernel BUG at fs/ext4/inode.c:LINE! ext4 -1 C 272 95d 2054d 0/2 upstream: reported C repro on 2020/01/14 12:13
linux-5.15 kernel BUG in ext4_writepages origin:upstream -1 C error 141 5d03h 900d 0/3 upstream: reported C repro on 2023/03/13 06:22
linux-4.14 kernel BUG at fs/ext4/inode.c:LINE! ext4 -1 C 11 914d 1708d 0/1 upstream: reported C repro on 2020/12/25 03:51
android-5-15 kernel BUG in ext4_writepages ext4 origin:upstream -1 C error 492 2d16h 1046d 0/2 upstream: reported C repro on 2022/10/18 14:12
android-5-10 kernel BUG in ext4_writepages -1 C error 5 1046d 1207d 2/2 fixed on 2022/11/16 18:44
android-6-1 kernel BUG in ext4_writepages origin:upstream -1 C error 257 4d08h 816d 0/2 upstream: reported C repro on 2023/06/05 07:33
upstream kernel BUG in mpage_prepare_extent_to_map ext4 -1 C done error 145 990d 1551d 0/29 auto-obsoleted due to no activity on 2024/03/07 20:46
android-5-10 kernel BUG in ext4_writepages (2) ext4 -1 C error inconclusive 350 8d22h 1006d 0/2 upstream: reported C repro on 2022/11/27 00:51
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2024/08/22 09:14 1h13m bisect fix linux-6.1.y OK (0) job log log
2024/03/28 13:38 4h12m bisect fix linux-6.1.y OK (0) job log log
2023/11/27 13:11 2h14m bisect fix linux-6.1.y OK (0) job log log
2023/10/26 11:24 2h28m bisect fix linux-6.1.y OK (0) job log log
2023/06/30 23:00 56m bisect fix linux-6.1.y 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: 1 PID: 9050 Comm: syz.0.922 Not tainted 6.1.148-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:ext4_writepages+0x2e41/0x2e50 fs/ext4/inode.c:2759
Code: c1 03 38 c1 0f 8c ac fd ff ff 4c 89 e7 e8 a7 97 ad ff e9 9f fd ff ff e8 0d 7b 5d ff 0f 0b e8 06 7b 5d ff 0f 0b e8 ff 7a 5d ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 55 41 57 41 56 41 54
RSP: 0018:ffffc9000e0176c0 EFLAGS: 00010293

RAX: ffffffff82234361 RBX: 000000d410000000 RCX: ffff88801a7e9dc0
RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000
RBP: ffffc9000e017a30 R08: dffffc0000000000 R09: ffffed100ad2550f
R10: ffffed100ad2550f R11: 1ffff1100ad2550e R12: 1ffff92001c02f84
R13: dffffc0000000000 R14: 0000008000000000 R15: ffff88805ddf6000
FS:  00007f29b9ba46c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f73cd2fe000 CR3: 000000002f536000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 do_writepages+0x3b7/0x610 mm/page-writeback.c:2491
 filemap_fdatawrite_wbc+0x11e/0x180 mm/filemap.c:388
 __filemap_fdatawrite_range mm/filemap.c:421 [inline]
 __filemap_fdatawrite mm/filemap.c:427 [inline]
 filemap_flush+0xc1/0x110 mm/filemap.c:454
 ext4_release_file+0x7e/0x300 fs/ext4/file.c:158
 __fput+0x22c/0x920 fs/file_table.c:320
 task_work_run+0x1ca/0x250 kernel/task_work.c:203
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
 syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303
 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f29b8d8ebe9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f29b9ba4038 EFLAGS: 00000246 ORIG_RAX: 0000000000000021
RAX: 0000000000000004 RBX: 00007f29b8fb6090 RCX: 00007f29b8d8ebe9
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000006
RBP: 00007f29b8e11e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f29b8fb6128 R14: 00007f29b8fb6090 R15: 00007ffceef73b68
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ext4_writepages+0x2e41/0x2e50 fs/ext4/inode.c:2759
Code: c1 03 38 c1 0f 8c ac fd ff ff 4c 89 e7 e8 a7 97 ad ff e9 9f fd ff ff e8 0d 7b 5d ff 0f 0b e8 06 7b 5d ff 0f 0b e8 ff 7a 5d ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 55 41 57 41 56 41 54
RSP: 0018:ffffc9000e0176c0 EFLAGS: 00010293
RAX: ffffffff82234361 RBX: 000000d410000000 RCX: ffff88801a7e9dc0
RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000
RBP: ffffc9000e017a30 R08: dffffc0000000000 R09: ffffed100ad2550f
R10: ffffed100ad2550f R11: 1ffff1100ad2550e R12: 1ffff92001c02f84
R13: dffffc0000000000 R14: 0000008000000000 R15: ffff88805ddf6000
FS:  00007f29b9ba46c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f73d6da9f98 CR3: 000000002f536000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (186):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/24 07:41 linux-6.1.y 0bc96de781b4 bf27483f .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2024/04/10 08:31 linux-6.1.y 347385861c50 171ec371 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2024/04/08 09:29 linux-6.1.y 347385861c50 ca620dd8 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2024/03/31 14:01 linux-6.1.y e5cd595e23c1 6baf5069 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2023/12/30 02:51 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2023/12/20 00:28 linux-6.1.y ba6f5fb46511 3ad490ea .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2023/04/01 10:27 linux-6.1.y 3b29299e5f60 f325deb0 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/05/29 18:41 linux-6.1.y da3c5173c55f 3d2f584d .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_writepages
2025/05/16 16:46 linux-6.1.y 02b72ccb5f9d cfde8269 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_writepages
2025/02/02 21:30 linux-6.1.y 0cbb5f65e52f 568559e4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_writepages
2023/08/18 03:52 linux-6.1.y 6c44e13dc284 74b106b6 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2023/08/07 05:06 linux-6.1.y 52a953d0934b 4ffcc9ef .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2023/03/31 14:58 linux-6.1.y 3b29299e5f60 f325deb0 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2023/03/13 06:33 linux-6.1.y 1cc3fcf63192 5205ef30 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_writepages
2023/12/31 18:50 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/08/27 05:54 linux-6.1.y 0bc96de781b4 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/08/21 18:19 linux-6.1.y 0bc96de781b4 3e79b825 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/08/20 19:08 linux-6.1.y 0bc96de781b4 0b9605c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/08/20 06:21 linux-6.1.y 0bc96de781b4 79512909 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/08/19 17:53 linux-6.1.y 0bc96de781b4 254a27c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/08/19 06:45 linux-6.1.y 0bc96de781b4 523f460e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/08/15 15:07 linux-6.1.y 0bc96de781b4 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/08/15 00:48 linux-6.1.y 3594f306da12 5d8c2ac2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/07/20 08:16 linux-6.1.y 3369c6df2fae 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/07/14 13:00 linux-6.1.y dfc486ec9cce d8fc7335 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/07/04 22:29 linux-6.1.y 7e69c33e4858 d869b261 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/06/23 12:50 linux-6.1.y 58485ff1a74f d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/06/23 08:59 linux-6.1.y 58485ff1a74f d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/06/12 02:12 linux-6.1.y 58485ff1a74f 98683f8f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/06/08 11:17 linux-6.1.y 58485ff1a74f 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/06/06 21:46 linux-6.1.y 58485ff1a74f 9fa58bba .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/05/06 08:28 linux-6.1.y ac7079a42ea5 ae98e6b9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/05/02 23:18 linux-6.1.y b6736e03756f b0714e37 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/05/01 19:28 linux-6.1.y 535ec20c5027 51b137cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/05/01 10:04 linux-6.1.y 535ec20c5027 ce7952f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/05/01 07:01 linux-6.1.y 535ec20c5027 ce7952f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/04/29 03:21 linux-6.1.y 535ec20c5027 aeb6ec69 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/04/24 18:23 linux-6.1.y 420102835862 9882047a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/04/20 23:53 linux-6.1.y 420102835862 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/04/15 18:12 linux-6.1.y 420102835862 23b969b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/04/13 04:08 linux-6.1.y 420102835862 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/04/10 03:01 linux-6.1.y 3dfebb87d7eb 988b336c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/04/05 05:59 linux-6.1.y 8e60a714ba3b c53ea9c9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/04/04 16:22 linux-6.1.y 8e60a714ba3b 1c4febdb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/04/02 23:00 linux-6.1.y 8e60a714ba3b c799dfdd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/04/02 12:45 linux-6.1.y 8e60a714ba3b c799dfdd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/03/31 21:08 linux-6.1.y 8e60a714ba3b d3999433 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2025/08/23 16:17 linux-6.1.y 0bc96de781b4 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_writepages
2025/07/23 21:43 linux-6.1.y 3369c6df2fae e1dd4f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_writepages
2025/05/30 00:03 linux-6.1.y da3c5173c55f 3d2f584d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_writepages
2025/05/17 22:24 linux-6.1.y 02b72ccb5f9d f41472b0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_writepages
2025/05/16 15:38 linux-6.1.y 02b72ccb5f9d cfde8269 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_writepages
2025/05/03 18:10 linux-6.1.y b6736e03756f b0714e37 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_writepages
2025/05/01 23:50 linux-6.1.y 535ec20c5027 51b137cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_writepages
2025/04/30 18:36 linux-6.1.y 535ec20c5027 85a5a23f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_writepages
2025/04/30 03:26 linux-6.1.y 535ec20c5027 85a5a23f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_writepages
2025/04/19 22:10 linux-6.1.y 420102835862 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_writepages
2025/04/19 02:58 linux-6.1.y 420102835862 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_writepages
2025/04/09 17:03 linux-6.1.y 3dfebb87d7eb 47d015b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_writepages
2025/04/03 17:22 linux-6.1.y 8e60a714ba3b 996a9618 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_writepages
2023/03/12 17:25 linux-6.1.y 1cc3fcf63192 5205ef30 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
* Struck through repros no longer work on HEAD.