REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[2 4 0(1) DIR], item_len 35, item_location 353, free_space(entry_count) 2 REISERFS error (device loop2): vs-5150 search_by_key: invalid format found in block 547. Fsck? REISERFS (device loop2): Remounting filesystem read-only REISERFS error (device loop2): vs-2100 add_save_link: search_by_key ([-1 2 0x1 IND]) returned -2 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 8127 at fs/reiserfs/journal.c:3393 journal_end+0x1f7/0x2b0 Modules linked in: CPU: 0 PID: 8127 Comm: syz-executor.2 Not tainted 5.15.158-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:journal_end+0x1f7/0x2b0 fs/reiserfs/journal.c:3393 Code: 1f 3c b8 ff 48 b8 00 00 00 00 00 fc ff df 41 0f b6 44 05 00 84 c0 0f 85 a1 00 00 00 c7 45 00 00 00 00 00 eb 30 e8 89 61 6e ff <0f> 0b b8 fb ff ff ff eb 24 e8 7b 61 6e ff 4c 89 f7 31 f6 48 83 c4 RSP: 0018:ffffc900035e7998 EFLAGS: 00010246 RAX: ffffffff8211fb37 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000e601000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc900035e7a74 R08: ffffffff8211fa4a R09: ffffc900035e7a68 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801e0fb038 R13: 1ffff920006bcf4e R14: ffffc900035e7a60 R15: 1ffff11003c1f607 FS: 00007f76a20ec6c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f424000 CR3: 0000000077be0000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: reiserfs_truncate_file+0x643/0xda0 fs/reiserfs/inode.c:2319 reiserfs_vfs_truncate_file+0x29/0x40 fs/reiserfs/file.c:133 reiserfs_direct_IO+0x1e0/0x200 fs/reiserfs/inode.c:3276 generic_file_direct_write+0x204/0x460 mm/filemap.c:3687 __generic_file_write_iter+0x2a2/0x4f0 mm/filemap.c:3869 generic_file_write_iter+0xa7/0x1b0 mm/filemap.c:3944 call_write_iter include/linux/fs.h:2172 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0xacf/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:0x7f76a3b79ca9 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:00007f76a20ec0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f76a3ca7f80 RCX: 00007f76a3b79ca9 RDX: 0000000000248800 RSI: 0000000020000000 RDI: 0000000000000005 RBP: 00007f76a3bc547e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f76a3ca7f80 R15: 00007ffd9fcfb558