================================================================== BUG: KCSAN: data-race in generic_buffers_fsync_noflush / writeback_single_inode write to 0xffff888106377b68 of 4 bytes by task 11724 on cpu 1: writeback_single_inode+0x14f/0x3f0 fs/fs-writeback.c:1798 sync_inode_metadata+0x60/0x90 fs/fs-writeback.c:2883 generic_buffers_fsync_noflush+0xd8/0x120 fs/buffer.c:610 ext4_fsync_nojournal fs/ext4/fsync.c:88 [inline] ext4_sync_file+0x1c3/0x6c0 fs/ext4/fsync.c:147 vfs_fsync_range+0x116/0x130 fs/sync.c:187 generic_write_sync include/linux/fs.h:2976 [inline] ext4_buffered_write_iter+0x358/0x3c0 fs/ext4/file.c:305 ext4_file_write_iter+0x3b2/0xf80 include/linux/fs.h:-1 iter_file_splice_write+0x5f2/0x980 fs/splice.c:738 do_splice_from fs/splice.c:935 [inline] direct_splice_actor+0x160/0x2c0 fs/splice.c:1158 splice_direct_to_actor+0x305/0x680 fs/splice.c:1102 do_splice_direct_actor fs/splice.c:1201 [inline] do_splice_direct+0xd9/0x150 fs/splice.c:1227 do_sendfile+0x40a/0x690 fs/read_write.c:1368 __do_sys_sendfile64 fs/read_write.c:1429 [inline] __se_sys_sendfile64 fs/read_write.c:1415 [inline] __x64_sys_sendfile64+0x113/0x160 fs/read_write.c:1415 x64_sys_call+0xfc3/0x2e10 arch/x86/include/generated/asm/syscalls_64.h:41 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888106377b68 of 4 bytes by task 11716 on cpu 0: generic_buffers_fsync_noflush+0x83/0x120 fs/buffer.c:605 ext4_fsync_nojournal fs/ext4/fsync.c:88 [inline] ext4_sync_file+0x1c3/0x6c0 fs/ext4/fsync.c:147 vfs_fsync_range+0x116/0x130 fs/sync.c:187 generic_write_sync include/linux/fs.h:2976 [inline] ext4_buffered_write_iter+0x358/0x3c0 fs/ext4/file.c:305 ext4_file_write_iter+0x3b2/0xf80 include/linux/fs.h:-1 iter_file_splice_write+0x5f2/0x980 fs/splice.c:738 do_splice_from fs/splice.c:935 [inline] direct_splice_actor+0x160/0x2c0 fs/splice.c:1158 splice_direct_to_actor+0x305/0x680 fs/splice.c:1102 do_splice_direct_actor fs/splice.c:1201 [inline] do_splice_direct+0xd9/0x150 fs/splice.c:1227 do_sendfile+0x40a/0x690 fs/read_write.c:1368 __do_sys_sendfile64 fs/read_write.c:1429 [inline] __se_sys_sendfile64 fs/read_write.c:1415 [inline] __x64_sys_sendfile64+0x113/0x160 fs/read_write.c:1415 x64_sys_call+0xfc3/0x2e10 arch/x86/include/generated/asm/syscalls_64.h:41 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00000028 -> 0x00000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 11716 Comm: syz.0.3011 Not tainted 6.14.0-syzkaller-12886-ga1b5bd45d4ee #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 ==================================================================