loop1: detected capacity change from 0 to 32768 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 5872 at fs/jfs/jfs_dmap.c:2875 dbAdjTree+0x448/0x4d0 fs/jfs/jfs_dmap.c:2875 Modules linked in: CPU: 1 PID: 5872 Comm: syz.1.7 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:dbAdjTree+0x448/0x4d0 fs/jfs/jfs_dmap.c:2875 Code: e8 7d 76 df fe e9 5a ff ff ff e8 e3 08 88 fe eb 05 e8 dc 08 88 fe 48 83 c4 28 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 c8 08 88 fe <0f> 0b eb e8 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c ee fb ff ff 4c RSP: 0018:ffffc90004ddf188 EFLAGS: 00010287 RAX: ffffffff82fd87f8 RBX: ffff8880245eb010 RCX: 0000000000080000 RDX: ffffc9000c411000 RSI: 000000000000b03e RDI: 000000000000b03f RBP: 0000000000004059 R08: 0000000000000000 R09: 0000000000000000 R10: ffff8880245eb810 R11: ffffed10048bd704 R12: ffff8880245eb018 R13: dffffc0000000000 R14: 0000000000000006 R15: 0000000000000155 FS: 00007f220f45c6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2704c1 CR3: 0000000024889000 CR4: 00000000003506e0 Call Trace: dbSplit+0x132/0x200 fs/jfs/jfs_dmap.c:2648 dbAllocBits+0x3f4/0xa50 fs/jfs/jfs_dmap.c:2234 dbAllocDmap fs/jfs/jfs_dmap.c:2034 [inline] dbAllocNear+0x29c/0x3c0 fs/jfs/jfs_dmap.c:1247 dbAlloc+0x92e/0xba0 fs/jfs/jfs_dmap.c:832 extBalloc fs/jfs/jfs_extent.c:326 [inline] extAlloc+0x4d6/0xf30 fs/jfs/jfs_extent.c:122 jfs_get_block+0x347/0xab0 fs/jfs/inode.c:254 get_more_blocks fs/direct-io.c:647 [inline] do_direct_IO fs/direct-io.c:935 [inline] __blockdev_direct_IO+0x1679/0x3420 fs/direct-io.c:1248 blockdev_direct_IO include/linux/fs.h:3047 [inline] jfs_direct_IO+0x11b/0x220 fs/jfs/inode.c:337 generic_file_direct_write+0x1d4/0x3e0 mm/filemap.c:3956 __generic_file_write_iter+0x11b/0x230 mm/filemap.c:4112 generic_file_write_iter+0xaf/0x2e0 mm/filemap.c:4152 do_iter_readv_writev fs/read_write.c:-1 [inline] do_iter_write+0x79a/0xc70 fs/read_write.c:860 vfs_writev fs/read_write.c:933 [inline] do_pwritev+0x205/0x340 fs/read_write.c:1030 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f220e58f749 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:00007f220f45c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007f220e7e5fa0 RCX: 00007f220e58f749 RDX: 0000000000000001 RSI: 0000200000000240 RDI: 0000000000000004 RBP: 00007f220e613f91 R08: 0000000000000000 R09: 0000000000000003 R10: 0000000000007a00 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f220e7e6038 R14: 00007f220e7e5fa0 R15: 00007ffdb21b8508