syzbot


kernel BUG in jbd2_cleanup_journal_tail

Status: upstream: reported C repro on 2024/09/17 02:30
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+087b1b3234832ee66463@syzkaller.appspotmail.com
First crash: 10d, last: 10d
Bug presence (1)
Date Name Commit Repro Result
2024/09/17 upstream (ToT) 2f27fce67173 C [report] kernel BUG in jbd2_cleanup_journal_tail
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in jbd2_cleanup_journal_tail ext4 C 11 4h39m 36d 0/28 upstream: reported C repro on 2024/08/23 00:00
linux-5.15 kernel BUG in jbd2_cleanup_journal_tail origin:upstream C 8 8h16m 12d 0/3 upstream: reported C repro on 2024/09/15 23:09

Sample crash report:
(syz-executor257,4294,1):ocfs2_check_volume:2425 ERROR: ocfs2 journal load failed! -5
(syz-executor257,4294,1):ocfs2_check_volume:2481 ERROR: status = -5
(syz-executor257,4294,1):ocfs2_mount_volume:1821 ERROR: status = -5
------------[ cut here ]------------
kernel BUG at fs/jbd2/checkpoint.c:333!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4294 Comm: syz-executor257 Not tainted 6.1.110-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : jbd2_cleanup_journal_tail+0x244/0x248 fs/jbd2/checkpoint.c:333
lr : jbd2_cleanup_journal_tail+0x244/0x248 fs/jbd2/checkpoint.c:333
sp : ffff800020fe69e0
x29: ffff800020fe6a60 x28: 0000000000000000 x27: 1fffe00019d9c400
x26: 1ffff000041fcd42 x25: 1ffff000041fcd40 x24: dfff800000000000
x23: ffff7000041fcd3c x22: 0000000000000000 x21: ffff800020fe6a00
x20: ffff800020fe6a10 x19: ffff0000cece2000 x18: ffff800020fe6680
x17: ffff800018aa4000 x16: ffff80000825fff8 x15: ffff800018589f80
x14: ffff0000c8ad0a78 x13: dfff800000000000 x12: 0000000000000001
x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff800008fb7d44
x8 : ffff0000c8ad0000 x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000020 x4 : 0000000000000000 x3 : ffff80000831e8c8
x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 jbd2_cleanup_journal_tail+0x244/0x248 fs/jbd2/checkpoint.c:333
 jbd2_journal_flush+0x2ac/0xb2c fs/jbd2/journal.c:2489
 ocfs2_journal_shutdown+0x3dc/0xc8c fs/ocfs2/journal.c:1048
 ocfs2_mount_volume+0x12d8/0x1508 fs/ocfs2/super.c:1842
 ocfs2_fill_super+0x3adc/0x4a0c fs/ocfs2/super.c:1082
 mount_bdev+0x274/0x370 fs/super.c:1443
 ocfs2_mount+0x44/0x58 fs/ocfs2/super.c:1186
 legacy_get_tree+0xd4/0x16c fs/fs_context.c:632
 vfs_get_tree+0x90/0x274 fs/super.c:1573
 do_new_mount+0x278/0x8fc fs/namespace.c:3051
 path_mount+0x590/0xe5c fs/namespace.c:3381
 do_mount fs/namespace.c:3394 [inline]
 __do_sys_mount fs/namespace.c:3602 [inline]
 __se_sys_mount fs/namespace.c:3579 [inline]
 __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3579
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140
 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
Code: 97e71db7 17ffffd7 95bdc335 97d50d2b (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/17 15:50 linux-6.1.y 5f55cad62cc9 c673ca06 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 kernel BUG in jbd2_cleanup_journal_tail
2024/09/17 06:16 linux-6.1.y 5f55cad62cc9 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in jbd2_cleanup_journal_tail
2024/09/17 06:16 linux-6.1.y 5f55cad62cc9 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in jbd2_cleanup_journal_tail
2024/09/17 02:30 linux-6.1.y 5f55cad62cc9 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in jbd2_cleanup_journal_tail
2024/09/17 02:29 linux-6.1.y 5f55cad62cc9 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in jbd2_cleanup_journal_tail
* Struck through repros no longer work on HEAD.