ialloc: diAlloc returned -5! BUG at fs/jfs/jfs_dmap.c:3033 assert(bitno < 32) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_dmap.c:3033! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 4477 Comm: syz.4.27 Not tainted 6.1.115-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : dbFindBits+0x1e0/0x1e4 fs/jfs/jfs_dmap.c:3033 lr : dbFindBits+0x1e0/0x1e4 fs/jfs/jfs_dmap.c:3033 sp : ffff8000217a6c90 x29: ffff8000217a6c90 x28: 00000000ffffffff x27: 1ffff000042f4d9c x26: dfff800000000000 x25: 0000000000000000 x24: 0000000000000000 x23: ffff800015f72270 x22: 0000000000000020 x21: 0000000000000000 x20: 0000000000000001 x19: 0000000000000000 x18: 1fffe0003679f176 x17: ffff8000159cd000 x16: ffff80001229a1fc x15: ffff0001b3cf8bbc x14: 1ffff00002b3a0b0 x13: dfff800000000000 x12: 0000000000040000 x11: 000000000000ba27 x10: ffff800023cb9000 x9 : b2e38ddfad9f2600 x8 : b2e38ddfad9f2600 x7 : ffff80000827db90 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : ffff80000aaab22c x2 : ffff0001b3cf8cd0 x1 : 0000000100000000 x0 : 0000000000000030 Call trace: dbFindBits+0x1e0/0x1e4 fs/jfs/jfs_dmap.c:3033 dbAllocDmapLev+0x194/0x414 fs/jfs/jfs_dmap.c:1985 dbAllocCtl+0x104/0x844 fs/jfs/jfs_dmap.c:1825 dbAllocAG+0x208/0xe4c fs/jfs/jfs_dmap.c:1364 dbAlloc+0x520/0xb68 fs/jfs/jfs_dmap.c:888 dtSplitUp fs/jfs/jfs_dtree.c:981 [inline] dtInsert+0xb18/0x573c fs/jfs/jfs_dtree.c:870 jfs_rename+0x848/0x1890 fs/jfs/namei.c:1224 vfs_rename+0xac8/0xe04 fs/namei.c:4874 do_renameat2+0x9ec/0xe64 fs/namei.c:5027 __do_sys_renameat2 fs/namei.c:5060 [inline] __se_sys_renameat2 fs/namei.c:5057 [inline] __arm64_sys_renameat2+0xe0/0xfc fs/namei.c:5057 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Code: d0046d43 91268063 52817b22 95956453 (d4210000) ---[ end trace 0000000000000000 ]---