================================================================== BUG: KCSAN: data-race in ext4_ext_insert_extent / ext4_mark_iloc_dirty read-write to 0xffff888009a401c2 of 2 bytes by task 18239 on cpu 1: le16_add_cpu include/linux/byteorder/generic.h:146 [inline] ext4_ext_insert_extent+0x1981/0x2b50 fs/ext4/extents.c:2112 ext4_ext_map_blocks+0x1761/0x1fd0 fs/ext4/extents.c:4261 ext4_map_blocks+0x71b/0xfc0 fs/ext4/inode.c:626 mpage_map_one_extent+0x10d/0x390 fs/ext4/inode.c:2385 mpage_map_and_submit_extent fs/ext4/inode.c:2438 [inline] ext4_writepages+0xa2c/0x1e10 fs/ext4/inode.c:2790 do_writepages+0x7b/0x150 mm/page-writeback.c:2352 __writeback_single_inode+0x84/0x560 fs/fs-writeback.c:1461 writeback_sb_inodes+0x6a0/0x1020 fs/fs-writeback.c:1721 wb_writeback+0x27d/0x660 fs/fs-writeback.c:1894 wb_do_writeback+0x101/0x5d0 fs/fs-writeback.c:2039 wb_workfn+0xb8/0x410 fs/fs-writeback.c:2080 process_one_work+0x3e1/0x950 kernel/workqueue.c:2272 worker_thread+0x635/0xb90 kernel/workqueue.c:2418 kthread+0x1fa/0x220 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 read to 0xffff888009a401c0 of 4 bytes by task 28580 on cpu 0: ext4_do_update_inode fs/ext4/inode.c:5102 [inline] ext4_mark_iloc_dirty+0xcc0/0x1650 fs/ext4/inode.c:5709 __ext4_mark_inode_dirty+0x450/0x610 fs/ext4/inode.c:5903 ext4_dirty_inode+0xa6/0xc0 fs/ext4/inode.c:5939 __mark_inode_dirty+0x74/0x740 fs/fs-writeback.c:2260 mark_inode_dirty include/linux/fs.h:2167 [inline] generic_write_end+0x15e/0x250 fs/buffer.c:2202 ext4_da_write_end+0x59b/0x760 fs/ext4/inode.c:3100 generic_perform_write+0x23e/0x3a0 mm/filemap.c:3322 ext4_buffered_write_iter+0x2e5/0x3d0 fs/ext4/file.c:270 ext4_file_write_iter+0x45e/0x1090 fs/ext4/file.c:503 call_write_iter include/linux/fs.h:1887 [inline] do_iter_readv_writev+0x2cb/0x360 fs/read_write.c:740 do_iter_write+0x112/0x4b0 fs/read_write.c:866 vfs_iter_write+0x4c/0x70 fs/read_write.c:907 iter_file_splice_write+0x42a/0x780 fs/splice.c:686 do_splice_from fs/splice.c:764 [inline] direct_splice_actor+0x80/0xa0 fs/splice.c:933 splice_direct_to_actor+0x345/0x650 fs/splice.c:888 do_splice_direct+0xf5/0x170 fs/splice.c:976 do_sendfile+0x574/0xb70 fs/read_write.c:1257 __do_sys_sendfile64 fs/read_write.c:1318 [inline] __se_sys_sendfile64 fs/read_write.c:1304 [inline] __x64_sys_sendfile64+0xf2/0x130 fs/read_write.c:1304 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 28580 Comm: syz-executor.0 Not tainted 5.10.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================