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] SMP Modules linked in: CPU: 1 UID: 0 PID: 7403 Comm: syz.0.126 Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 63400005 (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 : ffff8000a01772f0 x29: ffff8000a01772f0 x28: ffff0000e5c27008 x27: 0000000000000000 x26: ffff0000e5c27804 x25: 0000000000000001 x24: 0000000000000000 x23: ffff80008fddba20 x22: 0000000000000020 x21: 0000000000000001 x20: 00000000ffffffff x19: 0000000000000000 x18: 00000000ffffffff x17: ffff800093507000 x16: ffff80008b007340 x15: 0000000000000001 x14: 1ffff0001402edd4 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 0000000000001238 x9 : 665b0f6adfea6300 x8 : 665b0f6adfea6300 x7 : ffff800080563af4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff8000807de560 x2 : 0000000000000002 x1 : 0000000100000000 x0 : 0000000000000030 Call trace: dbFindBits+0x1ac/0x1b0 fs/jfs/jfs_dmap.c:3036 (P) 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/0xf84 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+0x3d8/0x400 fs/xattr.c:200 __vfs_setxattr_noperm+0x120/0x5c4 fs/xattr.c:234 __vfs_setxattr_locked+0x1ec/0x218 fs/xattr.c:295 vfs_setxattr+0x158/0x2ac fs/xattr.c:321 do_setxattr fs/xattr.c:636 [inline] filename_setxattr+0x20c/0x4f8 fs/xattr.c:665 path_setxattrat+0x2e8/0x320 fs/xattr.c:713 __do_sys_setxattr fs/xattr.c:747 [inline] __se_sys_setxattr fs/xattr.c:743 [inline] __arm64_sys_setxattr+0xc0/0xdc fs/xattr.c:743 __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+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Code: 9004c3a3 91318063 52817b82 97945f53 (d4210000) ---[ end trace 0000000000000000 ]---