REISERFS panic (device loop0): journal-003 check_journal_end: j_start (3) is too high ------------[ cut here ]------------ kernel BUG at fs/reiserfs/prints.c:390! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 4344 Comm: syz.0.163 Not tainted 5.15.164-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:__reiserfs_panic+0x13a/0x140 fs/reiserfs/prints.c:390 Code: c7 c1 40 64 9b 8a 48 0f 44 c8 48 0f 44 d8 48 c7 c7 00 65 9b 8a 4c 89 fe 48 89 da 4d 89 f0 49 c7 c1 20 d0 58 91 e8 c6 80 23 08 <0f> 0b 0f 1f 40 00 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 RSP: 0018:ffffc900036077e0 EFLAGS: 00010246 RAX: 0000000000000055 RBX: ffffffff8a9bb1e0 RCX: 572df4eced2f5700 RDX: ffffc900038bc000 RSI: 00000000000360de RDI: 00000000000360df RBP: ffffc900036078e0 R08: ffffffff8166892c R09: ffffed10173667a8 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8a9bb200 R13: ffffc90003607800 R14: ffffffff8c1c6019 R15: ffff88807ec626a8 FS: 00007fc7e50526c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020400000 CR3: 000000005fdd5000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: check_journal_end fs/reiserfs/journal.c:3715 [inline] do_journal_end+0x45b2/0x4650 fs/reiserfs/journal.c:4040 journal_end_sync fs/reiserfs/journal.c:3535 [inline] __commit_trans_jl fs/reiserfs/journal.c:3877 [inline] reiserfs_commit_for_inode+0xa69/0xbe0 fs/reiserfs/journal.c:3920 reiserfs_sync_file+0x120/0x270 fs/reiserfs/file.c:159 generic_write_sync include/linux/fs.h:2984 [inline] generic_file_write_iter+0x15e/0x1b0 mm/filemap.c:3948 call_write_iter include/linux/fs.h:2172 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0xacd/0xe50 fs/read_write.c:594 ksys_write+0x1a2/0x2c0 fs/read_write.c:647 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fc7e6bd33b9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc7e5052048 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fc7e6d61f80 RCX: 00007fc7e6bd33b9 RDX: 0000000000032600 RSI: 0000000020000040 RDI: 0000000000000007 RBP: 00007fc7e6c408e6 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fc7e6d61f80 R15: 00007fffca4a17b8 Modules linked in: ---[ end trace c24cbc936cb291be ]--- RIP: 0010:__reiserfs_panic+0x13a/0x140 fs/reiserfs/prints.c:390 Code: c7 c1 40 64 9b 8a 48 0f 44 c8 48 0f 44 d8 48 c7 c7 00 65 9b 8a 4c 89 fe 48 89 da 4d 89 f0 49 c7 c1 20 d0 58 91 e8 c6 80 23 08 <0f> 0b 0f 1f 40 00 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 RSP: 0018:ffffc900036077e0 EFLAGS: 00010246 RAX: 0000000000000055 RBX: ffffffff8a9bb1e0 RCX: 572df4eced2f5700 RDX: ffffc900038bc000 RSI: 00000000000360de RDI: 00000000000360df RBP: ffffc900036078e0 R08: ffffffff8166892c R09: ffffed10173667a8 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8a9bb200 R13: ffffc90003607800 R14: ffffffff8c1c6019 R15: ffff88807ec626a8 FS: 00007fc7e50526c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fee731f7000 CR3: 000000005fdd5000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400