================================================================== BUG: KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode read-write to 0xffff88811a0701a0 of 4 bytes by task 6187 on cpu 0: __writeback_single_inode+0x1e3/0x7c0 fs/fs-writeback.c:1716 writeback_single_inode+0x167/0x3e0 fs/fs-writeback.c:1801 sync_inode_metadata+0x5b/0x90 fs/fs-writeback.c:2884 generic_buffers_fsync_noflush+0xd9/0x120 fs/buffer.c:619 ext4_fsync_nojournal fs/ext4/fsync.c:88 [inline] ext4_sync_file+0x1ab/0x690 fs/ext4/fsync.c:147 vfs_fsync_range+0x10d/0x130 fs/sync.c:187 generic_write_sync include/linux/fs.h:3042 [inline] ext4_buffered_write_iter+0x34f/0x3c0 fs/ext4/file.c:305 ext4_dio_write_iter fs/ext4/file.c:613 [inline] ext4_file_write_iter+0xdbf/0xf00 fs/ext4/file.c:721 iter_file_splice_write+0x663/0xa60 fs/splice.c:738 do_splice_from fs/splice.c:938 [inline] direct_splice_actor+0x153/0x2a0 fs/splice.c:1161 splice_direct_to_actor+0x30f/0x680 fs/splice.c:1105 do_splice_direct_actor fs/splice.c:1204 [inline] do_splice_direct+0xda/0x150 fs/splice.c:1230 do_sendfile+0x380/0x650 fs/read_write.c:1370 __do_sys_sendfile64 fs/read_write.c:1431 [inline] __se_sys_sendfile64 fs/read_write.c:1417 [inline] __x64_sys_sendfile64+0x105/0x150 fs/read_write.c:1417 x64_sys_call+0x2bb0/0x2ff0 arch/x86/include/generated/asm/syscalls_64.h:41 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff88811a0701a0 of 4 bytes by task 6179 on cpu 1: __mark_inode_dirty+0x191/0x750 fs/fs-writeback.c:2549 mark_buffer_dirty+0x133/0x210 fs/buffer.c:1209 block_commit_write fs/buffer.c:2218 [inline] block_write_end+0x12d/0x210 fs/buffer.c:2294 ext4_write_end+0x134/0x730 fs/ext4/inode.c:1448 generic_perform_write+0x312/0x490 mm/filemap.c:4196 ext4_buffered_write_iter+0x1ee/0x3c0 fs/ext4/file.c:299 ext4_dio_write_iter fs/ext4/file.c:613 [inline] ext4_file_write_iter+0xdbf/0xf00 fs/ext4/file.c:721 iter_file_splice_write+0x663/0xa60 fs/splice.c:738 do_splice_from fs/splice.c:938 [inline] direct_splice_actor+0x153/0x2a0 fs/splice.c:1161 splice_direct_to_actor+0x30f/0x680 fs/splice.c:1105 do_splice_direct_actor fs/splice.c:1204 [inline] do_splice_direct+0xda/0x150 fs/splice.c:1230 do_sendfile+0x380/0x650 fs/read_write.c:1370 __do_sys_sendfile64 fs/read_write.c:1431 [inline] __se_sys_sendfile64 fs/read_write.c:1417 [inline] __x64_sys_sendfile64+0x105/0x150 fs/read_write.c:1417 x64_sys_call+0x2bb0/0x2ff0 arch/x86/include/generated/asm/syscalls_64.h:41 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0000003a -> 0x00000022 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 6179 Comm: syz.5.953 Not tainted syzkaller #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 ==================================================================