------------[ cut here ]------------ WARNING: CPU: 1 PID: 7776 at fs/reiserfs/journal.c:3393 journal_end+0x1a4/0x260 Modules linked in: CPU: 1 PID: 7776 Comm: syz.3.824 Not tainted 5.15.163-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : journal_end+0x1a4/0x260 lr : journal_end+0x1a0/0x260 sp : ffff80001dfe7240 x29: ffff80001dfe7240 x28: dfff800000000000 x27: 1ffff00003bfce62 x26: 1fffe00019fbd22d x25: 1ffff00003bfce60 x24: dfff800000000000 x23: 0000000000000000 x22: 0000000000000000 x21: ffff80001dfe7314 x20: ffff0000cfde9168 x19: ffff80001dfe7300 x18: ffff80001dfe6640 x17: 1fffe0003690158e x16: ffff8000088cdca4 x15: 0000000000000006 x14: 1ffff0000292a06a x13: dfff800000000000 x12: 0000000000000006 x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000cfde8000 x8 : ffff800008cf1cb0 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 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x20c4/0x26cc fs/namei.c:3742 do_filp_open+0x1a8/0x3b4 fs/namei.c:3769 do_sys_openat2+0x128/0x3e0 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1280 __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: 362 hardirqs last enabled at (361): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1338 [inline] hardirqs last enabled at (361): [] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:4784 hardirqs last disabled at (362): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (146): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (146): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (137): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (137): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (137): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (137): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace 49962aa60affeb92 ]--- REISERFS warning (device loop3): clm-6006 reiserfs_dirty_inode: writing inode 3 on readonly FS