================================================================== BUG: KCSAN: data-race in fat12_ent_put / fat_mirror_bhs read-write to 0xffff88812ab7e57f of 1 bytes by task 30189 on cpu 0: fat12_ent_put+0xc4/0x170 fs/fat/fatent.c:165 fat_alloc_clusters+0x57b/0xc50 fs/fat/fatent.c:503 fat_add_cluster fs/fat/inode.c:108 [inline] __fat_get_block fs/fat/inode.c:155 [inline] fat_get_block+0x258/0x5e0 fs/fat/inode.c:190 __block_write_begin_int+0x400/0xf90 fs/buffer.c:2142 block_write_begin fs/buffer.c:2253 [inline] cont_write_begin+0x5fe/0x970 fs/buffer.c:2591 fat_write_begin+0x4f/0xe0 fs/fat/inode.c:230 generic_perform_write+0x183/0x490 mm/filemap.c:4324 __generic_file_write_iter+0x9e/0x120 mm/filemap.c:4441 generic_file_write_iter+0x8d/0x310 mm/filemap.c:4467 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x5a6/0x9f0 fs/read_write.c:688 ksys_write+0xdc/0x1a0 fs/read_write.c:740 __do_sys_write fs/read_write.c:751 [inline] __se_sys_write fs/read_write.c:748 [inline] __x64_sys_write+0x40/0x50 fs/read_write.c:748 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+0x12c/0x370 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff88812ab7e400 of 512 bytes by task 30195 on cpu 1: fat_mirror_bhs+0x1df/0x320 fs/fat/fatent.c:395 fat_ent_write+0xd0/0xe0 fs/fat/fatent.c:423 fat_chain_add+0x16c/0x490 fs/fat/misc.c:136 fat_add_cluster fs/fat/inode.c:113 [inline] __fat_get_block fs/fat/inode.c:155 [inline] fat_get_block+0x46c/0x5e0 fs/fat/inode.c:190 __block_write_begin_int+0x400/0xf90 fs/buffer.c:2142 block_write_begin fs/buffer.c:2253 [inline] cont_write_begin+0x5fe/0x970 fs/buffer.c:2591 fat_write_begin+0x4f/0xe0 fs/fat/inode.c:230 cont_expand_zero fs/buffer.c:2519 [inline] cont_write_begin+0x1b0/0x970 fs/buffer.c:2581 fat_write_begin+0x4f/0xe0 fs/fat/inode.c:230 generic_perform_write+0x183/0x490 mm/filemap.c:4324 __generic_file_write_iter+0x9e/0x120 mm/filemap.c:4441 generic_file_write_iter+0x8d/0x310 mm/filemap.c:4467 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x5a6/0x9f0 fs/read_write.c:688 ksys_pwrite64 fs/read_write.c:795 [inline] __do_sys_pwrite64 fs/read_write.c:803 [inline] __se_sys_pwrite64 fs/read_write.c:800 [inline] __x64_sys_pwrite64+0xfd/0x150 fs/read_write.c:800 x64_sys_call+0xa2a/0x3020 arch/x86/include/generated/asm/syscalls_64.h:19 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x12c/0x370 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 30195 Comm: syz.0.5147 Tainted: G W syzkaller #0 PREEMPT(full) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 ==================================================================