================================================================== BUG: KCSAN: data-race in ext4_writepages / generic_write_end write to 0xffff88811e1707d8 of 8 bytes by task 7641 on cpu 0: i_size_write include/linux/fs.h:913 [inline] generic_write_end+0x96/0x180 fs/buffer.c:2186 ext4_da_write_end+0x4de/0x630 fs/ext4/inode.c:3059 generic_perform_write+0x261/0x400 mm/filemap.c:3767 ext4_buffered_write_iter+0x25b/0x380 fs/ext4/file.c:269 ext4_file_write_iter+0x2e7/0x1200 call_write_iter include/linux/fs.h:2162 [inline] new_sync_write fs/read_write.c:503 [inline] vfs_write+0x7f5/0x950 fs/read_write.c:590 ksys_write+0xd9/0x190 fs/read_write.c:643 __do_sys_write fs/read_write.c:655 [inline] __se_sys_write fs/read_write.c:652 [inline] __x64_sys_write+0x3e/0x50 fs/read_write.c:652 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff88811e1707d8 of 8 bytes by task 7652 on cpu 1: i_size_read include/linux/fs.h:891 [inline] mpage_submit_page fs/ext4/inode.c:2089 [inline] mpage_map_and_submit_buffers fs/ext4/inode.c:2343 [inline] mpage_map_and_submit_extent fs/ext4/inode.c:2482 [inline] ext4_writepages+0x10b6/0x1e80 fs/ext4/inode.c:2795 do_writepages+0x1cb/0x330 mm/page-writeback.c:2364 filemap_fdatawrite_wbc mm/filemap.c:407 [inline] __filemap_fdatawrite_range mm/filemap.c:440 [inline] filemap_write_and_wait_range+0x1b2/0x340 mm/filemap.c:718 ext4_punch_hole+0x14c/0xa20 fs/ext4/inode.c:3959 ext4_fallocate+0xea/0x540 fs/ext4/extents.c:4703 vfs_fallocate+0x486/0x720 fs/open.c:307 ksys_fallocate fs/open.c:330 [inline] __do_sys_fallocate fs/open.c:338 [inline] __se_sys_fallocate fs/open.c:336 [inline] __x64_sys_fallocate+0x75/0xc0 fs/open.c:336 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x0000000000191000 -> 0x0000000000192000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 7652 Comm: syz-executor.5 Not tainted 5.16.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================