loop5: detected capacity change from 0 to 8192 ================================================================== BUG: KCSAN: data-race in fat12_ent_put / fat_mirror_bhs read-write to 0xffff888120292f24 of 1 bytes by task 25156 on cpu 1: fat12_ent_put+0xc4/0x180 fs/fat/fatent.c:165 fat_alloc_clusters+0x55e/0xc40 fs/fat/fatent.c:508 fat_add_cluster fs/fat/inode.c:108 [inline] __fat_get_block fs/fat/inode.c:155 [inline] fat_get_block+0x252/0x5e0 fs/fat/inode.c:190 __block_write_begin_int+0x400/0xf90 fs/buffer.c:2123 block_write_begin fs/buffer.c:2234 [inline] cont_write_begin+0x5bf/0x920 fs/buffer.c:2596 fat_write_begin+0x52/0xe0 fs/fat/inode.c:230 generic_perform_write+0x186/0x490 mm/filemap.c:4358 __generic_file_write_iter+0x9e/0x120 mm/filemap.c:4475 generic_file_write_iter+0x77/0x1f0 mm/filemap.c:4501 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x57d/0x990 fs/read_write.c:687 ksys_write+0xdc/0x1a0 fs/read_write.c:739 __do_sys_write fs/read_write.c:750 [inline] __se_sys_write fs/read_write.c:747 [inline] __x64_sys_write+0x40/0x50 fs/read_write.c:747 x64_sys_call+0x27e1/0x3020 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x136/0x3c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888120292e00 of 512 bytes by task 25150 on cpu 0: fat_mirror_bhs+0x1df/0x330 fs/fat/fatent.c:399 fat_alloc_clusters+0xb25/0xc40 fs/fat/fatent.c:548 fat_add_cluster fs/fat/inode.c:108 [inline] __fat_get_block fs/fat/inode.c:155 [inline] fat_get_block+0x252/0x5e0 fs/fat/inode.c:190 __block_write_begin_int+0x400/0xf90 fs/buffer.c:2123 block_write_begin fs/buffer.c:2234 [inline] cont_write_begin+0x5bf/0x920 fs/buffer.c:2596 fat_write_begin+0x52/0xe0 fs/fat/inode.c:230 cont_expand_zero fs/buffer.c:2524 [inline] cont_write_begin+0x18d/0x920 fs/buffer.c:2586 fat_write_begin+0x52/0xe0 fs/fat/inode.c:230 generic_cont_expand_simple+0xb0/0x150 fs/buffer.c:2487 fat_cont_expand+0x3e/0x170 fs/fat/file.c:227 fat_fallocate+0x177/0x1c0 fs/fat/file.c:305 vfs_fallocate+0x3ac/0x400 fs/open.c:338 ksys_fallocate fs/open.c:362 [inline] __do_sys_fallocate fs/open.c:367 [inline] __se_sys_fallocate fs/open.c:365 [inline] __x64_sys_fallocate+0x7a/0xd0 fs/open.c:365 x64_sys_call+0x298e/0x3020 arch/x86/include/generated/asm/syscalls_64.h:286 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x136/0x3c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 25150 Comm: syz.5.12758 Tainted: G W syzkaller #0 PREEMPT(lazy) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 ==================================================================