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: 1 UID: 0 PID: 8308 Comm: syz.3.346 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 : ffff80009fd16bb0 x29: ffff80009fd16bb0 x28: 00000000ffffffff x27: 1ffff00013fa2d80 x26: dfff800000000000 x25: 0000000000000000 x24: 0000000000000000 x23: ffff80008fdf2c90 x22: 0000000000000020 x21: 0000000000000000 x20: 0000000000000001 x19: 0000000000000000 x18: 1fffe000366cb476 x17: ffff80008f80d000 x16: ffff8000830ce3b0 x15: 0000000000000001 x14: 1ffff00013fa2cc0 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000040000 x10: 000000000000b86f x9 : 12795f429bddde00 x8 : 12795f429bddde00 x7 : ffff8000802c419c x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 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_create+0x698/0xa18 fs/jfs/namei.c:137 lookup_open fs/namei.c:3595 [inline] open_last_lookups fs/namei.c:3694 [inline] path_openat+0x13e4/0x2b14 fs/namei.c:3930 do_filp_open+0x1bc/0x3cc fs/namei.c:3960 do_sys_openat2+0x124/0x1b8 fs/open.c:1415 do_sys_open fs/open.c:1430 [inline] __do_sys_openat fs/open.c:1446 [inline] __se_sys_openat fs/open.c:1441 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1441 __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 ]---