loop4: detected capacity change from 0 to 32768 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 7336 at fs/jfs/jfs_dmap.c:2875 dbAdjTree+0x448/0x4d0 fs/jfs/jfs_dmap.c:2875 Modules linked in: CPU: 1 PID: 7336 Comm: syz.4.340 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:dbAdjTree+0x448/0x4d0 fs/jfs/jfs_dmap.c:2875 Code: e8 5d 8c df fe e9 5a ff ff ff e8 d3 32 88 fe eb 05 e8 cc 32 88 fe 48 83 c4 28 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 b8 32 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:ffffc9000453eea0 EFLAGS: 00010287 RAX: ffffffff82fd5cd8 RBX: ffff888066f37010 RCX: 0000000000080000 RDX: ffffc90003299000 RSI: 0000000000040cbc RDI: 0000000000040cbd RBP: 0000000000002057 R08: 0000000000000000 R09: 1ffffd40003379b8 R10: dffffc0000000000 R11: fffff940003379b9 R12: ffff888066f37018 R13: dffffc0000000000 R14: 0000000000000005 R15: 0000000000000155 FS: 00007f01ce5f36c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f92915947b0 CR3: 000000006a326000 CR4: 00000000003506e0 Call Trace: dbSplit+0x132/0x200 fs/jfs/jfs_dmap.c:2648 dbAllocBits+0x502/0xa50 fs/jfs/jfs_dmap.c:2193 dbAllocDmap+0x6b/0x140 fs/jfs/jfs_dmap.c:2034 dbAlloc+0x468/0xba0 fs/jfs/jfs_dmap.c:805 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:248 __block_write_begin_int+0x566/0x1ad0 fs/buffer.c:2124 __block_write_begin fs/buffer.c:2173 [inline] block_write_begin+0x9a/0x1e0 fs/buffer.c:2234 jfs_write_begin+0x35/0x70 fs/jfs/inode.c:299 generic_perform_write+0x2fb/0x5b0 mm/filemap.c:4016 generic_file_write_iter+0xaf/0x2e0 mm/filemap.c:4137 do_iter_readv_writev fs/read_write.c:-1 [inline] do_iter_write+0x79a/0xc70 fs/read_write.c:860 iter_file_splice_write+0x66f/0xc50 fs/splice.c:736 do_splice_from fs/splice.c:933 [inline] direct_splice_actor+0xe8/0x130 fs/splice.c:1142 splice_direct_to_actor+0x2f0/0x870 fs/splice.c:1088 do_splice_direct+0x1b7/0x2c0 fs/splice.c:1194 do_sendfile+0x5dc/0xf70 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1322 [inline] __se_sys_sendfile64+0x13f/0x190 fs/read_write.c:1308 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:0x7f01cd78efc9 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:00007f01ce5f3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f01cd9e5fa0 RCX: 00007f01cd78efc9 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000004 RBP: 00007f01cd811f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f01cd9e6038 R14: 00007f01cd9e5fa0 R15: 00007ffedeeef2e8