loop0: detected capacity change from 32768 to 0 ================================================================================ UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dmap.c:609:34 index 7996818 is out of range for type 'atomic_t [128]' CPU: 0 PID: 6037 Comm: syz-executor.0 Not tainted 5.11.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x9a/0xcc lib/dump_stack.c:120 ubsan_epilogue+0x5/0x40 lib/ubsan.c:148 __ubsan_handle_out_of_bounds.cold+0x43/0x48 lib/ubsan.c:356 dbNextAG+0x4b1/0x550 fs/jfs/jfs_dmap.c:609 diAlloc+0x8f8/0x1700 fs/jfs/jfs_imap.c:1344 ialloc+0x6e/0x9c0 fs/jfs/jfs_inode.c:56 jfs_mkdir+0x19c/0xa30 fs/jfs/namei.c:224 vfs_mkdir+0x413/0x660 fs/namei.c:3652 do_mkdirat+0x1eb/0x250 fs/namei.c:3675 do_syscall_64+0x2d/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f75389115a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7538085168 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f7538a32f80 RCX: 00007f75389115a9 RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000003 RBP: 00007f753896c580 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe05e30bff R14: 00007f7538085300 R15: 0000000000022000 ================================================================================