BUG at fs/jfs/jfs_dmap.c:3104 assert(bitno < 32) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_dmap.c:3104! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 4560 Comm: syz.3.55 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:dbFindBits+0x193/0x1a0 fs/jfs/jfs_dmap.c:3104 Code: 03 51 cd 06 0f 0b e8 0c ae ad fe 48 c7 c7 c0 1e 42 8a 48 c7 c6 40 1c 42 8a ba 20 0c 00 00 48 c7 c1 e0 26 42 8a e8 dd 50 cd 06 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 55 41 57 41 56 41 55 41 54 RSP: 0018:ffffc9000441f448 EFLAGS: 00010246 RAX: 0000000000000030 RBX: 0000000000000004 RCX: 625b4681e8df6b00 RDX: ffffc9000e4ca000 RSI: 000000000001126f RDI: 0000000000011270 RBP: 00000000ffffffff R08: dffffc0000000000 R09: ffffed10172067b0 R10: ffffed10172067b0 R11: 1ffff110172067af R12: 0000000000000010 R13: 0000000000000000 R14: 0000000000000010 R15: 0000000000000020 FS: 00007fc33d0616c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555584cda5c8 CR3: 0000000058cfc000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dbAllocDmapLev+0x169/0x3c0 fs/jfs/jfs_dmap.c:2053 dbAllocCtl+0x148/0x9b0 fs/jfs/jfs_dmap.c:1893 dbAllocAG+0x1e7/0xfe0 fs/jfs/jfs_dmap.c:1421 dbAlloc+0x5a3/0xb90 fs/jfs/jfs_dmap.c:877 ea_write+0x36e/0xdd0 fs/jfs/xattr.c:232 ea_put fs/jfs/xattr.c:619 [inline] __jfs_setxattr+0x8b2/0x1000 fs/jfs/xattr.c:792 __jfs_xattr_set+0xd7/0x160 fs/jfs/xattr.c:941 __vfs_setxattr+0x3e0/0x420 fs/xattr.c:182 __vfs_setxattr_noperm+0x129/0x5e0 fs/xattr.c:216 vfs_setxattr+0x168/0x2f0 fs/xattr.c:303 do_setxattr fs/xattr.c:588 [inline] setxattr+0x2da/0x300 fs/xattr.c:611 path_setxattr+0x142/0x280 fs/xattr.c:630 __do_sys_setxattr fs/xattr.c:646 [inline] __se_sys_setxattr fs/xattr.c:642 [inline] __x64_sys_setxattr+0xb7/0xd0 fs/xattr.c:642 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fc33ee1b749 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc33d061038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007fc33f072090 RCX: 00007fc33ee1b749 RDX: 0000200000000540 RSI: 00002000000001c0 RDI: 0000200000000140 RBP: 00007fc33ee9ff91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000ff57 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fc33f072128 R14: 00007fc33f072090 R15: 00007ffc2ab8e7a8 Modules linked in: ---[ end trace 141146897a336f47 ]--- RIP: 0010:dbFindBits+0x193/0x1a0 fs/jfs/jfs_dmap.c:3104 Code: 03 51 cd 06 0f 0b e8 0c ae ad fe 48 c7 c7 c0 1e 42 8a 48 c7 c6 40 1c 42 8a ba 20 0c 00 00 48 c7 c1 e0 26 42 8a e8 dd 50 cd 06 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 55 41 57 41 56 41 55 41 54 RSP: 0018:ffffc9000441f448 EFLAGS: 00010246 RAX: 0000000000000030 RBX: 0000000000000004 RCX: 625b4681e8df6b00 RDX: ffffc9000e4ca000 RSI: 000000000001126f RDI: 0000000000011270 RBP: 00000000ffffffff R08: dffffc0000000000 R09: ffffed10172067b0 R10: ffffed10172067b0 R11: 1ffff110172067af R12: 0000000000000010 R13: 0000000000000000 R14: 0000000000000010 R15: 0000000000000020 FS: 00007fc33d0616c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007effcaf52d60 CR3: 0000000058cfc000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400