================================================================== BUG: KCSAN: data-race in vfs_fsync_range / writeback_single_inode write to 0xffff888134d56d30 of 8 bytes by task 5687 on cpu 1: writeback_single_inode+0x109/0x4f0 fs/fs-writeback.c:1705 sync_inode_metadata+0x52/0x70 fs/fs-writeback.c:2743 __generic_file_fsync+0xf5/0x140 fs/libfs.c:1126 fat_file_fsync+0x48/0x100 fs/fat/file.c:191 vfs_fsync_range+0x107/0x120 fs/sync.c:188 generic_write_sync include/linux/fs.h:2870 [inline] generic_file_write_iter+0x18d/0x1c0 mm/filemap.c:3902 do_iter_write+0x494/0x750 fs/read_write.c:857 vfs_iter_write+0x4c/0x70 fs/read_write.c:898 iter_file_splice_write+0x44a/0x7c0 fs/splice.c:689 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0x80/0xa0 fs/splice.c:934 splice_direct_to_actor+0x305/0x620 fs/splice.c:889 do_splice_direct+0xfb/0x180 fs/splice.c:977 do_sendfile+0x3bf/0x910 fs/read_write.c:1251 __do_sys_sendfile64 fs/read_write.c:1313 [inline] __se_sys_sendfile64 fs/read_write.c:1305 [inline] __x64_sys_sendfile64+0xb9/0x150 fs/read_write.c:1305 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff888134d56d30 of 8 bytes by task 5663 on cpu 0: vfs_fsync_range+0x98/0x120 fs/sync.c:186 generic_write_sync include/linux/fs.h:2870 [inline] generic_file_write_iter+0x18d/0x1c0 mm/filemap.c:3902 do_iter_write+0x494/0x750 fs/read_write.c:857 vfs_iter_write+0x4c/0x70 fs/read_write.c:898 iter_file_splice_write+0x44a/0x7c0 fs/splice.c:689 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0x80/0xa0 fs/splice.c:934 splice_direct_to_actor+0x305/0x620 fs/splice.c:889 do_splice_direct+0xfb/0x180 fs/splice.c:977 do_sendfile+0x3bf/0x910 fs/read_write.c:1251 __do_sys_sendfile64 fs/read_write.c:1313 [inline] __se_sys_sendfile64 fs/read_write.c:1305 [inline] __x64_sys_sendfile64+0xb9/0x150 fs/read_write.c:1305 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x0000000000000007 -> 0x0000000000000084 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 5663 Comm: syz-executor.2 Not tainted 5.19.0-syzkaller-12716-g4e23eeebb2e5-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 ==================================================================