------------[ cut here ]------------ WARNING: CPU: 0 PID: 6308 at fs/reiserfs/journal.c:3394 journal_end+0x1a4/0x260 Modules linked in: CPU: 0 PID: 6308 Comm: syz-executor.5 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 : ffff800097877280 x29: ffff800097877280 x28: dfff800000000000 x27: 1ffff00012f0ee6a x26: 1fffe0001ab619bc x25: 1ffff00012f0ee68 x24: dfff800000000000 x23: ffff800097877340 x22: 0000000000000000 x21: ffff800097877354 x20: ffff0000d5b0cde0 x19: ffff800097877340 x18: 1fffe000368261ce x17: ffff80008e4ed000 x16: ffff80008a77ce00 x15: 0000000000000006 x14: 1ffff00012f0ee69 x13: 0000000000000000 x12: 0000000000000000 x11: ffff700012f0ee6f x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d5b0bc00 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 handle_truncate fs/namei.c:3280 [inline] do_open fs/namei.c:3626 [inline] path_openat+0x2170/0x2888 fs/namei.c:3779 do_filp_open+0x1bc/0x3cc fs/namei.c:3809 do_sys_openat2+0x124/0x1b8 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_openat fs/open.c:1468 [inline] __se_sys_openat fs/open.c:1463 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1463 __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: 21636 hardirqs last enabled at (21635): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1361 [inline] hardirqs last enabled at (21635): [] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:5130 hardirqs last disabled at (21636): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:436 softirqs last enabled at (21630): [] softirq_handle_end kernel/softirq.c:399 [inline] softirqs last enabled at (21630): [] __do_softirq+0xac8/0xce4 kernel/softirq.c:582 softirqs last disabled at (21617): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:81 ---[ end trace 0000000000000000 ]--- REISERFS warning (device loop5): clm-6006 reiserfs_dirty_inode: writing inode 2 on readonly FS