REISERFS panic (device loop1): 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: 28657 Comm: syz-executor.1 Not tainted 6.7.0-rc1-syzkaller-00304-g23dfa043f6d5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:__reiserfs_panic+0x101/0x150 fs/reiserfs/prints.c:390 Code: ff 4d 89 e8 4c 89 f1 4c 89 e2 48 8d b3 60 06 00 00 49 c7 c1 20 f4 8c 92 48 c7 c7 00 e0 e2 8a e8 85 64 42 ff e8 30 8b 5f ff 90 <0f> 0b 49 c7 c6 a0 de e2 8a 4d 89 f4 eb c4 e8 1c 8b 5f ff 4d 85 e4 RSP: 0018:ffffc900032e7898 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff88807d6c6000 RCX: ffffc900049f1000 RDX: 0000000000040000 RSI: ffffffff822805c0 RDI: 0000000000000005 RBP: ffffc900032e7968 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffffffff8ae34520 R13: ffffffff8ae34d40 R14: ffffffff8ae2de60 R15: 0000000000000213 FS: 00007f2355bb56c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31d21000 CR3: 0000000077452000 CR4: 0000000000350ef0 Call Trace: do_journal_end+0x4283/0x4f30 fs/reiserfs/journal.c:4150 __commit_trans_jl fs/reiserfs/journal.c:3878 [inline] reiserfs_commit_for_inode+0x91d/0xb10 fs/reiserfs/journal.c:3921 reiserfs_sync_file+0x14e/0x320 fs/reiserfs/file.c:159 vfs_fsync_range+0x141/0x220 fs/sync.c:188 generic_write_sync include/linux/fs.h:2653 [inline] generic_file_write_iter+0x2a8/0x350 mm/filemap.c:4043 call_write_iter include/linux/fs.h:2020 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x64f/0xdf0 fs/read_write.c:584 ksys_write+0x12f/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f2354e7cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2355bb50c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f2354f9bf80 RCX: 00007f2354e7cae9 RDX: 000000000000ffe6 RSI: 0000000020000040 RDI: 0000000000000005 RBP: 00007f2354ec847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2354f9bf80 R15: 00007ffe8331a108 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__reiserfs_panic+0x101/0x150 fs/reiserfs/prints.c:390 Code: ff 4d 89 e8 4c 89 f1 4c 89 e2 48 8d b3 60 06 00 00 49 c7 c1 20 f4 8c 92 48 c7 c7 00 e0 e2 8a e8 85 64 42 ff e8 30 8b 5f ff 90 <0f> 0b 49 c7 c6 a0 de e2 8a 4d 89 f4 eb c4 e8 1c 8b 5f ff 4d 85 e4 RSP: 0018:ffffc900032e7898 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff88807d6c6000 RCX: ffffc900049f1000 RDX: 0000000000040000 RSI: ffffffff822805c0 RDI: 0000000000000005 RBP: ffffc900032e7968 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffffffff8ae34520 R13: ffffffff8ae34d40 R14: ffffffff8ae2de60 R15: 0000000000000213 FS: 00007f2355bb56c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32127000 CR3: 0000000077452000 CR4: 0000000000350ef0