BUG at fs/jfs/jfs_dmap.c:3036 assert(bitno < 32) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_dmap.c:3036! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 5219 Comm: syz.0.132 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 pstate: 62400005 (nZCv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : dbFindBits+0x1ac/0x1b0 fs/jfs/jfs_dmap.c:3036 lr : dbFindBits+0x1ac/0x1b0 fs/jfs/jfs_dmap.c:3036 sp : ffff800021387370 x29: ffff800021387370 x28: ffff0000ec59f008 x27: 0000000000000000 x26: ffff0000ec59f804 x25: 0000000000000001 x24: 0000000000000000 x23: ffff80001567b8c0 x22: 0000000000000020 x21: 0000000000000001 x20: 00000000ffffffff x19: 0000000000000000 x18: 0000000000000000 x17: 0000000000000000 x16: ffff8000082d25ac x15: 0000000000000000 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000ff0100 x11: ff0080000830a28c x10: 0000000000000000 x9 : 14557054dd188b00 x8 : 14557054dd188b00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800021386e38 x4 : ffff8000151a4920 x3 : ffff80000a8467ac x2 : ffff00019f6ddd10 x1 : 0000000100000000 x0 : 0000000000000030 Call trace: dbFindBits+0x1ac/0x1b0 fs/jfs/jfs_dmap.c:3036 dbAllocNear+0x1f4/0x350 fs/jfs/jfs_dmap.c:1243 dbAlloc+0x72c/0x9dc fs/jfs/jfs_dmap.c:832 ea_get+0x6e8/0xec4 fs/jfs/xattr.c:516 __jfs_setxattr+0x460/0xfc8 fs/jfs/xattr.c:727 __jfs_xattr_set+0xe0/0x178 fs/jfs/xattr.c:941 jfs_xattr_set+0x58/0x70 fs/jfs/xattr.c:965 __vfs_setxattr+0x388/0x3a4 fs/xattr.c:182 __vfs_setxattr_noperm+0x120/0x564 fs/xattr.c:216 __vfs_setxattr_locked+0x1ec/0x218 fs/xattr.c:277 vfs_setxattr+0x158/0x2ac fs/xattr.c:309 do_setxattr fs/xattr.c:594 [inline] setxattr+0x228/0x28c fs/xattr.c:617 path_setxattr+0x12c/0x25c fs/xattr.c:636 __do_sys_setxattr fs/xattr.c:652 [inline] __se_sys_setxattr fs/xattr.c:648 [inline] __arm64_sys_setxattr+0xbc/0xd8 fs/xattr.c:648 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x138 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Code: d0042dc3 91188063 52817b82 959de8e2 (d4210000) ---[ end trace 0000000000000000 ]---