loop0: detected capacity change from 0 to 32768 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: 4019 Comm: syz-executor279 Not tainted 5.15.173-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 : ffff80001fa66b70 x29: ffff80001fa66b70 x28: 00000000ffffffff x27: 1ffff00003f4cd78 x26: dfff800000000000 x25: 0000000000000000 x24: 0000000000000000 x23: ffff8000150cb2f0 x22: 0000000000000020 x21: 0000000000000000 x20: 0000000000000001 x19: 0000000000000000 x18: 0000000000000001 x17: 0000000000000000 x16: ffff800011b4c108 x15: 00000000ffffffff x14: ffff0000caac3680 x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : 38badd08ce2b1d00 x8 : 38badd08ce2b1d00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001fa662d8 x4 : ffff800014c405e0 x3 : ffff80000aa0ed5c x2 : ffff0001b4177d10 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 lookup_open fs/namei.c:3462 [inline] open_last_lookups fs/namei.c:3532 [inline] path_openat+0xf18/0x26cc fs/namei.c:3739 do_filp_open+0x1a8/0x3b4 fs/namei.c:3769 do_sys_openat2+0x128/0x3e0 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1280 __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: f00434a3 91298063 52818362 959705e4 (d4210000) ---[ end trace 41c03412954cc27d ]---