================================================================== BUG: KCSAN: data-race in fat32_ent_put / fat_mirror_bhs read-write to 0xffff88811d9e53f0 of 4 bytes by task 6401 on cpu 0: fat32_ent_put+0x4e/0x90 fs/fat/fatent.c:194 fat_ent_write+0x76/0x160 fs/fat/fatent.c:422 fat_free fs/fat/file.c:364 [inline] fat_truncate_blocks+0x37a/0x5b0 fs/fat/file.c:396 fat_write_failed fs/fat/inode.c:220 [inline] fat_write_end+0xba/0x160 fs/fat/inode.c:248 generic_perform_write+0x314/0x490 mm/filemap.c:4413 __generic_file_write_iter+0xec/0x120 mm/filemap.c:4506 generic_file_write_iter+0x77/0x1f0 mm/filemap.c:4535 do_iter_readv_writev+0x4f6/0x5a0 fs/read_write.c:-1 vfs_writev+0x2ce/0x8b0 fs/read_write.c:1058 do_pwritev fs/read_write.c:1154 [inline] __do_sys_pwritev2 fs/read_write.c:1212 [inline] __se_sys_pwritev2+0xfc/0x1c0 fs/read_write.c:1203 __x64_sys_pwritev2+0x67/0x80 fs/read_write.c:1203 x64_sys_call+0x899/0x2550 arch/x86/include/generated/asm/syscalls_64.h:329 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x112/0x360 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff88811d9e5000 of 2048 bytes by task 6394 on cpu 1: fat_mirror_bhs+0x1da/0x320 fs/fat/fatent.c:399 __fat_alloc_clusters+0xc5c/0xd80 fs/fat/fatent.c:592 fat_alloc_chain+0x25/0x30 fs/fat/fatent.c:610 fat_add_clusters fs/fat/inode.c:109 [inline] __fat_get_block fs/fat/inode.c:156 [inline] fat_get_block+0x252/0x5e0 fs/fat/inode.c:191 __block_write_begin_int+0x421/0x1060 fs/buffer.c:2031 block_write_begin fs/buffer.c:2145 [inline] cont_write_begin+0x5bf/0x920 fs/buffer.c:2507 fat_write_begin+0x52/0xe0 fs/fat/inode.c:231 cont_expand_zero fs/buffer.c:2435 [inline] cont_write_begin+0x18d/0x920 fs/buffer.c:2497 fat_write_begin+0x52/0xe0 fs/fat/inode.c:231 generic_perform_write+0x186/0x490 mm/filemap.c:4392 __generic_file_write_iter+0x9e/0x120 mm/filemap.c:4509 generic_file_write_iter+0x77/0x1f0 mm/filemap.c:4535 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x57a/0x990 fs/read_write.c:687 ksys_pwrite64 fs/read_write.c:794 [inline] __do_sys_pwrite64 fs/read_write.c:802 [inline] __se_sys_pwrite64 fs/read_write.c:799 [inline] __x64_sys_pwrite64+0xfd/0x150 fs/read_write.c:799 x64_sys_call+0x23be/0x2550 arch/x86/include/generated/asm/syscalls_64.h:19 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x112/0x360 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 6394 Comm: syz.4.936 Not tainted syzkaller #0 PREEMPT(lazy) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 ==================================================================