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: 275d, last: 2d14h
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 357d 1231d 0/1 upstream: reported C repro on 2020/10/14 01:19
android-54 kernel BUG at fs/ext4/inode.c:LINE! ext4 C 153 3h34m 1505d 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 6h48m 351d 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 365d 1159d 0/1 upstream: reported C repro on 2020/12/25 03:51
linux-6.1 kernel BUG in ext4_writepages origin:upstream C 35 8h13m 352d 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 72 12d 497d 0/2 upstream: reported C repro on 2022/10/18 14:12
android-5-10 kernel BUG in ext4_writepages C error 5 497d 658d 2/2 fixed on 2022/11/16 18:44
upstream kernel BUG in mpage_prepare_extent_to_map ext4 C done error 145 441d 1002d 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 103 13d 457d 0/2 upstream: reported C repro on 2022/11/27 00:51
Last patch testing requests (7)
Created Duration User Patch Repo Result
2024/02/25 02:25 13m retest repro android14-6.1 report log
2024/02/25 02:25 18m retest repro android14-6.1 report log
2024/02/25 02:25 13m retest repro android14-6.1 report log
2024/02/25 02:25 13m retest repro android14-6.1 report log
2024/02/25 02:25 14m retest repro android14-6.1 report log
2023/12/22 19:29 18m retest repro android14-6.1 report log
2023/12/08 18:53 7m retest repro android14-6.1 report log
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2024/01/21 21:23 48m bisect fix android14-6.1 job log (0) log
2023/11/24 17:54 45m bisect fix android14-6.1 job log (0) log
2023/10/25 04:31 46m bisect fix android14-6.1 job log (0) log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/inode.c:2747!
invalid opcode: 0000 [#2] PREEMPT SMP KASAN
CPU: 1 PID: 8 Comm: kworker/u4:0 Tainted: G      D            6.1.25-syzkaller-00003-gb0c06048a8ff #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
Workqueue: writeback wb_workfn (flush-7:5)
RIP: 0010:ext4_writepages+0x3f95/0x3fb0 fs/ext4/inode.c:2746
Code: 15 82 ff 31 ff 89 de e8 b9 15 82 ff 45 84 f6 75 27 e8 1f 13 82 ff 49 be 00 00 00 00 00 fc ff df e9 8e f6 ff ff e8 0b 13 82 ff <0f> 0b e8 04 13 82 ff e8 4b a4 0d ff eb a0 e8 f8 12 82 ff e8 3f a4
RSP: 0018:ffffc90000086f60 EFLAGS: 00010293
RAX: ffffffff81f2db85 RBX: 0000008000000000 RCX: ffff88810037bcc0
RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000
RBP: ffffc90000087370 R08: ffffffff81f2a2a5 R09: ffffed10200ab00b
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001
R13: ffffc90000087750 R14: 0000008410000000 R15: 0000000050000021
FS:  0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020004400 CR3: 0000000120a2f000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 do_writepages+0x385/0x620 mm/page-writeback.c:2472
 __writeback_single_inode+0xdc/0xb80 fs/fs-writeback.c:1590
 writeback_sb_inodes+0xb33/0x18f0 fs/fs-writeback.c:1881
 __writeback_inodes_wb+0x118/0x3f0 fs/fs-writeback.c:1952
 wb_writeback+0x3cd/0x9f0 fs/fs-writeback.c:2057
 wb_check_background_flush fs/fs-writeback.c:2123 [inline]
 wb_do_writeback fs/fs-writeback.c:2211 [inline]
 wb_workfn+0xbba/0x1030 fs/fs-writeback.c:2238
 process_one_work+0x73d/0xcb0 kernel/workqueue.c:2296
 worker_thread+0xa60/0x1260 kernel/workqueue.c:2443
 kthread+0x26d/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>
Modules linked in:

Crashes (25):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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
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
2023/09/08 11:31 android14-6.1 20ecb229c5b2 72324844 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2023/08/25 23:13 android14-6.1 63af84cffec1 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2023/08/20 21:18 android14-6.1 c2611a04b92f d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2023/08/16 02:23 android14-6.1 fda157ce154f 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2023/08/15 09:48 android14-6.1 37f450940760 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2023/08/13 16:06 android14-6.1 d7dacaa439c7 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2023/08/07 03:43 android14-6.1 5e1d25ac2ab6 4ffcc9ef .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2023/07/19 23:27 android14-6.1 4a207efbe0b5 4547cdf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2023/07/18 21:58 android14-6.1 6c695fad68dc 022df2bb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2023/07/17 01:55 android14-6.1 f6707f352b54 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2023/07/16 00:42 android14-6.1 f6707f352b54 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2023/07/03 08:09 android14-6.1 ed2a228522b9 bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2023/06/30 22:35 android14-6.1 ed2a228522b9 af3053d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2023/06/19 06:27 android14-6.1 0a859e781c76 f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2023/06/11 18:26 android14-6.1 7641ff0a300a 49519f06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2023/06/05 06:57 android14-6.1 7b1489746079 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2023/06/03 10:23 android14-6.1 7b1489746079 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_writepages
2023/05/28 17:01 android14-6.1 500484f5be02 cf184559 .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.