================================================================== BUG: KCSAN: data-race in __remove_assoc_queue / mark_buffer_dirty_inode read to 0xffff8880991a4c20 of 8 bytes by task 8790 on cpu 1: mark_buffer_dirty_inode+0xa1/0x260 fs/buffer.c:596 fat_mirror_bhs+0xff/0x2f0 fs/fat/fatent.c:396 fat_alloc_clusters+0xa9c/0xc40 fs/fat/fatent.c:541 fat_add_cluster+0x3d/0xd0 fs/fat/inode.c:107 __fat_get_block fs/fat/inode.c:154 [inline] fat_get_block+0x3ae/0x4e0 fs/fat/inode.c:189 __block_write_begin_int+0x2ea/0xf10 fs/buffer.c:2008 __block_write_begin fs/buffer.c:2058 [inline] block_write_begin+0x77/0x160 fs/buffer.c:2117 cont_write_begin+0x3d6/0x670 fs/buffer.c:2466 fat_write_begin+0x72/0xc0 fs/fat/inode.c:235 generic_perform_write+0x136/0x320 mm/filemap.c:3309 __generic_file_write_iter+0x251/0x380 mm/filemap.c:3438 generic_file_write_iter+0x28c/0x38c mm/filemap.c:3470 call_write_iter include/linux/fs.h:1902 [inline] new_sync_write+0x388/0x4a0 fs/read_write.c:483 __vfs_write+0xb1/0xc0 fs/read_write.c:496 vfs_write fs/read_write.c:558 [inline] vfs_write+0x18a/0x390 fs/read_write.c:542 ksys_pwrite64+0xee/0x120 fs/read_write.c:665 __do_sys_pwrite64 fs/read_write.c:675 [inline] __se_sys_pwrite64 fs/read_write.c:672 [inline] __x64_sys_pwrite64+0x5e/0x80 fs/read_write.c:672 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffff8880991a4c20 of 8 bytes by task 8793 on cpu 0: __remove_assoc_queue+0xa2/0x140 fs/buffer.c:496 fsync_buffers_list fs/buffer.c:767 [inline] sync_mapping_buffers+0x420/0x6e0 fs/buffer.c:563 fat_file_fsync+0xd4/0x120 fs/fat/file.c:194 vfs_fsync_range+0x82/0x150 fs/sync.c:197 generic_write_sync include/linux/fs.h:2856 [inline] generic_file_write_iter+0x318/0x38c mm/filemap.c:3474 call_write_iter include/linux/fs.h:1902 [inline] do_iter_readv_writev+0x487/0x5b0 fs/read_write.c:693 do_iter_write fs/read_write.c:970 [inline] do_iter_write+0x13b/0x3c0 fs/read_write.c:951 vfs_iter_write+0x5c/0x80 fs/read_write.c:983 iter_file_splice_write+0x530/0x840 fs/splice.c:760 do_splice_from fs/splice.c:863 [inline] direct_splice_actor+0xa0/0xc0 fs/splice.c:1037 splice_direct_to_actor+0x22b/0x540 fs/splice.c:992 do_splice_direct+0x161/0x1e0 fs/splice.c:1080 do_sendfile+0x384/0x7f0 fs/read_write.c:1464 __do_sys_sendfile64 fs/read_write.c:1519 [inline] __se_sys_sendfile64 fs/read_write.c:1511 [inline] __x64_sys_sendfile64+0xbe/0x140 fs/read_write.c:1511 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 8793 Comm: syz-executor.4 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================