syzbot


kernel BUG in __ext4_journal_stop

Status: upstream: reported C repro on 2022/11/27 03:57
Bug presence: origin:upstream
Subsystems: ext4
[Documentation on labels]
Reported-by: syzbot+4aa1947d48b60f72a9af@syzkaller.appspotmail.com
First crash: 502d, last: 27d
Cause bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2023/05/04 lts (merge base) d86dfc4d95cd C [report] kernel BUG in __ext4_journal_stop
2023/05/04 upstream (ToT) fa31fc82fb77 C [report] kernel BUG in __ext4_journal_stop
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 kernel BUG in __ext4_journal_stop origin:upstream C 2 18d 382d 0/3 upstream: reported C repro on 2023/03/26 14:44
upstream kernel BUG in __ext4_journal_stop ext4 C error done 18 20d 501d 0/26 upstream: reported C repro on 2022/11/28 10:23
linux-6.1 kernel BUG in __ext4_journal_stop origin:upstream C 1 32d 270d 0/3 upstream: reported C repro on 2023/07/17 08:36
android-6-1 kernel BUG in __ext4_journal_stop origin:upstream C error 2 8d06h 314d 0/2 upstream: reported C repro on 2023/06/03 10:54
Last patch testing requests (7)
Created Duration User Patch Repo Result
2024/04/03 07:59 6m retest repro android13-5.15-lts report log
2024/03/30 01:17 1h59m retest repro android13-5.15-lts report log
2024/01/24 07:24 6m retest repro android13-5.15-lts report log
2024/01/10 06:37 30m retest repro android13-5.15-lts report log
2022/12/14 10:23 7m jun.nie@linaro.org patch android13-5.15-lts report log
2022/12/09 15:27 10m tudor.ambarus@linaro.org git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git linux-5.15.y report log
2022/12/09 15:26 7m tudor.ambarus@linaro.org upstream report log
Fix bisection attempts (9)
Created Duration User Patch Repo Result
2024/03/15 20:37 2h21m bisect fix android13-5.15-lts job log (0) log
2024/02/10 17:13 1h25m bisect fix android13-5.15-lts job log (0) log
2023/12/18 11:02 1h26m bisect fix android13-5.15-lts job log (0) log
2023/11/18 07:07 1h17m bisect fix android13-5.15-lts job log (0) log
2023/10/18 03:08 1h27m bisect fix android13-5.15-lts job log (0) log
2023/07/06 14:49 1h18m bisect fix android13-5.15-lts job log (0) log
2023/05/12 14:57 28m bisect fix android13-5.15-lts job log (0) log
2023/04/11 08:03 30m bisect fix android13-5.15-lts job log (0) log
2023/01/31 05:53 17m bisect fix android13-5.15-lts job log (0) log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/ext4_jbd2.c:53!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 422 Comm: syz-executor211 Not tainted 5.15.94-syzkaller-03204-g5448b2fda85f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:ext4_put_nojournal fs/ext4/ext4_jbd2.c:53 [inline]
RIP: 0010:__ext4_journal_stop+0x1b3/0x1c0 fs/ext4/ext4_jbd2.c:116
Code: c3 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c f8 fe ff ff e8 21 69 d2 ff 48 ba 00 00 00 00 00 fc ff df e9 e4 fe ff ff e8 5d 2f 91 ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 55 48 89 e5 41 57 41 56 41
RSP: 0018:ffffc90000c876d8 EFLAGS: 00010293
RAX: ffffffff81de4263 RBX: ffffffff85d58583 RCX: ffff888118243b40
RDX: 0000000000000000 RSI: 0000000000000331 RDI: ffffffff85d58583
RBP: ffffc90000c87710 R08: ffffffff81e3d17c R09: ffffed10238af1c6
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000000012 R15: 0000000000000331
FS:  00007f9da07e7700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9d984c6718 CR3: 000000010cccc000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ext4_write_inline_data_end+0xa79/0xe30 fs/ext4/inline.c:817
 ext4_da_write_end+0x1d7/0xa20 fs/ext4/inode.c:3090
 generic_perform_write+0x3b4/0x5a0 mm/filemap.c:3841
 ext4_buffered_write_iter+0x49c/0x630 fs/ext4/file.c:271
 ext4_file_write_iter+0x443/0x1cc0
 call_write_iter include/linux/fs.h:2157 [inline]
 new_sync_write fs/read_write.c:507 [inline]
 vfs_write+0xd8a/0x1160 fs/read_write.c:594
 ksys_write+0x199/0x2c0 fs/read_write.c:647
 __do_sys_write fs/read_write.c:659 [inline]
 __se_sys_write fs/read_write.c:656 [inline]
 __x64_sys_write+0x7b/0x90 fs/read_write.c:656
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f9da083b579
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 71 15 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f9da07e72f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f9da08c07a0 RCX: 00007f9da083b579
RDX: 0000000000000009 RSI: 0000000020000f80 RDI: 0000000000000004
RBP: 00007f9da088d82c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9da088d0c0
R13: 0000000020000fc0 R14: 0030656c69662f2e R15: 00007f9da08c07a8
 </TASK>
Modules linked in:
---[ end trace 3cd22b257ff0e43d ]---
RIP: 0010:ext4_put_nojournal fs/ext4/ext4_jbd2.c:53 [inline]
RIP: 0010:__ext4_journal_stop+0x1b3/0x1c0 fs/ext4/ext4_jbd2.c:116
Code: c3 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c f8 fe ff ff e8 21 69 d2 ff 48 ba 00 00 00 00 00 fc ff df e9 e4 fe ff ff e8 5d 2f 91 ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 55 48 89 e5 41 57 41 56 41
RSP: 0018:ffffc90000c876d8 EFLAGS: 00010293
RAX: ffffffff81de4263 RBX: ffffffff85d58583 RCX: ffff888118243b40
RDX: 0000000000000000 RSI: 0000000000000331 RDI: ffffffff85d58583
RBP: ffffc90000c87710 R08: ffffffff81e3d17c R09: ffffed10238af1c6
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000000012 R15: 0000000000000331
FS:  00007f9da07e7700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9d984c6718 CR3: 000000010cccc000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/03/12 07:59 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_journal_stop
2022/11/27 03:55 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_journal_stop
2023/06/03 11:24 android13-5.15-lts 19c0ed55a470 a4ae4f42 .config strace log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in __ext4_journal_stop
2023/02/21 18:32 android13-5.15-lts 5448b2fda85f f949448d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in __ext4_journal_stop
2023/02/01 11:18 android13-5.15-lts 50e12445ab3c 9a6f477c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in __ext4_journal_stop
2022/12/19 06:55 android13-5.15-lts c73b4619ad86 05494336 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in __ext4_journal_stop
2022/11/28 07:55 android13-5.15-lts 4ec71a9ec769 f4470a7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in __ext4_journal_stop
* Struck through repros no longer work on HEAD.