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 UID: 0 PID: 7355 Comm: syz.3.152 Not tainted 6.12.0-rc7-syzkaller-g887407160d72 #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 : ffff80009e3a6cb0 x29: ffff80009e3a6cb0 x28: 00000000ffffffff x27: 1ffff00013c74da0 x26: dfff800000000000 x25: 0000000000000000 x24: 0000000000000000 x23: ffff80008fdf2c90 x22: 0000000000000020 x21: 0000000000000000 x20: 0000000000000001 x19: 0000000000000000 x18: ffff80009e3a6120 x17: 00000000000341ff x16: ffff8000830ce3b0 x15: 0000000000000001 x14: 1ffff00013c74ce0 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000001 x10: 0000000000ff0100 x9 : 65140bcd84707800 x8 : 65140bcd84707800 x7 : ffff80008005e120 x6 : ffff80008005e31c x5 : ffff0000f19b2608 x4 : ffff80009e3a6348 x3 : ffff80008306a370 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000030 Call trace: dbFindBits+0x1e0/0x1e4 fs/jfs/jfs_dmap.c:3033 (P) dbFindBits+0x1e0/0x1e4 fs/jfs/jfs_dmap.c:3033 (L) 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/0x17ec fs/jfs/namei.c:1225 vfs_rename+0x9bc/0xc84 fs/namei.c:5013 do_renameat2+0x9c8/0xe40 fs/namei.c:5170 __do_sys_renameat2 fs/namei.c:5204 [inline] __se_sys_renameat2 fs/namei.c:5201 [inline] __arm64_sys_renameat2+0xd8/0xf4 fs/namei.c:5201 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Code: b004f463 911d8063 52817b22 95905098 (d4210000) ---[ end trace 0000000000000000 ]---