================================================================== BUG: KCSAN: data-race in block_read_full_folio / truncate_setsize read-write to 0xffff8881065b46f8 of 8 bytes by task 24796 on cpu 1: i_size_write include/linux/fs.h:932 [inline] truncate_setsize+0x21/0xb0 mm/truncate.c:763 fat_setattr+0x71f/0x840 fs/fat/file.c:550 notify_change+0x866/0x8e0 fs/attr.c:499 do_truncate+0x116/0x150 fs/open.c:66 handle_truncate fs/namei.c:3298 [inline] do_open fs/namei.c:3643 [inline] path_openat+0x1993/0x1d10 fs/namei.c:3796 do_filp_open+0xf6/0x200 fs/namei.c:3823 do_sys_openat2+0xab/0x110 fs/open.c:1422 do_sys_open fs/open.c:1437 [inline] __do_sys_creat fs/open.c:1513 [inline] __se_sys_creat fs/open.c:1507 [inline] __x64_sys_creat+0x66/0x90 fs/open.c:1507 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff8881065b46f8 of 8 bytes by task 24770 on cpu 0: i_size_read include/linux/fs.h:910 [inline] block_read_full_folio+0x6f/0x710 fs/buffer.c:2372 do_mpage_readpage+0xc48/0xd90 fs/mpage.c:325 mpage_read_folio+0x5b/0xd0 fs/mpage.c:400 fat_read_folio+0x1c/0x20 fs/fat/inode.c:205 filemap_read_folio mm/filemap.c:2382 [inline] filemap_update_page mm/filemap.c:2466 [inline] filemap_get_pages+0xc09/0xe90 mm/filemap.c:2580 filemap_splice_read+0x238/0x7f0 mm/filemap.c:2919 vfs_splice_read fs/splice.c:993 [inline] splice_direct_to_actor+0x28c/0x690 fs/splice.c:1069 do_splice_direct+0x10d/0x190 fs/splice.c:1194 do_sendfile+0x3b6/0x9a0 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1322 [inline] __se_sys_sendfile64 fs/read_write.c:1308 [inline] __x64_sys_sendfile64+0x110/0x150 fs/read_write.c:1308 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x000000000005d459 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 24770 Comm: syz-executor.0 Not tainted 6.6.0-rc5-syzkaller-00234-g8cb1f10d8c4b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 ==================================================================