================================================================== BUG: KCSAN: data-race in fat_chain_add / generic_fillattr write to 0xffff88811f173198 of 8 bytes by task 12416 on cpu 1: fat_chain_add+0x36b/0x400 fs/fat/misc.c:160 fat_add_cluster fs/fat/inode.c:113 [inline] __fat_get_block fs/fat/inode.c:155 [inline] fat_get_block+0x429/0x5a0 fs/fat/inode.c:190 __block_write_begin_int+0x4bf/0xfd0 fs/buffer.c:2011 __block_write_begin fs/buffer.c:2061 [inline] block_write_begin+0x4f/0x1c0 fs/buffer.c:2120 cont_write_begin+0x42c/0x610 fs/buffer.c:2469 fat_write_begin+0x61/0xf0 fs/fat/inode.c:235 generic_perform_write+0x196/0x390 mm/filemap.c:3403 __generic_file_write_iter+0x225/0x330 mm/filemap.c:3500 generic_file_write_iter+0x2f3/0x3e0 mm/filemap.c:3564 call_write_iter include/linux/fs.h:1882 [inline] new_sync_write fs/read_write.c:503 [inline] vfs_write+0x665/0x6f0 fs/read_write.c:578 ksys_write+0xce/0x180 fs/read_write.c:631 __do_sys_write fs/read_write.c:643 [inline] __se_sys_write fs/read_write.c:640 [inline] __x64_sys_write+0x3e/0x50 fs/read_write.c:640 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88811f173198 of 8 bytes by task 12431 on cpu 0: generic_fillattr+0x157/0x180 fs/stat.c:50 fat_getattr+0x36/0xf0 fs/fat/file.c:401 vfs_getattr_nosec+0x178/0x310 fs/stat.c:87 vfs_getattr fs/stat.c:124 [inline] vfs_statx+0x148/0x2b0 fs/stat.c:206 vfs_lstat include/linux/fs.h:3178 [inline] __do_sys_newlstat fs/stat.c:374 [inline] __se_sys_newlstat+0x46/0x250 fs/stat.c:368 __x64_sys_newlstat+0x2d/0x40 fs/stat.c:368 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 12431 Comm: syz-executor.5 Not tainted 5.9.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================