================================================================== BUG: KCSAN: data-race in fat16_ent_put / fat_mirror_bhs write to 0xffff888127d51446 of 2 bytes by task 4814 on cpu 0: fat16_ent_put+0x28/0x60 fs/fat/fatent.c:183 fat_ent_write+0x6c/0xe0 fs/fat/fatent.c:417 fat_chain_add+0x15b/0x3f0 fs/fat/misc.c:136 fat_add_cluster fs/fat/inode.c:112 [inline] __fat_get_block fs/fat/inode.c:154 [inline] fat_get_block+0x46c/0x5e0 fs/fat/inode.c:189 __block_write_begin_int+0x3fd/0xf90 fs/buffer.c:2151 block_write_begin fs/buffer.c:2262 [inline] cont_write_begin+0x5fc/0x970 fs/buffer.c:2601 fat_write_begin+0x4f/0xe0 fs/fat/inode.c:228 generic_perform_write+0x181/0x490 mm/filemap.c:4112 __generic_file_write_iter+0x9e/0x120 mm/filemap.c:4229 generic_file_write_iter+0x8d/0x2f0 mm/filemap.c:4255 aio_write+0x2e5/0x410 fs/aio.c:1634 __io_submit_one fs/aio.c:-1 [inline] io_submit_one+0xacd/0x11d0 fs/aio.c:2053 __do_sys_io_submit fs/aio.c:2112 [inline] __se_sys_io_submit+0xfb/0x280 fs/aio.c:2082 __x64_sys_io_submit+0x43/0x50 fs/aio.c:2082 x64_sys_call+0xfc4/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:210 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888127d51400 of 512 bytes by task 4809 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+0x15b/0x3f0 fs/fat/misc.c:136 fat_add_cluster fs/fat/inode.c:112 [inline] __fat_get_block fs/fat/inode.c:154 [inline] fat_get_block+0x46c/0x5e0 fs/fat/inode.c:189 __block_write_begin_int+0x3fd/0xf90 fs/buffer.c:2151 block_write_begin fs/buffer.c:2262 [inline] cont_write_begin+0x5fc/0x970 fs/buffer.c:2601 fat_write_begin+0x4f/0xe0 fs/fat/inode.c:228 generic_perform_write+0x181/0x490 mm/filemap.c:4112 __generic_file_write_iter+0x9e/0x120 mm/filemap.c:4229 generic_file_write_iter+0x8d/0x2f0 mm/filemap.c:4255 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x49d/0x8e0 fs/read_write.c:686 ksys_write+0xda/0x1a0 fs/read_write.c:738 __do_sys_write fs/read_write.c:749 [inline] __se_sys_write fs/read_write.c:746 [inline] __x64_sys_write+0x40/0x50 fs/read_write.c:746 x64_sys_call+0x2cdd/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 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: 4809 Comm: syz.5.418 Not tainted 6.15.0-syzkaller-11802-g1af80d00e1e0 #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 ==================================================================