================================================================== BUG: KCSAN: data-race in filemap_fault / generic_write_end write to 0xffff8881228c4788 of 8 bytes by task 882 on cpu 1: i_size_write include/linux/fs.h:878 [inline] generic_write_end+0x98/0x230 fs/buffer.c:2183 ext4_da_write_end+0x446/0x510 fs/ext4/inode.c:3068 generic_perform_write+0x26a/0x3f0 mm/filemap.c:3798 ext4_buffered_write_iter+0x199/0x280 fs/ext4/file.c:270 ext4_file_write_iter+0x211/0xdf0 call_write_iter include/linux/fs.h:2050 [inline] new_sync_write fs/read_write.c:504 [inline] vfs_write+0x71c/0x890 fs/read_write.c:591 ksys_write+0xe8/0x1a0 fs/read_write.c:644 __do_sys_write fs/read_write.c:656 [inline] __se_sys_write fs/read_write.c:653 [inline] __x64_sys_write+0x3e/0x50 fs/read_write.c:653 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff8881228c4788 of 8 bytes by task 888 on cpu 0: i_size_read include/linux/fs.h:856 [inline] filemap_fault+0x8a/0x740 mm/filemap.c:3114 __do_fault mm/memory.c:3915 [inline] do_cow_fault+0x225/0x610 mm/memory.c:4270 do_fault+0x351/0xb20 mm/memory.c:4371 handle_pte_fault mm/memory.c:4627 [inline] __handle_mm_fault mm/memory.c:4763 [inline] handle_mm_fault+0x825/0xa40 mm/memory.c:4861 faultin_page mm/gup.c:878 [inline] __get_user_pages+0x306/0xb80 mm/gup.c:1099 populate_vma_page_range mm/gup.c:1442 [inline] __mm_populate+0x26e/0x3a0 mm/gup.c:1555 mm_populate include/linux/mm.h:2701 [inline] vm_mmap_pgoff+0x160/0x1f0 mm/util.c:524 ksys_mmap_pgoff+0x265/0x320 mm/mmap.c:1628 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x0000000000f6b000 -> 0x0000000000f6e000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 888 Comm: syz-executor.0 Not tainted 5.18.0-rc4-syzkaller-00291-g8013d1d3d2e3-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================