================================================================== BUG: KCSAN: data-race in ext4_setattr / mpage_process_page_bufs write to 0xffff8880ab99d278 of 8 bytes by task 28439 on cpu 0: i_size_write include/linux/fs.h:888 [inline] ext4_setattr+0xcf3/0x1670 fs/ext4/inode.c:5310 notify_change+0x7e1/0xaa0 fs/attr.c:337 do_truncate+0xfb/0x180 fs/open.c:64 handle_truncate fs/namei.c:3015 [inline] do_last fs/namei.c:3426 [inline] path_openat+0x13e8/0x3580 fs/namei.c:3537 do_filp_open+0x11e/0x1b0 fs/namei.c:3567 do_sys_open+0x3b3/0x4f0 fs/open.c:1097 ksys_open include/linux/syscalls.h:1385 [inline] __do_sys_creat fs/open.c:1155 [inline] __se_sys_creat fs/open.c:1153 [inline] __x64_sys_creat+0x45/0x60 fs/open.c:1153 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff8880ab99d278 of 8 bytes by task 28105 on cpu 1: mpage_process_page_bufs+0x40/0x400 fs/ext4/inode.c:2167 mpage_prepare_extent_to_map+0x48b/0x760 fs/ext4/inode.c:2596 ext4_writepages+0xb72/0x2500 fs/ext4/inode.c:2768 do_writepages+0x6b/0x170 mm/page-writeback.c:2344 __filemap_fdatawrite_range+0x1c5/0x230 mm/filemap.c:421 file_write_and_wait_range+0xfd/0x160 mm/filemap.c:782 ext4_sync_file+0x266/0xaf0 fs/ext4/fsync.c:153 vfs_fsync_range+0x82/0x150 fs/sync.c:197 generic_write_sync include/linux/fs.h:2856 [inline] ext4_buffered_write_iter+0x222/0x290 fs/ext4/file.c:259 ext4_dio_write_iter fs/ext4/file.c:455 [inline] ext4_file_write_iter+0x494/0xd40 fs/ext4/file.c:545 call_write_iter include/linux/fs.h:1902 [inline] aio_write+0x1de/0x2d0 fs/aio.c:1583 __io_submit_one fs/aio.c:1815 [inline] io_submit_one+0x61d/0xdb0 fs/aio.c:1862 __do_sys_io_submit fs/aio.c:1921 [inline] __se_sys_io_submit fs/aio.c:1891 [inline] __x64_sys_io_submit+0x104/0x2a0 fs/aio.c:1891 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 28105 Comm: syz-executor.3 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================