------------[ cut here ]------------ WARNING: CPU: 1 PID: 13655 at fs/reiserfs/journal.c:3394 journal_end+0x1a4/0x260 Modules linked in: CPU: 1 PID: 13655 Comm: syz-executor.2 Not tainted 6.7.0-rc8-syzkaller-g0802e17d9aca #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : journal_end+0x1a4/0x260 lr : journal_end+0x1a0/0x260 sp : ffff8000977c7800 x29: ffff8000977c7800 x28: dfff800000000000 x27: 1ffff00012ef8f1a x26: 1fffe0001a20b9bc x25: 1ffff00012ef8f18 x24: dfff800000000000 x23: ffff8000977c78c0 x22: 0000000000000000 x21: ffff8000977c78d4 x20: ffff0000d105cde0 x19: ffff8000977c78c0 x18: 1fffe0003682a5ce x17: ffff80008e4ed000 x16: ffff80008a77ce00 x15: 0000000000000006 x14: 1ffff00012ef8f19 x13: 0000000000000000 x12: 0000000000000000 x11: ffff700012ef8f1f x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d105bc00 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+0x51c/0xb18 fs/reiserfs/inode.c:2303 reiserfs_setattr+0xa14/0xedc fs/reiserfs/inode.c:3388 notify_change+0x9d4/0xc8c fs/attr.c:499 do_truncate+0x1c0/0x28c fs/open.c:66 do_sys_ftruncate+0x284/0x318 fs/open.c:194 __do_sys_ftruncate fs/open.c:205 [inline] __se_sys_ftruncate fs/open.c:203 [inline] __arm64_sys_ftruncate+0x60/0x74 fs/open.c:203 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 irq event stamp: 23466 hardirqs last enabled at (23465): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1361 [inline] hardirqs last enabled at (23465): [] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:5130 hardirqs last disabled at (23466): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:436 softirqs last enabled at (23128): [] softirq_handle_end kernel/softirq.c:399 [inline] softirqs last enabled at (23128): [] __do_softirq+0xac8/0xce4 kernel/softirq.c:582 softirqs last disabled at (23119): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:81 ---[ end trace 0000000000000000 ]--- REISERFS warning (device loop2): clm-6006 reiserfs_dirty_inode: writing inode 2 on readonly FS