syzbot


kernel BUG in __ext4_journal_stop

Status: upstream: reported C repro on 2023/06/03 10:54
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+62ea9cb4a5d3e75b7ae2@syzkaller.appspotmail.com
First crash: 820d, last: 15d
Cause bisection: failed (error log, bisect log)
  
Fix bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2023/06/03 lts (merge base) b1644a0031cf C [report] kernel BUG in __ext4_journal_stop
2023/06/03 upstream (ToT) 4ecd704a4c51 C [report] kernel BUG in ext4_do_writepages
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 kernel BUG in __ext4_journal_stop origin:upstream -1 C error 2 47d 889d 0/3 upstream: reported C repro on 2023/03/26 14:44
upstream kernel BUG in __ext4_journal_stop ext4 -1 C error done 27 4d06h 1007d 0/29 upstream: reported C repro on 2022/11/28 10:23
linux-6.1 kernel BUG in __ext4_journal_stop origin:upstream -1 C error 2 154d 776d 0/3 upstream: reported C repro on 2023/07/17 08:36
android-5-15 kernel BUG in __ext4_journal_stop ext4 origin:upstream -1 C error error 18 1d14h 1008d 0/2 upstream: reported C repro on 2022/11/27 03:57
Last patch testing requests (8)
Created Duration User Patch Repo Result
2025/08/13 17:36 9m retest repro android14-6.1 report log
2025/07/30 07:27 14m retest repro android14-6.1 report log
2025/07/30 07:27 11m retest repro android14-6.1 report log
2025/07/30 07:27 20m retest repro android14-6.1 report log
2025/07/30 07:27 13m retest repro android14-6.1 report log
2025/07/30 07:27 13m retest repro android14-6.1 report log
2025/07/10 22:53 10m retest repro android14-6.1 report log
2025/07/10 22:53 14m retest repro android14-6.1 report log
Fix bisection attempts (17)
Created Duration User Patch Repo Result
2025/06/05 07:11 2m bisect fix android14-6.1 error job log
2025/04/06 20:38 1h09m bisect fix android14-6.1 OK (0) job log log
2024/12/22 04:56 1h48m bisect fix android14-6.1 OK (0) job log log
2024/11/07 13:42 1h46m bisect fix android14-6.1 OK (0) job log log
2024/10/06 02:26 1h45m bisect fix android14-6.1 OK (0) job log log
2024/08/23 15:03 41m bisect fix android14-6.1 OK (0) job log log
2024/07/21 00:09 1h34m bisect fix android14-6.1 OK (0) job log log
2024/06/07 03:18 40m bisect fix android14-6.1 OK (0) job log log
2024/05/07 21:07 1h05m bisect fix android14-6.1 OK (0) job log log
2024/04/04 07:33 47m bisect fix android14-6.1 OK (0) job log log
2024/03/04 16:53 44m bisect fix android14-6.1 OK (0) job log log
2024/01/27 02:28 45m bisect fix android14-6.1 OK (0) job log log
2023/12/27 07:36 1h02m bisect fix android14-6.1 OK (0) job log log
2023/11/26 22:52 50m bisect fix android14-6.1 OK (0) job log log
2023/10/27 01:03 52m bisect fix android14-6.1 OK (0) job log log
2023/09/22 22:15 45m bisect fix android14-6.1 OK (0) job log log
2023/07/06 12:40 1h38m bisect fix android14-6.1 OK (0) job log log

