BUG at fs/jfs/jfs_dmap.c:3123 assert(bitno < 32) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_dmap.c:3123! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 0 UID: 0 PID: 6952 Comm: syz.4.164 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 RIP: 0010:dbFindBits+0x19e/0x1a0 fs/jfs/jfs_dmap.c:3123 Code: b3 fd 90 0f 0b e8 c2 7d 54 fe 48 c7 c7 20 e3 cd 8b 48 c7 c6 60 e0 cd 8b ba 33 0c 00 00 48 c7 c1 60 eb cd 8b e8 73 f9 b3 fd 90 <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 41 57 41 RSP: 0018:ffffc9000864f530 EFLAGS: 00010246 RAX: 0000000000000030 RBX: 0000000000000000 RCX: 9ca319263fe7b200 RDX: ffffc900141bb000 RSI: 00000000000009a9 RDI: 00000000000009aa RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff520010c9e55 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000020 FS: 00007f0c61ce16c0(0000) GS:ffff88812470e000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6ae41556c8 CR3: 00000000419be000 CR4: 00000000003526f0 Call Trace: dbAllocNear+0x23f/0x3c0 fs/jfs/jfs_dmap.c:1330 dbAlloc+0x937/0xba0 fs/jfs/jfs_dmap.c:919 ea_get+0x998/0x1300 fs/jfs/xattr.c:516 __jfs_setxattr+0x5d5/0x1190 fs/jfs/xattr.c:727 jfs_initxattrs+0x18c/0x260 fs/jfs/xattr.c:1040 security_inode_init_security+0x29b/0x3e0 security/security.c:1385 jfs_init_security+0x91/0xe0 fs/jfs/xattr.c:1052 jfs_mkdir+0x2bd/0xaf0 fs/jfs/namei.c:241 vfs_mkdir+0x417/0x670 fs/namei.c:5428 filename_mkdirat+0x288/0x560 fs/namei.c:5461 __do_sys_mkdirat fs/namei.c:5482 [inline] __se_sys_mkdirat+0x35/0x150 fs/namei.c:5479 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x16a/0x530 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0c63ef8fd9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f0c61ce1028 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f0c64176270 RCX: 00007f0c63ef8fd9 RDX: 00000000000001ff RSI: 0000200000012b80 RDI: ffffffffffffff9c RBP: 00007f0c63f87fed R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0c64176308 R14: 00007f0c64176270 R15: 00007ffd651323d8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:dbFindBits+0x19e/0x1a0 fs/jfs/jfs_dmap.c:3123 Code: b3 fd 90 0f 0b e8 c2 7d 54 fe 48 c7 c7 20 e3 cd 8b 48 c7 c6 60 e0 cd 8b ba 33 0c 00 00 48 c7 c1 60 eb cd 8b e8 73 f9 b3 fd 90 <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 41 57 41 RSP: 0018:ffffc9000864f530 EFLAGS: 00010246 RAX: 0000000000000030 RBX: 0000000000000000 RCX: 9ca319263fe7b200 RDX: ffffc900141bb000 RSI: 00000000000009a9 RDI: 00000000000009aa RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff520010c9e55 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000020 FS: 00007f0c61ce16c0(0000) GS:ffff88812470e000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6ae415da08 CR3: 00000000419be000 CR4: 00000000003526f0