REISERFS (device loop0): Using r5 hash to sort names
REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage.
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: 0 PID: 5037 Comm: syz-executor368 Not tainted 6.5.0-rc4-next-20230804-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
RIP: 0010:__reiserfs_panic+0x100/0x150 fs/reiserfs/prints.c:390
Code: 61 ff 4d 89 e8 4c 89 f1 4c 89 e2 48 8d b3 58 06 00 00 49 c7 c1 e0 86 16 92 48 c7 c7 c0 53 82 8a e8 95 b6 44 ff e8 10 7e 61 ff <0f> 0b 49 c7 c6 60 52 82 8a 4d 89 f4 eb c5 e8 fd 7d 61 ff 4d 85 e4
RSP: 0018:ffffc9000399f920 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff888019efa000 RCX: 0000000000000000
RDX: ffff88802285bb80 RSI: ffffffff82254490 RDI: 0000000000000005
RBP: ffffc9000399f9f0 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000001 R12: ffffffff8a82b8e0
R13: ffffffff8a82c100 R14: ffffffff8a825220 R15: 0000000000000213
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe9caeafd8 CR3: 000000000c776000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 do_journal_end+0x40da/0x4c80 fs/reiserfs/journal.c:4156
 reiserfs_sync_fs+0x10e/0x140 fs/reiserfs/super.c:78
 sync_filesystem fs/sync.c:56 [inline]
 sync_filesystem+0x109/0x280 fs/sync.c:30
 generic_shutdown_super+0x74/0x480 fs/super.c:472
 kill_block_super+0x3b/0xc0 fs/super.c:1418
 deactivate_locked_super+0x9a/0x170 fs/super.c:330
 deactivate_super+0xde/0x100 fs/super.c:361
 cleanup_mnt+0x222/0x3d0 fs/namespace.c:1254
 task_work_run+0x14d/0x240 kernel/task_work.c:179
 exit_task_work include/linux/task_work.h:38 [inline]
 do_exit+0xa99/0x2a20 kernel/exit.c:876
 do_group_exit+0xd4/0x2a0 kernel/exit.c:1026
 __do_sys_exit_group kernel/exit.c:1037 [inline]
 __se_sys_exit_group kernel/exit.c:1035 [inline]
 __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1035
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f85bf597749
Code: Unable to access opcode bytes at 0x7f85bf59771f.
RSP: 002b:00007fff645b3a98 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f85bf597749
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001
RBP: 00007f85bf6142b0 R08: ffffffffffffffb8 R09: 00000000000010ef
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f85bf6142b0
R13: 0000000000000000 R14: 00007f85bf615020 R15: 00007f85bf565c80
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__reiserfs_panic+0x100/0x150 fs/reiserfs/prints.c:390
Code: 61 ff 4d 89 e8 4c 89 f1 4c 89 e2 48 8d b3 58 06 00 00 49 c7 c1 e0 86 16 92 48 c7 c7 c0 53 82 8a e8 95 b6 44 ff e8 10 7e 61 ff <0f> 0b 49 c7 c6 60 52 82 8a 4d 89 f4 eb c5 e8 fd 7d 61 ff 4d 85 e4
RSP: 0018:ffffc9000399f920 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff888019efa000 RCX: 0000000000000000
RDX: ffff88802285bb80 RSI: ffffffff82254490 RDI: 0000000000000005
RBP: ffffc9000399f9f0 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000001 R12: ffffffff8a82b8e0
R13: ffffffff8a82c100 R14: ffffffff8a825220 R15: 0000000000000213
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe9caeafd8 CR3: 000000000c776000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400