------------[ cut here ]------------ WARNING: CPU: 1 PID: 7921 at fs/reiserfs/journal.c:3393 journal_end+0x1f7/0x2b0 Modules linked in: CPU: 0 PID: 7921 Comm: syz-executor.3 Not tainted 5.15.134-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:journal_end+0x1f7/0x2b0 fs/reiserfs/journal.c:3393 Code: 6f ad 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 19 f9 6e ff <0f> 0b b8 fb ff ff ff eb 24 e8 0b f9 6e ff 4c 89 f7 31 f6 48 83 c4 RSP: 0018:ffffc90004bcf278 EFLAGS: 00010246 RAX: ffffffff821128c7 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc900063b3000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90004bcf354 R08: ffffffff821127da R09: ffffc90004bcf348 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807e67cdf8 R13: 1ffff92000979e6a R14: ffffc90004bcf340 R15: 1ffff1100fccf9bf FS: 00007fabf2f536c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdfe60ae198 CR3: 0000000071ffe000 CR4: 00000000003506f0 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_truncate_failed_write fs/reiserfs/inode.c:2751 [inline] reiserfs_write_begin+0x622/0x810 fs/reiserfs/inode.c:2823 generic_perform_write+0x2bf/0x5b0 mm/filemap.c:3776 __generic_file_write_iter+0x243/0x4f0 mm/filemap.c:3903 generic_file_write_iter+0xa7/0x1b0 mm/filemap.c:3935 do_iter_readv_writev+0x594/0x7a0 do_iter_write+0x1ea/0x760 fs/read_write.c:855 iter_file_splice_write+0x806/0xfa0 fs/splice.c:689 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0xe3/0x1c0 fs/splice.c:936 splice_direct_to_actor+0x500/0xc10 fs/splice.c:891 do_splice_direct+0x285/0x3d0 fs/splice.c:979 do_sendfile+0x625/0xff0 fs/read_write.c:1249 __do_sys_sendfile64 fs/read_write.c:1317 [inline] __se_sys_sendfile64+0x178/0x1e0 fs/read_write.c:1303 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fabf49d1ae9 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:00007fabf2f530c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fabf4af0f80 RCX: 00007fabf49d1ae9 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007fabf4a1d47a R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fabf4af0f80 R15: 00007ffd6b04f918