================================================================== BUG: KCSAN: data-race in file_update_time / inode_update_timestamps read to 0xffff888106202a14 of 4 bytes by task 3412 on cpu 0: inode_get_mtime_nsec include/linux/fs.h:1589 [inline] inode_get_mtime include/linux/fs.h:1595 [inline] inode_needs_update_time fs/inode.c:2140 [inline] file_update_time+0x98/0x2c0 fs/inode.c:2187 pipe_write+0xa87/0xd30 fs/pipe.c:607 new_sync_write fs/read_write.c:497 [inline] vfs_write+0x78f/0x900 fs/read_write.c:590 ksys_write+0xeb/0x1b0 fs/read_write.c:643 __do_sys_write fs/read_write.c:655 [inline] __se_sys_write fs/read_write.c:652 [inline] __x64_sys_write+0x42/0x50 fs/read_write.c:652 x64_sys_call+0x27dd/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f write to 0xffff888106202a14 of 4 bytes by task 3402 on cpu 1: inode_set_mtime_to_ts include/linux/fs.h:1603 [inline] inode_update_timestamps+0x166/0x280 fs/inode.c:1917 generic_update_time fs/inode.c:1952 [inline] inode_update_time fs/inode.c:1972 [inline] __file_update_time fs/inode.c:2161 [inline] file_update_time+0x229/0x2c0 fs/inode.c:2191 pipe_write+0xa87/0xd30 fs/pipe.c:607 new_sync_write fs/read_write.c:497 [inline] vfs_write+0x78f/0x900 fs/read_write.c:590 ksys_write+0xeb/0x1b0 fs/read_write.c:643 __do_sys_write fs/read_write.c:655 [inline] __se_sys_write fs/read_write.c:652 [inline] __x64_sys_write+0x42/0x50 fs/read_write.c:652 x64_sys_call+0x27dd/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x27b9d6ef -> 0x343e2f73 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3402 Comm: syz.4.50 Not tainted 6.10.0-syzkaller-05505-gb1bc554e009e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 ==================================================================