------------[ cut here ]------------ WARNING: CPU: 0 PID: 12119 at fs/reiserfs/journal.c:3394 journal_end+0x1a4/0x260 Modules linked in: CPU: 0 PID: 12119 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 : ffff8000984c7280 x29: ffff8000984c7280 x28: dfff800000000000 x27: 1ffff00013098e6a x26: 1fffe000195079bc x25: 1ffff00013098e68 x24: dfff800000000000 x23: ffff8000984c7340 x22: 0000000000000000 x21: ffff8000984c7354 x20: ffff0000ca83cde0 x19: ffff8000984c7340 x18: ffff8000984c6ac0 x17: 000000000003cb85 x16: ffff80008a77ce00 x15: 0000000000000006 x14: 1ffff00013098e69 x13: 0000000000000000 x12: 0000000000000000 x11: ffff700013098e6f x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000ca83bc00 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: 262 hardirqs last enabled at (261): [] lookup_bh_lru fs/buffer.c:1385 [inline] hardirqs last enabled at (261): [] __find_get_block+0x1c0/0xda0 fs/buffer.c:1397 hardirqs last disabled at (262): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:436 softirqs last enabled at (234): [] softirq_handle_end kernel/softirq.c:399 [inline] softirqs last enabled at (234): [] __do_softirq+0xac8/0xce4 kernel/softirq.c:582 softirqs last disabled at (219): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:81 ---[ end trace 0000000000000000 ]--- REISERFS warning (device loop2): clm-6006 reiserfs_dirty_inode: writing inode 3 on readonly FS