------------[ cut here ]------------ WARNING: CPU: 0 PID: 4281 at fs/reiserfs/journal.c:3393 journal_end+0x1a4/0x260 Modules linked in: CPU: 0 PID: 4281 Comm: syz.4.50 Not tainted 5.15.165-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : journal_end+0x1a4/0x260 lr : journal_end+0x1a0/0x260 sp : ffff8000204c77e0 x29: ffff8000204c77e0 x28: dfff800000000000 x27: 1ffff00004098f16 x26: 1fffe00019b58595 x25: 1ffff00004098f14 x24: dfff800000000000 x23: 0000000000000000 x22: 0000000000000000 x21: ffff8000204c78b4 x20: ffff0000cdac2ca8 x19: ffff8000204c78a0 x18: 0000000000000000 x17: 0000000000000002 x16: ffff8000088d487c x15: 000000000000a000 x14: 1ffff0000295606a x13: dfff800000000000 x12: 0000000000040000 x11: 000000000003ffff x10: ffff80002262a000 x9 : 0000000000040000 x8 : ffff800008cf8ad4 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000008 x3 : 0000000000000020 x2 : 0000000000000008 x1 : 0000000000000000 x0 : 00000000fffffffb Call trace: journal_end+0x1a4/0x260 reiserfs_truncate_file+0x3b8/0x6f0 fs/reiserfs/inode.c:2319 reiserfs_setattr+0x8e8/0xd94 fs/reiserfs/inode.c:3409 notify_change+0xa34/0xcf8 fs/attr.c:505 do_truncate+0x1c0/0x28c fs/open.c:65 do_sys_ftruncate+0x288/0x31c fs/open.c:193 __do_sys_ftruncate fs/open.c:204 [inline] __se_sys_ftruncate fs/open.c:202 [inline] __arm64_sys_ftruncate+0x60/0x74 fs/open.c:202 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 3370 hardirqs last enabled at (3369): [] lookup_bh_lru fs/buffer.c:1294 [inline] hardirqs last enabled at (3369): [] __find_get_block+0x1d0/0xdd4 fs/buffer.c:1306 hardirqs last disabled at (3370): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (3346): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (3346): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (3303): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (3303): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (3303): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (3303): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace d996ddf13efc6366 ]--- REISERFS warning (device loop4): clm-6006 reiserfs_dirty_inode: writing inode 2 on readonly FS