================================================================== BUG: KCSAN: data-race in ext4_setattr / filemap_map_pages write to 0xffff88811d1485b8 of 8 bytes by task 13912 on cpu 0: i_size_write include/linux/fs.h:894 [inline] ext4_setattr+0xd58/0x1290 fs/ext4/inode.c:5365 notify_change+0x82b/0xad0 fs/attr.c:336 do_truncate+0xf9/0x180 fs/open.c:64 handle_truncate fs/namei.c:2887 [inline] do_open fs/namei.c:3233 [inline] path_openat+0x1e51/0x23d0 fs/namei.c:3346 do_filp_open+0x11e/0x1b0 fs/namei.c:3373 do_sys_openat2+0x52e/0x680 fs/open.c:1148 do_sys_open+0xa2/0x110 fs/open.c:1164 __do_sys_openat fs/open.c:1178 [inline] __se_sys_openat fs/open.c:1173 [inline] __x64_sys_openat+0x5d/0x70 fs/open.c:1173 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88811d1485b8 of 8 bytes by task 13928 on cpu 1: filemap_map_pages+0x859/0x9d0 mm/filemap.c:2628 do_fault_around mm/memory.c:3807 [inline] do_read_fault mm/memory.c:3841 [inline] do_fault mm/memory.c:3975 [inline] handle_pte_fault mm/memory.c:4215 [inline] __handle_mm_fault+0x28c3/0x2ec0 mm/memory.c:4345 handle_mm_fault+0x21c/0x540 mm/memory.c:4382 do_user_addr_fault arch/x86/mm/fault.c:1464 [inline] do_page_fault+0x48a/0xa96 arch/x86/mm/fault.c:1535 page_fault+0x34/0x40 arch/x86/entry/entry_64.S:1203 copy_user_enhanced_fast_string+0x22/0x30 arch/x86/lib/copy_user_64.S:234 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline] raw_copy_from_user arch/x86/include/asm/uaccess_64.h:68 [inline] copyin+0x92/0xb0 lib/iov_iter.c:152 _copy_from_iter_full+0x14e/0x580 lib/iov_iter.c:790 copy_from_iter_full include/linux/uio.h:156 [inline] tipc_msg_build+0x278/0xce0 net/tipc/msg.c:417 __tipc_sendstream+0x4aa/0x910 net/tipc/socket.c:1559 tipc_sendstream+0x44/0x60 net/tipc/socket.c:1504 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg+0x98/0xc0 net/socket.c:672 sock_write_iter+0x186/0x240 net/socket.c:1004 call_write_iter include/linux/fs.h:1907 [inline] new_sync_write+0x303/0x400 fs/read_write.c:484 __vfs_write+0x9e/0xb0 fs/read_write.c:497 vfs_write fs/read_write.c:559 [inline] vfs_write+0x189/0x380 fs/read_write.c:543 ksys_write+0x16a/0x1a0 fs/read_write.c:612 __do_sys_write fs/read_write.c:624 [inline] __se_sys_write fs/read_write.c:621 [inline] __x64_sys_write+0x49/0x60 fs/read_write.c:621 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 13928 Comm: syz-executor.5 Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================