syzbot


kernel BUG in do_journal_end

Status: upstream: reported C repro on 2025/09/17 00:42
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+374747cc9408d4e3981b@syzkaller.appspotmail.com
First crash: 26d, last: 22d
Bug presence (2)
Date Name Commit Repro Result
2025/09/20 linux-6.6.y (ToT) af1544b5d072 C [report] kernel BUG in do_journal_end
2025/09/20 upstream (ToT) 3b08f56fbbb9 C Didn't crash
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 kernel BUG at fs/reiserfs/journal.c:LINE! reiserfs fat -1 C 79 966d 1849d 0/1 upstream: reported C repro on 2020/09/19 12:55
linux-6.1 kernel BUG in do_journal_end origin:upstream missing-backport -1 C done 1891 14d 921d 0/3 upstream: reported C repro on 2023/04/05 08:02
upstream kernel BUG at fs/reiserfs/journal.c:LINE! fs -1 C done done 1718 634d 2752d 0/29 auto-obsoleted due to no activity on 2024/07/03 05:26
linux-4.19 kernel BUG at fs/reiserfs/journal.c:LINE! reiserfs -1 C error 139 961d 1848d 0/1 upstream: reported C repro on 2020/09/21 00:32
linux-5.15 kernel BUG in do_journal_end missing-backport origin:upstream -1 C done 858 8d00h 921d 0/3 upstream: reported C repro on 2023/04/05 17:11

Sample crash report:
REISERFS panic (device loop0): journal-2332 do_journal_end: Trying to log block 531, which is a log block
------------[ cut here ]------------
kernel BUG at fs/reiserfs/prints.c:390!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 5904 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:__reiserfs_panic+0x13e/0x140 fs/reiserfs/prints.c:390
Code: c7 c1 40 90 bc 8a 48 0f 44 c8 4c 0f 44 f0 48 c7 c7 00 91 bc 8a 4c 89 fe 4c 89 f2 49 89 d8 49 c7 c1 c0 90 fd 96 e8 12 66 ff ff <0f> 0b 66 0f 1f 00 53 48 89 fb e8 03 2b 22 f7 48 c7 c7 80 99 bc 8a
RSP: 0000:ffffc900037a7880 EFLAGS: 00010246
RAX: 0000000000000069 RBX: ffffffff8c7b8419 RCX: aaeed1a9f4351300
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc900037a7970 R08: ffffc900037a7587 R09: 1ffff920006f4eb0
R10: dffffc0000000000 R11: fffff520006f4eb1 R12: ffffffff8abcdd40
R13: ffffc900037a78a0 R14: ffffffff8abcdd20 R15: ffff888076f10660
FS:  0000555594da8500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0042c4c28 CR3: 0000000025060000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 do_journal_end+0x3f66/0x4860 fs/reiserfs/journal.c:4156
 reiserfs_sync_fs+0xd0/0x150 fs/reiserfs/super.c:78
 sync_filesystem+0xea/0x220 fs/sync.c:56
 generic_shutdown_super+0x6f/0x2b0 fs/super.c:666
 kill_block_super+0x44/0x90 fs/super.c:1660
 deactivate_locked_super+0x97/0x100 fs/super.c:481
 cleanup_mnt+0x429/0x4c0 fs/namespace.c:1250
 task_work_run+0x1ce/0x250 kernel/task_work.c:239
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177
 exit_to_user_mode_prepare+0xf6/0x180 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
 syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302
 do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fb6bbf8fed7
Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007fff07a98068 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007fb6bc011c05 RCX: 00007fb6bbf8fed7
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff07a98120
RBP: 00007fff07a98120 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fff07a991b0
R13: 00007fb6bc011c05 R14: 000000000001755f R15: 00007fff07a991f0
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__reiserfs_panic+0x13e/0x140 fs/reiserfs/prints.c:390
Code: c7 c1 40 90 bc 8a 48 0f 44 c8 4c 0f 44 f0 48 c7 c7 00 91 bc 8a 4c 89 fe 4c 89 f2 49 89 d8 49 c7 c1 c0 90 fd 96 e8 12 66 ff ff <0f> 0b 66 0f 1f 00 53 48 89 fb e8 03 2b 22 f7 48 c7 c7 80 99 bc 8a
RSP: 0000:ffffc900037a7880 EFLAGS: 00010246
RAX: 0000000000000069 RBX: ffffffff8c7b8419 RCX: aaeed1a9f4351300
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc900037a7970 R08: ffffc900037a7587 R09: 1ffff920006f4eb0
R10: dffffc0000000000 R11: fffff520006f4eb1 R12: ffffffff8abcdd40
R13: ffffc900037a78a0 R14: ffffffff8abcdd20 R15: ffff888076f10660
FS:  0000555594da8500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdd9f548000 CR3: 0000000025060000 CR4: 00000000003506f0

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/17 08:29 linux-6.6.y 60a9e718726f e2beed91 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-6-kasan kernel BUG in do_journal_end
2025/09/17 05:42 linux-6.6.y 60a9e718726f e2beed91 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-6-kasan kernel BUG in do_journal_end
2025/09/17 03:56 linux-6.6.y 60a9e718726f e2beed91 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-6-kasan kernel BUG in do_journal_end
2025/09/17 01:58 linux-6.6.y 60a9e718726f e2beed91 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-6-kasan kernel BUG in do_journal_end
2025/09/17 00:41 linux-6.6.y 60a9e718726f e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in do_journal_end
* Struck through repros no longer work on HEAD.