================================================================================ UBSAN: array-index-out-of-bounds in fs/reiserfs/journal.c:4168:22 index 1 is out of range for type '__le32 [1]' CPU: 1 PID: 5394 Comm: syz-executor.0 Not tainted 6.5.0-next-20230908-syzkaller-14143-gaf3c30d33476 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x125/0x1b0 lib/dump_stack.c:106 ubsan_epilogue lib/ubsan.c:217 [inline] __ubsan_handle_out_of_bounds+0x111/0x150 lib/ubsan.c:348 do_journal_end+0x406d/0x4c80 fs/reiserfs/journal.c:4168 reiserfs_sync_fs+0x10e/0x140 fs/reiserfs/super.c:78 sync_filesystem fs/sync.c:56 [inline] sync_filesystem+0x109/0x280 fs/sync.c:30 ovl_sync_fs+0x108/0x170 fs/overlayfs/super.c:229 sync_filesystem fs/sync.c:66 [inline] sync_filesystem+0x1c5/0x280 fs/sync.c:30 generic_shutdown_super+0x7e/0x3c0 fs/super.c:666 kill_anon_super+0x3a/0x60 fs/super.c:1292 deactivate_locked_super+0x9a/0x170 fs/super.c:481 deactivate_super+0xde/0x100 fs/super.c:514 cleanup_mnt+0x222/0x3d0 fs/namespace.c:1254 task_work_run+0x14d/0x240 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x210/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x60 kernel/entry/common.c:296 do_syscall_64+0x44/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa5d5e7dc87 Code: b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b0 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffd64b59b38 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fa5d5e7dc87 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffd64b59bf0 RBP: 00007ffd64b59bf0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd64b5acb0 R13: 00007fa5d5ed7c5a R14: 00000000000175fe R15: 0000000000000008 ================================================================================