BUG at fs/jfs/jfs_dmap.c:3096 assert(bitno < 32) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_dmap.c:3096! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 4098 Comm: syz.2.3 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : dbFindBits+0x1e0/0x1e4 fs/jfs/jfs_dmap.c:3096 lr : dbFindBits+0x1e0/0x1e4 fs/jfs/jfs_dmap.c:3096 sp : ffff800020396c70 x29: ffff800020396c70 x28: 00000000ffffffff x27: 1ffff00004072d98 x26: dfff800000000000 x25: 0000000000000000 x24: 0000000000000000 x23: ffff80001501b910 x22: 0000000000000020 x21: 0000000000000000 x20: 0000000000000001 x19: 0000000000000000 x18: 0000000000000001 x17: 0000000000000002 x16: ffff800011ac23e0 x15: 00000000ffffffff x14: ffff0000ceeb9b40 x13: 0000000000000001 x12: 0000000000040000 x11: 00000000000132f5 x10: ffff80002155d000 x9 : fbd2b5d6a389b200 x8 : fbd2b5d6a389b200 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000203963d8 x4 : ffff800014b9fae0 x3 : ffff80000a987d1c x2 : ffff0001b41aed10 x1 : 0000000100000000 x0 : 0000000000000030 Call trace: dbFindBits+0x1e0/0x1e4 fs/jfs/jfs_dmap.c:3096 dbAllocDmapLev+0x194/0x414 fs/jfs/jfs_dmap.c:2051 dbAllocCtl+0x104/0x878 fs/jfs/jfs_dmap.c:1891 dbAllocAG+0x208/0xe4c fs/jfs/jfs_dmap.c:1432 dbAlloc+0x4b0/0xa18 fs/jfs/jfs_dmap.c:888 dtSplitUp fs/jfs/jfs_dtree.c:979 [inline] dtInsert+0xaa0/0x5534 fs/jfs/jfs_dtree.c:868 jfs_rename+0x848/0x1820 fs/jfs/namei.c:1224 vfs_rename+0xac8/0xe04 fs/namei.c:4832 do_renameat2+0xa00/0x10c0 fs/namei.c:4985 __do_sys_renameat2 fs/namei.c:5018 [inline] __se_sys_renameat2 fs/namei.c:5015 [inline] __arm64_sys_renameat2+0xe0/0xfc fs/namei.c:5015 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Code: 90043483 910d0063 52818302 95996f66 (d4210000) ---[ end trace 433e938dab587260 ]---