loop0: detected capacity change from 0 to 32768 BUG at fs/jfs/jfs_dmap.c:3028 assert(bitno < 32) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_dmap.c:3028! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 6369 Comm: syz-executor.0 Not tainted 6.8.0-rc5-syzkaller-gb401b621758e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : dbFindBits+0x1e0/0x1e4 fs/jfs/jfs_dmap.c:3028 lr : dbFindBits+0x1e0/0x1e4 fs/jfs/jfs_dmap.c:3028 sp : ffff800096786bb0 x29: ffff800096786bb0 x28: 00000000ffffffff x27: 1ffff00012cf0d80 x26: dfff800000000000 x25: 0000000000000000 x24: 0000000000000000 x23: ffff80008e6565d0 x22: 0000000000000020 x21: 0000000000000000 x20: 0000000000000001 x19: 0000000000000000 x18: ffff8000967861e0 x17: 0000000000000000 x16: ffff80008a6ed868 x15: 0000000000000001 x14: 1ffff00012cf0ccc x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000001 x10: 0000000000ff0100 x9 : e112884babc9f600 x8 : e112884babc9f600 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000967864b8 x4 : ffff80008e181a00 x3 : ffff800082c399b4 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000030 Call trace: dbFindBits+0x1e0/0x1e4 fs/jfs/jfs_dmap.c:3028 dbAllocDmapLev+0x194/0x414 fs/jfs/jfs_dmap.c:1983 dbAllocCtl+0x104/0x844 fs/jfs/jfs_dmap.c:1823 dbAllocAG+0x208/0xe4c fs/jfs/jfs_dmap.c:1364 dbAlloc+0x520/0xb68 fs/jfs/jfs_dmap.c:888 dtSplitUp fs/jfs/jfs_dtree.c:979 [inline] dtInsert+0xab0/0x54f4 fs/jfs/jfs_dtree.c:868 jfs_create+0x698/0xa04 fs/jfs/namei.c:137 lookup_open fs/namei.c:3496 [inline] open_last_lookups fs/namei.c:3565 [inline] path_openat+0xfb4/0x2830 fs/namei.c:3795 do_filp_open+0x1bc/0x3cc fs/namei.c:3825 do_sys_openat2+0x124/0x1b8 fs/open.c:1404 do_sys_open fs/open.c:1419 [inline] __do_sys_openat fs/open.c:1435 [inline] __se_sys_openat fs/open.c:1430 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1430 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 Code: d0048823 912e0063 52817a82 95917225 (d4210000) ---[ end trace 0000000000000000 ]---