================================================================== BUG: KCSAN: data-race in block_write_full_page / truncate_setsize write to 0xffff88812525b758 of 8 bytes by task 21288 on cpu 1: i_size_write include/linux/fs.h:888 [inline] truncate_setsize+0x3a/0x90 mm/truncate.c:839 fat_setattr+0x7fa/0x840 fs/fat/file.c:536 notify_change+0x7e1/0xaa0 fs/attr.c:337 do_truncate+0xfb/0x180 fs/open.c:64 handle_truncate fs/namei.c:3015 [inline] do_last fs/namei.c:3426 [inline] path_openat+0x13e8/0x3580 fs/namei.c:3537 do_filp_open+0x11e/0x1b0 fs/namei.c:3567 do_sys_open+0x3b3/0x4f0 fs/open.c:1097 ksys_open include/linux/syscalls.h:1385 [inline] __do_sys_creat fs/open.c:1155 [inline] __se_sys_creat fs/open.c:1153 [inline] __x64_sys_creat+0x45/0x60 fs/open.c:1153 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88812525b758 of 8 bytes by task 21255 on cpu 0: block_write_full_page+0x4d/0x1e0 fs/buffer.c:2963 fat_writepage+0x2e/0x40 fs/fat/inode.c:198 __mpage_writepage+0x837/0xe70 fs/mpage.c:678 write_cache_pages+0x47a/0xb40 mm/page-writeback.c:2238 mpage_writepages+0xab/0x180 fs/mpage.c:730 fat_writepages+0x2e/0x40 fs/fat/inode.c:204 do_writepages+0x6b/0x170 mm/page-writeback.c:2344 __filemap_fdatawrite_range+0x1c5/0x230 mm/filemap.c:421 file_write_and_wait_range+0xfd/0x160 mm/filemap.c:782 __generic_file_fsync+0x59/0x190 fs/libfs.c:1000 fat_file_fsync+0x58/0x120 fs/fat/file.c:190 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] aio_write+0x1de/0x2d0 fs/aio.c:1583 __io_submit_one fs/aio.c:1815 [inline] io_submit_one+0x61d/0xdb0 fs/aio.c:1862 __do_sys_io_submit fs/aio.c:1921 [inline] __se_sys_io_submit fs/aio.c:1891 [inline] __x64_sys_io_submit+0x104/0x2a0 fs/aio.c:1891 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: 21255 Comm: syz-executor.5 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================