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: 358d, last: 7d05h
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 364d 1238d 0/1 upstream: reported C repro on 2020/10/14 01:19
android-54 kernel BUG at fs/ext4/inode.c:LINE! ext4 C 154 5d20h 1512d 0/2 upstream: reported C repro on 2020/01/14 12:13
linux-5.15 kernel BUG in ext4_writepages origin:upstream C error 23 7d03h 358d 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 372d 1166d 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 74 3d03h 504d 0/2 upstream: reported C repro on 2022/10/18 14:12
android-5-10 kernel BUG in ext4_writepages C error 5 504d 665d 2/2 fixed on 2022/11/16 18:44
android-6-1 kernel BUG in ext4_writepages origin:upstream C error 25 9d12h 274d 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 448d 1009d 0/26 upstream: reported C repro on 2021/05/31 07:15
android-5-10 kernel BUG in ext4_writepages (2) ext4 C error inconclusive 104 3d03h 464d 0/2 upstream: reported C repro on 2022/11/27 00:51
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2023/11/27 13:11 2h14m bisect fix linux-6.1.y job log (0) log
2023/10/26 11:24 2h28m bisect fix linux-6.1.y job log (0) log
2023/06/30 23:00 56m bisect fix linux-6.1.y job log (0) log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/inode.c:2748!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 46 Comm: kworker/u4:3 Not tainted 6.1.69-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Workqueue: writeback wb_workfn (flush-7:4)
RIP: 0010:ext4_writepages+0x3dd9/0x3de0 fs/ext4/inode.c:2747
Code: c7 10 f4 2b 8d 4c 89 f2 e8 c4 24 28 02 e9 b9 fb ff ff e8 ba d8 4f ff 0f 0b e8 b3 d8 4f ff 0f 0b e8 6c 42 4f 08 e8 a7 d8 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:ffffc90000b76f40 EFLAGS: 00010293
RAX: ffffffff823ab569 RBX: 0000008000000000 RCX: ffff888018ed3b80
RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000
RBP: ffffc90000b77330 R08: ffffffff823a7e20 R09: ffffed100e1893ce
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001
R13: ffffc90000b77710 R14: 000000c410000000 R15: ffffc90000b77200
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000056013574c1c8 CR3: 00000000186f5000 CR4: 00000000003506f0
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
 wb_writeback+0x49d/0xe10 fs/fs-writeback.c:2077
 wb_do_writeback fs/fs-writeback.c:2220 [inline]
 wb_workfn+0x427/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:306
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ext4_writepages+0x3dd9/0x3de0 fs/ext4/inode.c:2747
Code: c7 10 f4 2b 8d 4c 89 f2 e8 c4 24 28 02 e9 b9 fb ff ff e8 ba d8 4f ff 0f 0b e8 b3 d8 4f ff 0f 0b e8 6c 42 4f 08 e8 a7 d8 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:ffffc90000b76f40 EFLAGS: 00010293
RAX: ffffffff823ab569 RBX: 0000008000000000 RCX: ffff888018ed3b80
RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000
RBP: ffffc90000b77330 R08: ffffffff823a7e20 R09: ffffed100e1893ce
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001
R13: ffffc90000b77710 R14: 000000c410000000 R15: ffffc90000b77200
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2d35fa6000 CR3: 00000000186f5000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (35):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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/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
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.