================================================================== BUG: KCSAN: data-race in next_uptodate_page / truncate_setsize read-write to 0xffff88813488b768 of 8 bytes by task 16898 on cpu 0: truncate_setsize+0x21/0xb0 fat_setattr+0x8ea/0xa00 notify_change+0x9f6/0xb10 do_truncate+0x116/0x150 vfs_truncate+0x1e4/0x230 do_sys_truncate+0x98/0x130 __x64_sys_truncate+0x31/0x40 do_syscall_64+0x41/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff88813488b768 of 8 bytes by task 16882 on cpu 1: next_uptodate_page+0x47b/0x560 filemap_map_pages+0x722/0x830 handle_mm_fault+0x1044/0x24d0 __get_user_pages+0x353/0xc60 __mm_populate+0x23a/0x360 vm_mmap_pgoff+0x174/0x210 ksys_mmap_pgoff+0x2ac/0x320 do_syscall_64+0x41/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x000000000003fff7 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 16882 Comm: syz-executor.4 Tainted: G W 6.2.0-rc7-syzkaller-00018-g0983f6bf2bfc-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 ==================================================================