loop5: detected capacity change from 0 to 64 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6599 at fs/buffer.c:1188 mark_buffer_dirty+0x376/0x3e0 fs/buffer.c:1188 Modules linked in: CPU: 0 PID: 6599 Comm: syz-executor.5 Not tainted 6.6.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:mark_buffer_dirty+0x376/0x3e0 fs/buffer.c:1188 Code: e9 cf ed 89 ff e8 ca ed 89 ff 48 89 ef e8 22 89 e7 ff 5b 5d e9 bb ed 89 ff e8 b6 ed 89 ff 0f 0b e9 10 fe ff ff e8 aa ed 89 ff <0f> 0b e9 b7 fc ff ff e8 9e ed 89 ff 0f 0b e9 d6 fc ff ff 48 89 df RSP: 0018:ffffc90015b37968 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880a692e910 RCX: 0000000000000000 RDX: ffff88807e313b80 RSI: ffffffff81fdd916 RDI: 0000000000000001 RBP: ffff8880a692e000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000009 R13: ffff888083d58000 R14: dffffc0000000000 R15: ffffed10107ab02c FS: 00007f21841dc6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f218419ad58 CR3: 000000009b083000 CR4: 0000000000350ef0 Call Trace: bfs_move_block fs/bfs/file.c:43 [inline] bfs_move_blocks fs/bfs/file.c:56 [inline] bfs_get_block+0x37f/0xdd0 fs/bfs/file.c:125 __block_write_begin_int+0x3c0/0x14d0 fs/buffer.c:2111 __block_write_begin fs/buffer.c:2160 [inline] block_write_begin+0xb1/0x490 fs/buffer.c:2219 bfs_write_begin+0x31/0xd0 fs/bfs/file.c:177 generic_perform_write+0x278/0x600 mm/filemap.c:3969 __generic_file_write_iter+0x1f9/0x240 mm/filemap.c:4064 generic_file_write_iter+0xe3/0x350 mm/filemap.c:4090 call_write_iter include/linux/fs.h:1956 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x650/0xe40 fs/read_write.c:584 ksys_write+0x12f/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f218347cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f21841dc0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f218359bf80 RCX: 00007f218347cae9 RDX: 00000000fffffdef RSI: 0000000020005540 RDI: 0000000000000006 RBP: 00007f21834c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f218359bf80 R15: 00007fff02d79928