BUG at fs/jfs/jfs_dmap.c:3036 assert(bitno < 32) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_dmap.c:3036! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 1 UID: 0 PID: 6120 Comm: syz.2.29 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 RIP: 0010:dbFindBits+0x19e/0x1a0 fs/jfs/jfs_dmap.c:3036 Code: dc fd 90 0f 0b e8 a2 f7 77 fe 48 c7 c7 e0 58 6a 8b 48 c7 c6 20 56 6a 8b ba dc 0b 00 00 48 c7 c1 20 61 6a 8b e8 23 3e dc 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:ffffc90005aef330 EFLAGS: 00010246 RAX: 0000000000000030 RBX: 0000000000000000 RCX: a9443af5480a5e00 RDX: ffffc9000e1c9000 RSI: 0000000000000563 RDI: 0000000000000564 RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff52000b5de15 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000020 FS: 00007effb33de6c0(0000) GS:ffff888126695000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f04fb3c5000 CR3: 000000003ca30000 CR4: 00000000003526f0 Call Trace: dbAllocNear+0x244/0x3d0 fs/jfs/jfs_dmap.c:1243 dbAlloc+0x936/0xba0 fs/jfs/jfs_dmap.c:832 extBalloc fs/jfs/jfs_extent.c:336 [inline] extAlloc+0x57d/0x1020 fs/jfs/jfs_extent.c:127 jfs_get_block+0x358/0xad0 fs/jfs/inode.c:254 __block_write_begin_int+0x6c6/0x1910 fs/buffer.c:2146 block_write_begin+0x8d/0x120 fs/buffer.c:2257 jfs_write_begin+0x35/0x80 fs/jfs/inode.c:306 generic_perform_write+0x2af/0x8b0 mm/filemap.c:4314 generic_file_write_iter+0x14b/0x690 mm/filemap.c:4457 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x629/0xba0 fs/read_write.c:688 ksys_pwrite64 fs/read_write.c:795 [inline] __do_sys_pwrite64 fs/read_write.c:803 [inline] __se_sys_pwrite64 fs/read_write.c:800 [inline] __x64_sys_pwrite64+0x19c/0x230 fs/read_write.c:800 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7effb518bf79 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:00007effb33de028 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00007effb5405fa0 RCX: 00007effb518bf79 RDX: 0000000000000001 RSI: 0000200000000400 RDI: 0000000000000009 RBP: 00007effb52227e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000002000003 R11: 0000000000000246 R12: 0000000000000000 R13: 00007effb5406038 R14: 00007effb5405fa0 R15: 00007ffd7ef3e158 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:dbFindBits+0x19e/0x1a0 fs/jfs/jfs_dmap.c:3036 Code: dc fd 90 0f 0b e8 a2 f7 77 fe 48 c7 c7 e0 58 6a 8b 48 c7 c6 20 56 6a 8b ba dc 0b 00 00 48 c7 c1 20 61 6a 8b e8 23 3e dc 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:ffffc90005aef330 EFLAGS: 00010246 RAX: 0000000000000030 RBX: 0000000000000000 RCX: a9443af5480a5e00 RDX: ffffc9000e1c9000 RSI: 0000000000000563 RDI: 0000000000000564 RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff52000b5de15 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000020 FS: 00007effb33de6c0(0000) GS:ffff888126695000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000556891d1a07c CR3: 000000003ca30000 CR4: 00000000003526f0