================================================================== BUG: KCSAN: data-race in ext4_ext_insert_extent / ext4_mark_iloc_dirty write to 0xffff888106b12962 of 2 bytes by task 21004 on cpu 1: le16_add_cpu include/linux/byteorder/generic.h:146 [inline] ext4_ext_insert_extent+0x1a18/0x2c70 fs/ext4/extents.c:2117 ext4_ext_map_blocks+0x167d/0x1f00 fs/ext4/extents.c:4266 ext4_map_blocks+0x70d/0xef0 fs/ext4/inode.c:638 mpage_map_one_extent+0x10d/0x360 fs/ext4/inode.c:2395 mpage_map_and_submit_extent fs/ext4/inode.c:2448 [inline] ext4_writepages+0xc1a/0x1d10 fs/ext4/inode.c:2800 do_writepages+0x7b/0x150 mm/page-writeback.c:2355 __filemap_fdatawrite_range mm/filemap.c:413 [inline] filemap_write_and_wait_range+0x20a/0x390 mm/filemap.c:686 __iomap_dio_rw+0x4cd/0xa60 fs/iomap/direct-io.c:533 iomap_dio_rw+0x30/0x70 fs/iomap/direct-io.c:649 ext4_dio_read_iter fs/ext4/file.c:77 [inline] ext4_file_read_iter+0x21a/0x290 fs/ext4/file.c:128 call_read_iter include/linux/fs.h:2108 [inline] generic_file_splice_read+0x22a/0x310 fs/splice.c:311 do_splice_to fs/splice.c:796 [inline] splice_direct_to_actor+0x2aa/0x650 fs/splice.c:870 do_splice_direct+0xf5/0x170 fs/splice.c:979 do_sendfile+0x773/0xda0 fs/read_write.c:1260 __do_sys_sendfile64 fs/read_write.c:1325 [inline] __se_sys_sendfile64 fs/read_write.c:1311 [inline] __x64_sys_sendfile64+0xf2/0x130 fs/read_write.c:1311 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888106b12960 of 4 bytes by task 21003 on cpu 0: ext4_do_update_inode fs/ext4/inode.c:5109 [inline] ext4_mark_iloc_dirty+0xca6/0x1750 fs/ext4/inode.c:5724 __ext4_mark_inode_dirty+0x4db/0x5b0 fs/ext4/inode.c:5918 ext4_dirty_inode+0x86/0xa0 fs/ext4/inode.c:5947 __mark_inode_dirty+0x77/0x680 fs/fs-writeback.c:2398 generic_update_time fs/inode.c:1772 [inline] update_time fs/inode.c:1785 [inline] touch_atime+0x170/0x240 fs/inode.c:1856 file_accessed include/linux/fs.h:2455 [inline] filemap_read+0x11b9/0x1220 mm/filemap.c:2622 generic_file_read_iter+0x75/0x2c0 mm/filemap.c:2701 ext4_file_read_iter+0x1db/0x290 fs/ext4/file.c:73 call_read_iter include/linux/fs.h:2108 [inline] generic_file_splice_read+0x22a/0x310 fs/splice.c:311 do_splice_to fs/splice.c:796 [inline] splice_direct_to_actor+0x2aa/0x650 fs/splice.c:870 do_splice_direct+0xf5/0x170 fs/splice.c:979 do_sendfile+0x773/0xda0 fs/read_write.c:1260 __do_sys_sendfile64 fs/read_write.c:1325 [inline] __se_sys_sendfile64 fs/read_write.c:1311 [inline] __x64_sys_sendfile64+0xf2/0x130 fs/read_write.c:1311 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x0001f30a -> 0x0002f30a Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 21003 Comm: syz-executor.5 Tainted: G W 5.14.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================