loop2: detected capacity change from 0 to 32768 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5179 at fs/jfs/jfs_dmap.c:2943 dbAdjTree+0x448/0x4d0 fs/jfs/jfs_dmap.c:2943 Modules linked in: CPU: 0 PID: 5179 Comm: syz.2.246 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:2943 Code: e8 ad f9 ee fe e9 5a ff ff ff e8 c3 f5 a9 fe eb 05 e8 bc f5 a9 fe 48 83 c4 28 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 a8 f5 a9 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:ffffc900034ceca0 EFLAGS: 00010287 RAX: ffffffff82cf1aa8 RBX: ffff888058ad2010 RCX: 0000000000080000 RDX: ffffc90005c01000 RSI: 000000000000bbb1 RDI: 000000000000bbb2 RBP: 0000000000002057 R08: 0000000000000000 R09: 1ffffd40002c5690 R10: dffffc0000000000 R11: fffff940002c5691 R12: ffff888058ad2018 R13: dffffc0000000000 R14: 0000000000000005 R15: 0000000000000155 FS: 00007f7383d1e6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fce316ee000 CR3: 00000000583bd000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dbSplit+0x132/0x200 fs/jfs/jfs_dmap.c:2716 dbAllocBits+0x505/0xa30 fs/jfs/jfs_dmap.c:2261 dbAllocDmap+0x6b/0x140 fs/jfs/jfs_dmap.c:2102 dbAlloc+0x467/0xba0 fs/jfs/jfs_dmap.c:805 extBalloc fs/jfs/jfs_extent.c:523 [inline] extAlloc+0x4fc/0xf80 fs/jfs/jfs_extent.c:125 jfs_get_block+0x355/0xad0 fs/jfs/inode.c:264 get_more_blocks fs/direct-io.c:673 [inline] do_direct_IO fs/direct-io.c:959 [inline] do_blockdev_direct_IO fs/direct-io.c:1276 [inline] __blockdev_direct_IO+0x13d4/0x3a70 fs/direct-io.c:1368 blockdev_direct_IO include/linux/fs.h:3345 [inline] jfs_direct_IO+0x119/0x220 fs/jfs/inode.c:349 generic_file_direct_write+0x22c/0x490 mm/filemap.c:3687 __generic_file_write_iter+0x2b1/0x4e0 mm/filemap.c:3869 generic_file_write_iter+0xa6/0x1b0 mm/filemap.c:3944 do_iter_readv_writev+0x47e/0x5f0 fs/read_write.c:-1 do_iter_write+0x205/0x7b0 fs/read_write.c:855 iter_file_splice_write+0x699/0xcc0 fs/splice.c:689 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0xe1/0x130 fs/splice.c:956 splice_direct_to_actor+0x4ea/0xc10 fs/splice.c:902 do_splice_direct+0x1d4/0x2f0 fs/splice.c:1008 do_sendfile+0x5fc/0xeb0 fs/read_write.c:1249 __do_sys_sendfile64 fs/read_write.c:1317 [inline] __se_sys_sendfile64+0x141/0x1a0 fs/read_write.c:1303 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:0x7f7385ac2cb9 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:00007f7383d1e028 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f7385d3dfa0 RCX: 00007f7385ac2cb9 RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000005 RBP: 00007f7385b30bf7 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020fffe82 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7385d3e038 R14: 00007f7385d3dfa0 R15: 00007ffe9c32e8a8