------------[ cut here ]------------ WARNING: CPU: 0 PID: 4237 at fs/reiserfs/journal.c:3393 journal_end+0x1a4/0x260 Modules linked in: CPU: 0 PID: 4237 Comm: syz.0.22 Not tainted 5.15.166-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : journal_end+0x1a4/0x260 lr : journal_end+0x1a0/0x260 sp : ffff8000203877e0 x29: ffff8000203877e0 x28: dfff800000000000 x27: 1ffff00004070f16 x26: 1fffe0001838022d x25: 1ffff00004070f14 x24: dfff800000000000 x23: 0000000000000000 x22: 0000000000000000 x21: ffff8000203878b4 x20: ffff0000c1c01168 x19: ffff8000203878a0 x18: ffff800020386be0 x17: 0000000000000002 x16: ffff8000088d454c x15: 000000000001cadd x14: 1ffff0000295606a x13: dfff800000000000 x12: 0000000000040000 x11: 000000000003ffff x10: ffff800020bf9000 x9 : 0000000000040000 x8 : ffff800008cf8ea4 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: 26654 hardirqs last enabled at (26653): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1338 [inline] hardirqs last enabled at (26653): [] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:4781 hardirqs last disabled at (26654): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (26578): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (26578): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (26479): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (26479): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (26479): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (26479): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace 3e3740fcc1883977 ]--- REISERFS warning (device loop0): clm-6006 reiserfs_dirty_inode: writing inode 2 on readonly FS