Sample crash report:
EXT4-fs (loop0): mounted filesystem without journal. Quota mode: none.
------------[ cut here ]------------
kernel BUG at fs/ext4/ext4_jbd2.c:53!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 304 Comm: syz-executor140 Not tainted 6.1.145-syzkaller-00006-g831a57b4a783 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:ext4_put_nojournal fs/ext4/ext4_jbd2.c:53 [inline]
RIP: 0010:__ext4_journal_stop+0x192/0x1a0 fs/ext4/ext4_jbd2.c:116
Code: c3 e8 82 40 8e ff e9 f7 fe ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 14 ff ff ff e8 88 a3 d2 ff e9 0a ff ff ff e8 5e 40 8e ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc90000ea7738 EFLAGS: 00010293
RAX: ffffffff81e1c9c2 RBX: 0000000000000000 RCX: ffff888102739440
RDX: 0000000000000000 RSI: 000000000000032c RDI: ffffffff864177a3
RBP: ffffc90000ea7770 R08: dffffc0000000000 R09: ffffed10228ab276
R10: ffffed10228ab276 R11: 1ffff110228ab275 R12: 1ffff11020af70ee
R13: ffff8881057b8770 R14: 000000000000032c R15: ffffffff864177a3
FS:  00007f351d8e96c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f351d8c8d58 CR3: 00000001238d9000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ext4_write_inline_data_end+0x7b8/0xa90 fs/ext4/inline.c:812
 ext4_da_write_end+0x1ce/0x8c0 fs/ext4/inode.c:3093
 generic_perform_write+0x3a2/0x6d0 mm/filemap.c:3893
 ext4_buffered_write_iter+0x36f/0x660 fs/ext4/file.c:285
 ext4_file_write_iter+0x18f/0x13d0 fs/ext4/file.c:-1
 call_write_iter include/linux/fs.h:2282 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x5db/0xca0 fs/read_write.c:584
 ksys_write+0x140/0x240 fs/read_write.c:637
 __do_sys_write fs/read_write.c:649 [inline]
 __se_sys_write fs/read_write.c:646 [inline]
 __x64_sys_write+0x7b/0x90 fs/read_write.c:646
 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:2
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f351d930cb9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 91 1a 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f351d8e9218 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f351d9b86e8 RCX: 00007f351d930cb9
RDX: 0000000000000012 RSI: 0000200000000040 RDI: 0000000000000004
RBP: 00007f351d9b86e0 R08: 00007f351d8e8fb7 R09: 0000000000000000
R10: 0000000000000012 R11: 0000000000000246 R12: 00007f351d984de8
R13: 00007f351d984052 R14: 0000200000000000 R15: 0000200000000040
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ext4_put_nojournal fs/ext4/ext4_jbd2.c:53 [inline]
RIP: 0010:__ext4_journal_stop+0x192/0x1a0 fs/ext4/ext4_jbd2.c:116
Code: c3 e8 82 40 8e ff e9 f7 fe ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 14 ff ff ff e8 88 a3 d2 ff e9 0a ff ff ff e8 5e 40 8e ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc90000ea7738 EFLAGS: 00010293
RAX: ffffffff81e1c9c2 RBX: 0000000000000000 RCX: ffff888102739440
RDX: 0000000000000000 RSI: 000000000000032c RDI: ffffffff864177a3
RBP: ffffc90000ea7770 R08: dffffc0000000000 R09: ffffed10228ab276
R10: ffffed10228ab276 R11: 1ffff110228ab275 R12: 1ffff11020af70ee
R13: ffff8881057b8770 R14: 000000000000032c R15: ffffffff864177a3
FS:  00007f351d8e96c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f351d8c8d58 CR3: 00000001238d9000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (14):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/15 22:20 android14-6.1 831a57b4a783 1804e95e .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-6-1 kernel BUG in __ext4_journal_stop
2023/06/03 10:53 android14-6.1 7b1489746079 a4ae4f42 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in __ext4_journal_stop
2025/07/15 23:16 android14-6.1 e2deb0b42a3a 03fcfc4b .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-6-1 kernel BUG in __ext4_journal_stop
2025/06/26 05:40 android14-6.1 44c8456c4231 26d77996 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-6-1 kernel BUG in __ext4_journal_stop
2025/06/19 12:01 android14-6.1 ba4506940166 ed3e87f7 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-6-1 kernel BUG in __ext4_journal_stop
2025/06/12 17:17 android14-6.1 0c5980110105 98683f8f .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-6-1 kernel BUG in __ext4_journal_stop
2025/01/21 01:42 android14-6.1 d12538e9da37 6e87cfa2 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in __ext4_journal_stop
2025/01/08 15:24 android14-6.1 616d7c64fd84 f3558dbf .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in __ext4_journal_stop
2025/01/07 18:15 android14-6.1 66ae563a6598 f3558dbf .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in __ext4_journal_stop
2025/01/07 16:11 android14-6.1 66ae563a6598 f3558dbf .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in __ext4_journal_stop
2025/01/07 10:25 android14-6.1 eeccb2921815 f3558dbf .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in __ext4_journal_stop
2025/01/07 06:07 android14-6.1 eeccb2921815 f3558dbf .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in __ext4_journal_stop
2025/01/07 03:38 android14-6.1 eeccb2921815 f3558dbf .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in __ext4_journal_stop
2023/07/30 10:39 android14-6.1 d3b37a712ab7 92476829 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in __ext4_journal_stop
* Struck through repros no longer work on HEAD.