================================================================== BUG: KCSAN: data-race in wbc_detach_inode / wbc_detach_inode read to 0xffff888128ada7ac of 2 bytes by task 12144 on cpu 1: wbc_detach_inode+0x95/0x550 fs/fs-writeback.c:639 __filemap_fdatawrite_range+0x1d4/0x230 mm/filemap.c:422 file_write_and_wait_range+0xfd/0x160 mm/filemap.c:782 __generic_file_fsync+0x59/0x190 fs/libfs.c:1000 ext4_sync_file+0x48e/0xb00 fs/ext4/fsync.c:120 vfs_fsync_range+0x82/0x150 fs/sync.c:197 generic_write_sync include/linux/fs.h:2853 [inline] ext4_file_write_iter+0x45b/0xa00 fs/ext4/file.c:279 call_write_iter include/linux/fs.h:1895 [inline] do_iter_readv_writev+0x487/0x5b0 fs/read_write.c:693 do_iter_write fs/read_write.c:970 [inline] do_iter_write+0x13b/0x3c0 fs/read_write.c:951 vfs_iter_write+0x5c/0x80 fs/read_write.c:983 iter_file_splice_write+0x4c0/0x7f0 fs/splice.c:746 do_splice_from fs/splice.c:848 [inline] direct_splice_actor+0xa0/0xc0 fs/splice.c:1020 splice_direct_to_actor+0x215/0x510 fs/splice.c:975 do_splice_direct+0x161/0x1e0 fs/splice.c:1063 do_sendfile+0x384/0x7f0 fs/read_write.c:1464 __do_sys_sendfile64 fs/read_write.c:1519 [inline] __se_sys_sendfile64 fs/read_write.c:1511 [inline] __x64_sys_sendfile64+0xbe/0x140 fs/read_write.c:1511 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffff888128ada7ac of 2 bytes by task 2602 on cpu 0: wbc_detach_inode+0x260/0x550 fs/fs-writeback.c:705 writeback_sb_inodes+0x4c6/0xa50 fs/fs-writeback.c:1718 __writeback_inodes_wb+0xe8/0x1b0 fs/fs-writeback.c:1785 wb_writeback+0x557/0x6a0 fs/fs-writeback.c:1894 wb_check_start_all fs/fs-writeback.c:2018 [inline] wb_do_writeback fs/fs-writeback.c:2044 [inline] wb_workfn+0x748/0x970 fs/fs-writeback.c:2078 process_one_work+0x3d4/0x890 kernel/workqueue.c:2269 worker_thread+0xa0/0x800 kernel/workqueue.c:2415 kthread+0x1d4/0x200 drivers/block/aoe/aoecmd.c:1253 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 2602 Comm: kworker/u4:4 Not tainted 5.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: writeback wb_workfn (flush-8:0) ==================================================================