reiserfs: enabling write barrier flush mode
REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage.
================================================================================
UBSAN: array-index-out-of-bounds in fs/reiserfs/journal.c:4168:5
index 1 is out of range for type '__le32[1]' (aka 'unsigned int[1]')
CPU: 0 PID: 6008 Comm: syz-executor409 Not tainted 6.6.0-rc3-syzkaller-g2e530aeb342b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
Call trace:
 dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:233
 show_stack+0x2c/0x44 arch/arm64/kernel/stacktrace.c:240
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106
 dump_stack+0x1c/0x28 lib/dump_stack.c:113
 ubsan_epilogue lib/ubsan.c:217 [inline]
 __ubsan_handle_out_of_bounds+0xfc/0x148 lib/ubsan.c:348
 do_journal_end+0x1e64/0x3d0c fs/reiserfs/journal.c:4168
 journal_end_sync+0x164/0x1d0 fs/reiserfs/journal.c:3542
 reiserfs_sync_fs+0xd4/0x150 fs/reiserfs/super.c:78
 sync_filesystem+0xe8/0x218 fs/sync.c:56
 generic_shutdown_super+0x70/0x2b8 fs/super.c:666
 kill_block_super+0x40/0x74 fs/super.c:1646
 reiserfs_kill_sb+0x134/0x14c fs/reiserfs/super.c:570
 deactivate_locked_super+0xac/0x12c fs/super.c:481
 deactivate_super+0xe0/0x100 fs/super.c:514
 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1254
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1261
 task_work_run+0x230/0x2e0 kernel/task_work.c:180
 exit_task_work include/linux/task_work.h:38 [inline]
 do_exit+0x63c/0x1f58 kernel/exit.c:874
 do_group_exit+0x194/0x22c kernel/exit.c:1024
 __do_sys_exit_group kernel/exit.c:1035 [inline]
 __se_sys_exit_group kernel/exit.c:1033 [inline]
 __wake_up_parent+0x0/0x60 kernel/exit.c:1033
 __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+0x58/0x16c 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
================================================================================