BUG at fs/jfs/jfs_dmap.c:3099 assert(bitno < 32) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_dmap.c:3099! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 6081 Comm: syz.4.470 Not tainted 5.15.170-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:3099 lr : dbFindBits+0x1e0/0x1e4 fs/jfs/jfs_dmap.c:3099 sp : ffff800020916ff0 x29: ffff800020916ff0 x28: 00000000ffffffff x27: 1ffff00004122e08 x26: dfff800000000000 x25: 0000000000000000 x24: 0000000000000000 x23: ffff80001501c3b0 x22: 0000000000000020 x21: 0000000000000000 x20: 0000000000000001 x19: 0000000000000000 x18: ffff800020916620 x17: 1fffe00036831b8e x16: ffff800011aba618 x15: 0000000000039108 x14: 1ffff0000295806a x13: dfff800000000000 x12: 0000000000040000 x11: 0000000000010014 x10: ffff8000221b0000 x9 : a6f1513f6025c600 x8 : a6f1513f6025c600 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000000 x3 : ffff80000a9825bc x2 : ffff0001b418dd10 x1 : 0000000100000000 x0 : 0000000000000030 Call trace: dbFindBits+0x1e0/0x1e4 fs/jfs/jfs_dmap.c:3099 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_create+0x698/0xa1c fs/jfs/namei.c:137 vfs_create+0x2cc/0x434 fs/namei.c:3162 do_mknodat+0x314/0x694 fs/namei.c:3994 __do_sys_mknodat fs/namei.c:4022 [inline] __se_sys_mknodat fs/namei.c:4019 [inline] __arm64_sys_mknodat+0xb0/0xcc fs/namei.c:4019 __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: b0043423 91138063 52818362 95996a58 (d4210000) ---[ end trace 7d074e21f62548d2 ]---