================================================================== BUG: KCSAN: data-race in __mark_inode_dirty / __mark_inode_dirty write to 0xffff8881397415e8 of 8 bytes by task 16661 on cpu 1: __mark_inode_dirty+0x250/0x7d0 fs/fs-writeback.c:2461 generic_update_time fs/inode.c:1900 [inline] inode_update_time fs/inode.c:1913 [inline] touch_atime+0x1e2/0x310 fs/inode.c:1985 file_accessed include/linux/fs.h:2208 [inline] shmem_file_read_iter+0x4d4/0x570 mm/shmem.c:2730 call_read_iter include/linux/fs.h:1871 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x3da/0x5c0 fs/read_write.c:470 ksys_read+0xeb/0x1a0 fs/read_write.c:613 __do_sys_read fs/read_write.c:623 [inline] __se_sys_read fs/read_write.c:621 [inline] __x64_sys_read+0x42/0x50 fs/read_write.c:621 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff8881397415e8 of 8 bytes by task 3186 on cpu 0: __mark_inode_dirty+0x58/0x7d0 fs/fs-writeback.c:2412 generic_update_time fs/inode.c:1900 [inline] inode_update_time fs/inode.c:1913 [inline] touch_atime+0x1e2/0x310 fs/inode.c:1985 file_accessed include/linux/fs.h:2208 [inline] shmem_file_read_iter+0x4d4/0x570 mm/shmem.c:2730 call_read_iter include/linux/fs.h:1871 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x3da/0x5c0 fs/read_write.c:470 ksys_read+0xeb/0x1a0 fs/read_write.c:613 __do_sys_read fs/read_write.c:623 [inline] __se_sys_read fs/read_write.c:621 [inline] __x64_sys_read+0x42/0x50 fs/read_write.c:621 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x0000000000000000 -> 0x0000000000000001 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 3186 Comm: udevd Not tainted 6.5.0-rc7-syzkaller-00004-gf7757129e3de #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 ================================================================== udevd[3186]: inotify_add_watch(7, /dev/loop5p3, 10) failed: No such file or directory udevd[3186]: inotify_add_watch(7, /dev/loop5p3, 10) failed: No such file or directory I/O error, dev loop2, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2 udevd[3186]: inotify_add_watch(7, /dev/loop5p3, 10) failed: No such file or directory udevd[3186]: inotify_add_watch(7, /dev/loop5p3, 10) failed: No such file or directory I/O error, dev loop0, sector 208 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2 Buffer I/O error on dev loop0p3, logical block 8, async page read Buffer I/O error on dev loop0p3, logical block 9, async page read Buffer I/O error on dev loop0p3, logical block 10, async page read Buffer I/O error on dev loop0p3, logical block 11, async page read udevd[3186]: inotify_add_watch(7, /dev/loop5p2, 10) failed: No such file or directory udevd[3186]: inotify_add_watch(7, /dev/loop5p3, 10) failed: No such file or directory Alternate GPT is invalid, using primary GPT. loop0: p2 p3 p7 I/O error, dev loop5, sector 208 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2