REISERFS panic (device loop0): journal-2332 do_journal_end: Trying to log block 517, which is a log block
------------[ cut here ]------------
kernel BUG at fs/reiserfs/prints.c:390!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 5880 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:__reiserfs_panic+0x13e/0x140 fs/reiserfs/prints.c:390
Code: c7 c1 00 85 bc 8a 48 0f 44 c8 4c 0f 44 f0 48 c7 c7 c0 85 bc 8a 4c 89 fe 4c 89 f2 49 89 d8 49 c7 c1 40 61 fc 96 e8 12 66 ff ff <0f> 0b 66 0f 1f 00 53 48 89 fb e8 63 cb 28 f7 48 c7 c7 40 8e bc 8a
RSP: 0018:ffffc90003307880 EFLAGS: 00010246
RAX: 0000000000000069 RBX: ffffffff8c7adfc9 RCX: bf412c05dedd3a00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc90003307970 R08: ffffc90003307587 R09: 1ffff92000660eb0
R10: dffffc0000000000 R11: fffff52000660eb1 R12: ffffffff8abcd200
R13: ffffc900033078a0 R14: ffffffff8abcd1e0 R15: ffff88802df0c660
FS: 0000555580adf500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555580afa5c8 CR3: 00000000737f0000 CR4: 00000000003506f0
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:1259
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:0x7fdd8cd90a77
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:00007ffde2861df8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007fdd8ce13d7d RCX: 00007fdd8cd90a77
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffde2861eb0
RBP: 00007ffde2861eb0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffde2862f40
R13: 00007fdd8ce13d7d R14: 0000000000019784 R15: 00007ffde2862f80
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__reiserfs_panic+0x13e/0x140 fs/reiserfs/prints.c:390
Code: c7 c1 00 85 bc 8a 48 0f 44 c8 4c 0f 44 f0 48 c7 c7 c0 85 bc 8a 4c 89 fe 4c 89 f2 49 89 d8 49 c7 c1 40 61 fc 96 e8 12 66 ff ff <0f> 0b 66 0f 1f 00 53 48 89 fb e8 63 cb 28 f7 48 c7 c7 40 8e bc 8a
RSP: 0018:ffffc90003307880 EFLAGS: 00010246
RAX: 0000000000000069 RBX: ffffffff8c7adfc9 RCX: bf412c05dedd3a00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc90003307970 R08: ffffc90003307587 R09: 1ffff92000660eb0
R10: dffffc0000000000 R11: fffff52000660eb1 R12: ffffffff8abcd200
R13: ffffc900033078a0 R14: ffffffff8abcd1e0 R15: ffff88802df0c660
FS: 0000555580adf500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555580afa5c8 CR3: 00000000737f0000 CR4: 00000000003506f0