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: 620d, last: 20d
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 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 625d 1499d 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 5h18m 1773d 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 8d05h 619d 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 633d 1427d 0/1 upstream: reported C repro on 2020/12/25 03:51
android-5-15 kernel BUG in ext4_writepages ext4 origin:upstream C error 411 13d 765d 0/2 upstream: reported C repro on 2022/10/18 14:12
android-5-10 kernel BUG in ext4_writepages C error 5 765d 927d 2/2 fixed on 2022/11/16 18:44
android-6-1 kernel BUG in ext4_writepages origin:upstream C error 123 4d10h 535d 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 709d 1270d 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 15h56m 725d 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:2748!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 46 Comm: kworker/u4:3 Not tainted 6.1.84-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: writeback wb_workfn (flush-7:4)
RIP: 0010:ext4_writepages+0x3dd9/0x3de0 fs/ext4/inode.c:2747
Code: c7 b0 05 2c 8d 4c 89 f2 e8 54 50 28 02 e9 b9 fb ff ff e8 1a af 4f ff 0f 0b e8 13 af 4f ff 0f 0b e8 ec 3f 4f 08 e8 07 af 4f ff <0f> 0b 0f 1f 44 00 00 41 57 41 56 41 55 41 54 53 49 89 f7 49 89 fe
RSP: 0018:ffffc90000b76ea0 EFLAGS: 00010293
RAX: ffffffff823ad7e9 RBX: 0000008000000000 RCX: ffff888017eb3b80
RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000
RBP: ffffc90000b77290 R08: ffffffff823aa0a0 R09: ffffed100e7d1dd6
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001
R13: ffffc90000b77670 R14: 000000c410000000 R15: ffffc90000b77160
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020007f80 CR3: 000000001f29c000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 do_writepages+0x3a2/0x670 mm/page-writeback.c:2469
 __writeback_single_inode+0x15d/0x11e0 fs/fs-writeback.c:1612
 writeback_sb_inodes+0xc2b/0x1b20 fs/fs-writeback.c:1903
 __writeback_inodes_wb+0x114/0x400 fs/fs-writeback.c:1974
 wb_writeback+0x4b1/0xe10 fs/fs-writeback.c:2079
 wb_check_background_flush fs/fs-writeback.c:2145 [inline]
 wb_do_writeback fs/fs-writeback.c:2233 [inline]
 wb_workfn+0xc9e/0x1020 fs/fs-writeback.c:2260
 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292
 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439
 kthread+0x28d/0x320 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:307
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ext4_writepages+0x3dd9/0x3de0 fs/ext4/inode.c:2747
Code: c7 b0 05 2c 8d 4c 89 f2 e8 54 50 28 02 e9 b9 fb ff ff e8 1a af 4f ff 0f 0b e8 13 af 4f ff 0f 0b e8 ec 3f 4f 08 e8 07 af 4f ff <0f> 0b 0f 1f 44 00 00 41 57 41 56 41 55 41 54 53 49 89 f7 49 89 fe
RSP: 0018:ffffc90000b76ea0 EFLAGS: 00010293
RAX: ffffffff823ad7e9 RBX: 0000008000000000 RCX: ffff888017eb3b80
RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000
RBP: ffffc90000b77290 R08: ffffffff823aa0a0 R09: ffffed100e7d1dd6
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001
R13: ffffc90000b77670 R14: 000000c410000000 R15: ffffc90000b77160
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fffdb3719b0 CR3: 000000001f29c000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (67):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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
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
2024/10/16 16:46 linux-6.1.y aa4cd140bba5 bde2d81c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2024/10/09 18:33 linux-6.1.y aa4cd140bba5 56fb2cb7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2024/10/07 16:54 linux-6.1.y aa4cd140bba5 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2024/09/11 13:03 linux-6.1.y 5ca5b389fddf 8ab55d0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2024/08/23 04:02 linux-6.1.y ee5e09825b81 ce8a9099 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2024/07/12 08:52 linux-6.1.y 266ee8e06d5b eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2024/05/31 16:50 linux-6.1.y 88690811da69 0c378259 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2024/05/03 17:23 linux-6.1.y 909ba1f1b414 dd26401e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2024/04/14 01:48 linux-6.1.y cd5d98c0556c c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2024/04/11 22:14 linux-6.1.y bf1e3b1cb1e0 95ed9ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2024/04/09 06:56 linux-6.1.y 347385861c50 f3234354 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2024/04/06 06:22 linux-6.1.y 347385861c50 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2024/04/05 05:14 linux-6.1.y 347385861c50 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2024/04/04 21:50 linux-6.1.y 347385861c50 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2024/04/04 08:37 linux-6.1.y 347385861c50 51c4dcff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2024/04/04 08:36 linux-6.1.y 347385861c50 51c4dcff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2024/03/31 12:54 linux-6.1.y e5cd595e23c1 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2024/02/27 10:17 linux-6.1.y 81e1dc2f7001 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2024/01/24 20:36 linux-6.1.y 8fd7f4462453 1e153dc8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2024/01/18 14:17 linux-6.1.y fec3b1451d5f 239abf84 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2024/01/13 08:03 linux-6.1.y 7c58bfa711cb 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2023/12/20 15:17 linux-6.1.y ba6f5fb46511 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2023/12/19 16:13 linux-6.1.y ba6f5fb46511 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2023/12/14 03:36 linux-6.1.y ba6f5fb46511 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2023/10/27 21:02 linux-6.1.y 32c9cdbe383c 3c418d72 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2023/09/21 16:19 linux-6.1.y a356197db198 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2023/09/19 21:36 linux-6.1.y a356197db198 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2023/09/01 08:19 linux-6.1.y a2943d2d9a00 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2024/10/31 22:19 linux-6.1.y 7ec6f9fa3d97 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_writepages
2024/10/22 21:10 linux-6.1.y 7ec6f9fa3d97 a93682b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_writepages
2024/06/22 05:45 linux-6.1.y eb44d83053d6 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_writepages
2024/05/01 06:34 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_writepages
2024/04/23 11:40 linux-6.1.y 6741e066ec76 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_writepages
2024/04/22 18:12 linux-6.1.y 6741e066ec76 36c961ad .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_writepages
2024/04/07 05:21 linux-6.1.y 347385861c50 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_writepages
2023/12/28 19:45 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_writepages
2023/08/25 09:32 linux-6.1.y 802aacbbffe2 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2023/08/12 02:08 linux-6.1.y 1321ab403b38 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2023/08/03 16:53 linux-6.1.y 52a953d0934b 39a91c18 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2023/07/31 22:39 linux-6.1.y d2a6dc4eaf6d 2a0d0f29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2023/07/21 04:32 linux-6.1.y a456e1743881 28847498 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2023/07/20 17:28 linux-6.1.y a456e1743881 f49af159 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2023/07/18 20:10 linux-6.1.y 61fd484b2cf6 022df2bb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2023/07/15 22:07 linux-6.1.y 61fd484b2cf6 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2023/07/14 03:44 linux-6.1.y 61fd484b2cf6 55eda22f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2023/07/05 08:36 linux-6.1.y 0f4ac6b4c5f0 80298b6f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2023/05/31 20:13 linux-6.1.y d2869ace6eeb babc4389 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2023/05/09 07:50 linux-6.1.y ca48fc16c493 c7a5e2a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_writepages
2023/04/08 20:22 linux-6.1.y 543aff194ab6 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan 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
2023/08/18 16:29 linux-6.1.y 6c44e13dc284 acb1ba71 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_writepages
* Struck through repros no longer work on HEAD.