================================================================== BUG: KCSAN: data-race in fat16_ent_put / fat_mirror_bhs write to 0xffff88810c3325b0 of 2 bytes by task 2952 on cpu 1: fat16_ent_put+0x28/0x60 fs/fat/fatent.c:183 fat_alloc_clusters+0x4d1/0xa80 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:2145 block_write_begin fs/buffer.c:2256 [inline] cont_write_begin+0x5ff/0x970 fs/buffer.c:2594 fat_write_begin+0x4f/0xe0 fs/fat/inode.c:230 cont_expand_zero fs/buffer.c:2522 [inline] cont_write_begin+0x1b0/0x970 fs/buffer.c:2584 fat_write_begin+0x4f/0xe0 fs/fat/inode.c:230 generic_cont_expand_simple+0xb0/0x150 fs/buffer.c:2485 fat_cont_expand+0x3e/0x170 fs/fat/file.c:223 fat_setattr+0x2a5/0x8a0 fs/fat/file.c:513 notify_change+0x872/0x8f0 fs/attr.c:546 do_truncate fs/open.c:68 [inline] do_ftruncate+0x335/0x3c0 fs/open.c:195 do_sys_ftruncate fs/open.c:207 [inline] __do_sys_ftruncate fs/open.c:212 [inline] __se_sys_ftruncate fs/open.c:210 [inline] __x64_sys_ftruncate+0x68/0xc0 fs/open.c:210 x64_sys_call+0x2e35/0x3000 arch/x86/include/generated/asm/syscalls_64.h:78 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd8/0x2a0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff88810c332400 of 512 bytes by task 2961 on cpu 0: fat_mirror_bhs+0x1df/0x320 fs/fat/fatent.c:395 fat_alloc_clusters+0x98b/0xa80 fs/fat/fatent.c:543 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:2145 block_write_begin fs/buffer.c:2256 [inline] cont_write_begin+0x5ff/0x970 fs/buffer.c:2594 fat_write_begin+0x4f/0xe0 fs/fat/inode.c:230 generic_perform_write+0x184/0x490 mm/filemap.c:4314 __generic_file_write_iter+0xec/0x120 mm/filemap.c:4428 generic_file_write_iter+0x8d/0x2f0 mm/filemap.c:4457 iter_file_splice_write+0x66b/0xa20 fs/splice.c:738 do_splice_from fs/splice.c:938 [inline] direct_splice_actor+0x156/0x2a0 fs/splice.c:1161 splice_direct_to_actor+0x312/0x680 fs/splice.c:1105 do_splice_direct_actor fs/splice.c:1204 [inline] do_splice_direct+0xda/0x150 fs/splice.c:1230 vfs_copy_file_range+0x9a1/0xf30 fs/read_write.c:1632 __do_sys_copy_file_range fs/read_write.c:1681 [inline] __se_sys_copy_file_range+0x269/0x3b0 fs/read_write.c:1648 __x64_sys_copy_file_range+0x78/0x90 fs/read_write.c:1648 x64_sys_call+0x2c93/0x3000 arch/x86/include/generated/asm/syscalls_64.h:327 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd8/0x2a0 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: 2961 Comm: syz.8.6292 Not tainted syzkaller #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 ==================================================================