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: 19053 Comm: syz-executor.0 Not tainted 6.7.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:__reiserfs_panic+0x140/0x150 fs/reiserfs/prints.c:390 Code: c1 e0 5f 7c 8b 48 0f 44 c8 48 0f 44 d8 48 c7 c7 a0 60 7c 8b 4c 89 fe 48 89 da 4d 89 f0 49 c7 c1 a0 93 6f 92 e8 81 44 df 08 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 f3 0f 1e fa 55 48 RSP: 0018:ffffc900154af740 EFLAGS: 00010246 RAX: 0000000000000069 RBX: ffffffff8b7cabe0 RCX: 1e1ed5b33c7ac000 RDX: ffffc90003d79000 RSI: 0000000000016ead RDI: 0000000000016eae RBP: ffffc900154af830 R08: ffffffff8171373c R09: 1ffff92002a95e88 R10: dffffc0000000000 R11: fffff52002a95e89 R12: ffffffff8b7cac00 R13: ffffc900154af760 R14: ffffffff8d13fc12 R15: ffff888029e48660 FS: 00007f2200a7f6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff1dd5ad78 CR3: 0000000026f9e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_journal_end+0x49cd/0x4b40 fs/reiserfs/journal.c:4150 __commit_trans_jl fs/reiserfs/journal.c:3878 [inline] reiserfs_commit_for_inode+0x7fa/0x9e0 fs/reiserfs/journal.c:3921 reiserfs_sync_file+0x124/0x270 fs/reiserfs/file.c:159 generic_write_sync include/linux/fs.h:2653 [inline] generic_file_write_iter+0x2a1/0x310 mm/filemap.c:4052 call_write_iter include/linux/fs.h:2020 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x792/0xb20 fs/read_write.c:584 ksys_write+0x1a0/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f21ffc7cd29 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:00007f2200a7f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f21ffdabf80 RCX: 00007f21ffc7cd29 RDX: 000000000000fdef RSI: 0000000020000080 RDI: 000000000000000b RBP: 00007f21ffcc947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f21ffdabf80 R15: 00007ffef1342598 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__reiserfs_panic+0x140/0x150 fs/reiserfs/prints.c:390 Code: c1 e0 5f 7c 8b 48 0f 44 c8 48 0f 44 d8 48 c7 c7 a0 60 7c 8b 4c 89 fe 48 89 da 4d 89 f0 49 c7 c1 a0 93 6f 92 e8 81 44 df 08 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 f3 0f 1e fa 55 48 RSP: 0018:ffffc900154af740 EFLAGS: 00010246 RAX: 0000000000000069 RBX: ffffffff8b7cabe0 RCX: 1e1ed5b33c7ac000 RDX: ffffc90003d79000 RSI: 0000000000016ead RDI: 0000000000016eae RBP: ffffc900154af830 R08: ffffffff8171373c R09: 1ffff92002a95e88 R10: dffffc0000000000 R11: fffff52002a95e89 R12: ffffffff8b7cac00 R13: ffffc900154af760 R14: ffffffff8d13fc12 R15: ffff888029e48660 FS: 00007f2200a7f6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe42e57b000 CR3: 0000000026f9e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400