================================================================== BUG: KCSAN: data-race in ext4_setattr / mpage_process_page_bufs write to 0xffff8880b99099d8 of 8 bytes by task 7660 on cpu 1: i_size_write include/linux/fs.h:888 [inline] ext4_setattr+0xef4/0x1620 fs/ext4/inode.c:5642 notify_change+0x7e1/0xaa0 fs/attr.c:337 do_truncate+0xfb/0x180 fs/open.c:64 handle_truncate fs/namei.c:2998 [inline] do_last fs/namei.c:3414 [inline] path_openat+0x2f4a/0x36e0 fs/namei.c:3525 do_filp_open+0x11e/0x1b0 fs/namei.c:3555 do_sys_open+0x3b3/0x4f0 fs/open.c:1097 __do_sys_openat fs/open.c:1124 [inline] __se_sys_openat fs/open.c:1118 [inline] __x64_sys_openat+0x62/0x80 fs/open.c:1118 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff8880b99099d8 of 8 bytes by task 7659 on cpu 0: mpage_process_page_bufs+0x41/0x3d0 fs/ext4/inode.c:2314 mpage_prepare_extent_to_map+0x48b/0x760 fs/ext4/inode.c:2694 ext4_writepages+0xb2b/0x2300 fs/ext4/inode.c:2866 do_writepages+0x6b/0x170 mm/page-writeback.c:2344 __filemap_fdatawrite_range+0x1c5/0x230 mm/filemap.c:420 __filemap_fdatawrite mm/filemap.c:428 [inline] filemap_flush+0x2d/0x40 mm/filemap.c:455 ext4_alloc_da_blocks+0x78/0x180 fs/ext4/inode.c:3243 ext4_ioctl+0xeb1/0x3130 fs/ext4/ioctl.c:1045 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:509 [inline] do_vfs_ioctl+0x991/0xc60 fs/ioctl.c:696 ksys_ioctl+0xbd/0xe0 fs/ioctl.c:713 __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl fs/ioctl.c:718 [inline] __x64_sys_ioctl+0x4c/0x60 fs/ioctl.c:718 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 7659 Comm: syz-executor.2 Not tainted 5.4.0-rc3+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================