syzbot


kernel BUG in ext4_writepages

Status: upstream: reported C repro on 2022/10/18 14:12
Bug presence: origin:upstream
Subsystems: ext4
[Documentation on labels]
Reported-by: syzbot+a158d886ca08a3fecca4@syzkaller.appspotmail.com
First crash: 766d, last: 7h47m
Cause bisection: failed (error log, bisect log)
  
Discussions (2)
Title Replies (including bot) Last reply
[PATCH v2] ext4: fix race condition between buffer write and page_mkwrite 14 (14) 2024/04/15 14:07
[PATCH] ext4: fix race condition between buffer write and page_mkwrite 7 (7) 2023/05/30 13:19
Bug presence (2)
Date Name Commit Repro Result
2023/09/04 lts (merge base) 8f790700c974 C [report] kernel BUG in ext4_write_inline_data_end
2023/09/04 upstream (ToT) 708283abf896 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 627d 1501d 0/1 upstream: reported C repro on 2020/10/14 01:19
android-54 kernel BUG at fs/ext4/inode.c:LINE! ext4 C 174 1d17h 1774d 0/2 upstream: reported C repro on 2020/01/14 12:13
linux-5.15 kernel BUG in ext4_writepages origin:upstream C error 60 9d17h 621d 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 635d 1429d 0/1 upstream: reported C repro on 2020/12/25 03:51
linux-6.1 kernel BUG in ext4_writepages origin:upstream C 67 22d 621d 0/3 upstream: reported C repro on 2023/03/12 17:26
android-5-10 kernel BUG in ext4_writepages C error 5 766d 928d 2/2 fixed on 2022/11/16 18:44
android-6-1 kernel BUG in ext4_writepages origin:upstream C error 123 5d23h 537d 0/2 upstream: reported C repro on 2023/06/05 07:33
upstream kernel BUG in mpage_prepare_extent_to_map ext4 C done error 145 711d 1272d 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 155 2d03h 727d 0/2 upstream: reported C repro on 2022/11/27 00:51
Last patch testing requests (12)
Created Duration User Patch Repo Result
2024/11/23 01:21 14m retest repro android13-5.15-lts report log
2024/11/23 01:21 6m retest repro android13-5.15-lts report log
2024/11/23 01:21 6m retest repro android13-5.15-lts report log
2024/11/23 01:21 8m retest repro android13-5.15-lts report log
2024/11/23 01:21 6m retest repro android13-5.15-lts report log
2024/10/05 21:46 14m retest repro android13-5.15-lts report log
2022/12/07 03:56 7m jun.nie@linaro.org patch upstream report log
2022/12/02 06:23 10m jun.nie@linaro.org patch upstream report log
2022/12/02 01:54 8m jun.nie@linaro.org upstream report log
2022/12/01 09:01 7m jun.nie@linaro.org git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git linux-5.15.y report log
2022/12/01 01:15 7m jun.nie@linaro.org patch android13-5.15-lts report log
2022/11/30 11:50 7m jun.nie@linaro.org android13-5.15-lts report log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2023/04/21 14:59 24m bisect fix android13-5.15-lts OK (0) job log log
2022/11/17 14:08 16m bisect fix android13-5.15-lts OK (0) job log log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/inode.c:2746!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 8 Comm: kworker/u4:0 Not tainted 5.15.167-syzkaller-02003-g5e4635681cf1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: writeback wb_workfn (flush-7:0)
RIP: 0010:ext4_writepages+0x3fe6/0x4000 fs/ext4/inode.c:2745
Code: 89 de e8 0d 6f 87 ff 45 84 f6 75 2c e8 73 6c 87 ff 49 be 00 00 00 00 00 fc ff df 4c 8b 64 24 50 e9 e4 c5 ff ff e8 5a 6c 87 ff <0f> 0b e8 53 6c 87 ff e8 aa 9c 17 ff eb 9b e8 47 6c 87 ff e8 9e 9c
RSP: 0018:ffffc90000087000 EFLAGS: 00010293
RAX: ffffffff81e8eb26 RBX: 0000008000000000 RCX: ffff88810026cf00
RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000
RBP: ffffc90000087410 R08: ffffffff81e8e296 R09: ffffed1024523814
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc900000877d0
R13: 0000000000000000 R14: 0000008410000000 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000002 CR3: 0000000006a0f000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 do_writepages+0x40e/0x670 mm/page-writeback.c:2388
 __writeback_single_inode+0xdf/0xa70 fs/fs-writeback.c:1647
 writeback_sb_inodes+0xb2a/0x1920 fs/fs-writeback.c:1930
 wb_writeback+0x3b9/0x9e0 fs/fs-writeback.c:2104
 wb_do_writeback fs/fs-writeback.c:2247 [inline]
 wb_workfn+0x3d9/0x1110 fs/fs-writeback.c:2288
 process_one_work+0x6bb/0xc10 kernel/workqueue.c:2325
 worker_thread+0xad5/0x12a0 kernel/workqueue.c:2472
 kthread+0x421/0x510 kernel/kthread.c:337
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>
Modules linked in:
---[ end trace b83334485f6c4da4 ]---
RIP: 0010:ext4_writepages+0x3fe6/0x4000 fs/ext4/inode.c:2745
Code: 89 de e8 0d 6f 87 ff 45 84 f6 75 2c e8 73 6c 87 ff 49 be 00 00 00 00 00 fc ff df 4c 8b 64 24 50 e9 e4 c5 ff ff e8 5a 6c 87 ff <0f> 0b e8 53 6c 87 ff e8 aa 9c 17 ff eb 9b e8 47 6c 87 ff e8 9e 9c
RSP: 0018:ffffc90000087000 EFLAGS: 00010293
RAX: ffffffff81e8eb26 RBX: 0000008000000000 RCX: ffff88810026cf00
RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000
RBP: ffffc90000087410 R08: ffffffff81e8e296 R09: ffffed1024523814
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc900000877d0
R13: 0000000000000000 R14: 0000008410000000 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000002 CR3: 0000000006a0f000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (411):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/18 12:17 android13-5.15-lts 5e4635681cf1 666f77ed .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_writepages
2024/05/18 15:02 android13-5.15-lts 5d96939590c0 c0f1611a .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_writepages
2024/05/12 04:05 android13-5.15-lts 5d96939590c0 9026e142 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_writepages
2024/03/01 07:23 android13-5.15-lts 993bed180178 352ab904 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_writepages
2023/09/05 19:49 android13-5.15-lts 1317bd27a72f 0b6286dc .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_writepages
2023/07/02 20:53 android13-5.15-lts 241da2ad5601 bfc47836 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_writepages
2023/06/18 03:49 android13-5.15-lts 36f4f6fb72d5 f3921d4d .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_writepages
2023/06/10 20:35 android13-5.15-lts 19c0ed55a470 49519f06 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_writepages
2023/06/05 08:06 android13-5.15-lts 19c0ed55a470 a4ae4f42 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_writepages
2023/05/28 19:01 android13-5.15-lts 19c0ed55a470 cf184559 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_writepages
2023/05/07 12:27 android13-5.15-lts 19c0ed55a470 90c93c40 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_writepages
2023/03/13 06:24 android13-5.15-lts 5448b2fda85f 5205ef30 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_writepages
2023/03/12 18:27 android13-5.15-lts 5448b2fda85f 5205ef30 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_writepages
2023/02/26 15:51 android13-5.15-lts 5448b2fda85f ee50e71c .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_writepages
2023/02/22 12:03 android13-5.15-lts 5448b2fda85f 42a4d508 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_writepages
2023/02/10 11:43 android13-5.15-lts 5020746bff95 07980f9d .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_writepages
2022/12/03 06:42 android13-5.15-lts 92f701cae0bc e080de16 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_writepages
2022/11/27 02:47 android13-5.15-lts 4ec71a9ec769 f4470a7b .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_writepages
2024/07/08 05:04 android13-5.15-lts 9044d25b8ff5 2a40360c .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_writepages
2023/07/09 10:45 android13-5.15-lts 879959450ec7 668cb1fa .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-android-5-15 kernel BUG in ext4_writepages
2023/07/08 20:20 android13-5.15-lts 879959450ec7 668cb1fa .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_writepages
2023/02/28 19:35 android13-5.15-lts 5448b2fda85f 95aee97a .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-android-5-15 kernel BUG in ext4_writepages
2022/12/14 01:51 android13-5.15-lts 7048384c9872 f6511626 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_writepages
2024/03/02 12:33 android13-5.15-lts 993bed180178 25905f5d .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_writepages
2022/11/26 10:27 android13-5.15-lts 4ec71a9ec769 f4470a7b .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_writepages
2022/10/18 14:05 android13-5.15-lts 44b8b2ac1d96 b31320fc .config strace log report syz C [disk image] [vmlinux] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_writepages
2023/09/06 09:39 android13-5.15-lts 1317bd27a72f 0b6286dc .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_writepages
2024/11/08 12:17 android13-5.15-lts 5e4635681cf1 179b040e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/11/08 01:19 android13-5.15-lts 5e4635681cf1 867e44df .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/11/07 23:36 android13-5.15-lts 5e4635681cf1 867e44df .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/11/07 03:31 android13-5.15-lts 5e4635681cf1 df3dc63b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/11/07 03:31 android13-5.15-lts 5e4635681cf1 df3dc63b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/11/06 15:04 android13-5.15-lts 5e4635681cf1 3a465482 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/11/05 08:12 android13-5.15-lts 5e4635681cf1 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/11/04 13:14 android13-5.15-lts 5e4635681cf1 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/11/04 11:45 android13-5.15-lts 5e4635681cf1 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/11/04 08:07 android13-5.15-lts 5e4635681cf1 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/11/04 06:29 android13-5.15-lts 5e4635681cf1 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/11/04 04:31 android13-5.15-lts 5e4635681cf1 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/11/04 02:54 android13-5.15-lts 5e4635681cf1 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/11/03 21:16 android13-5.15-lts 5e4635681cf1 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/11/03 17:56 android13-5.15-lts 5e4635681cf1 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/11/03 15:38 android13-5.15-lts 5e4635681cf1 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/11/03 12:46 android13-5.15-lts 5e4635681cf1 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/11/03 02:01 android13-5.15-lts 5e4635681cf1 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/11/02 21:03 android13-5.15-lts 5e4635681cf1 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/11/01 14:27 android13-5.15-lts 5e4635681cf1 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/11/01 13:25 android13-5.15-lts 5e4635681cf1 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/11/01 07:38 android13-5.15-lts 5e4635681cf1 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/11/01 07:37 android13-5.15-lts 5e4635681cf1 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/10/31 13:23 android13-5.15-lts 5e4635681cf1 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/10/28 12:43 android13-5.15-lts 5e4635681cf1 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/10/28 08:08 android13-5.15-lts 5e4635681cf1 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/10/28 06:22 android13-5.15-lts 5e4635681cf1 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/10/28 01:52 android13-5.15-lts 5e4635681cf1 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/10/27 19:14 android13-5.15-lts 5e4635681cf1 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/10/27 10:21 android13-5.15-lts 5e4635681cf1 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/10/27 07:34 android13-5.15-lts 5e4635681cf1 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/10/22 22:14 android13-5.15-lts 5e4635681cf1 a93682b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/10/21 03:23 android13-5.15-lts 5e4635681cf1 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/10/20 13:46 android13-5.15-lts 5e4635681cf1 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/10/20 13:45 android13-5.15-lts 5e4635681cf1 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/10/18 13:48 android13-5.15-lts 5e4635681cf1 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/10/18 12:09 android13-5.15-lts 5e4635681cf1 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/10/18 11:57 android13-5.15-lts 5e4635681cf1 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/10/18 11:44 android13-5.15-lts 5e4635681cf1 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/10/18 11:32 android13-5.15-lts 5e4635681cf1 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/10/18 11:19 android13-5.15-lts 5e4635681cf1 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/10/18 11:09 android13-5.15-lts 5e4635681cf1 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_writepages
2024/02/01 06:21 android13-5.15-lts 1c3a1f32bcbd 373b66cd .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_writepages
2022/10/18 13:45 android13-5.15-lts 44b8b2ac1d96 b31320fc .config console log report info [disk image] [vmlinux] ci2-android-5-15 kernel BUG in ext4_writepages
* Struck through repros no longer work on HEAD.