ERROR: (device loop0): xtTruncate: XT_GETPAGE: xtree page corrupt ================================================================================ UBSAN: array-index-out-of-bounds in fs/jfs/jfs_imap.c:886:2 index -134217728 is out of range for type 'mutex [128]' CPU: 0 PID: 5427 Comm: syz-executor.0 Not tainted 6.6.0-rc7-next-20231030-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/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+0x110/0x150 lib/ubsan.c:348 diFree+0x21d5/0x2760 fs/jfs/jfs_imap.c:886 jfs_evict_inode+0x3d4/0x4b0 fs/jfs/inode.c:156 evict+0x2ed/0x6b0 fs/inode.c:664 iput_final fs/inode.c:1775 [inline] iput.part.0+0x56e/0x7b0 fs/inode.c:1801 iput+0x5c/0x80 fs/inode.c:1791 dentry_unlink_inode+0x292/0x430 fs/dcache.c:401 __dentry_kill+0x3b8/0x640 fs/dcache.c:607 shrink_dentry_list+0x22b/0x7d0 fs/dcache.c:1201 shrink_dcache_parent+0xdf/0x3b0 fs/dcache.c:1652 do_one_tree fs/dcache.c:1681 [inline] shrink_dcache_for_umount+0x79/0x340 fs/dcache.c:1698 generic_shutdown_super+0x76/0x3c0 fs/super.c:668 kill_block_super+0x3b/0x90 fs/super.c:1667 deactivate_locked_super+0xbc/0x1a0 fs/super.c:484 deactivate_super+0xde/0x100 fs/super.c:517 cleanup_mnt+0x222/0x450 fs/namespace.c:1256 task_work_run+0x14c/0x240 kernel/task_work.c:180 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+0x212/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+0x4b/0x110 arch/x86/entry/common.c:88 entry_SYSCALL_64_after_hwframe+0x62/0x6a RIP: 0033:0x7f75b407c067 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:00007ffdb5e36ab8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f75b407c067 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffdb5e36b70 RBP: 00007ffdb5e36b70 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffdb5e37c30 R13: 00007f75b40d679a R14: 000000000001a772 R15: 0000000000000003 ================================================================================