================================================================== BUG: KCSAN: data-race in do_dentry_open / setattr_copy write to 0xffff888134c22428 of 2 bytes by task 23 on cpu 1: setattr_copy+0x22e/0x240 fs/attr.c:321 shmem_setattr+0x161/0x4e0 mm/shmem.c:1143 notify_change+0x8c3/0x930 fs/attr.c:483 handle_remove drivers/base/devtmpfs.c:337 [inline] handle drivers/base/devtmpfs.c:386 [inline] devtmpfs_work_loop+0x828/0x8e0 drivers/base/devtmpfs.c:399 devtmpfsd+0x43/0x50 drivers/base/devtmpfs.c:441 kthread+0x1d7/0x210 kernel/kthread.c:389 ret_from_fork+0x2e/0x40 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:296 read to 0xffff888134c22428 of 2 bytes by task 3821 on cpu 0: do_dentry_open+0x15d/0xaf0 fs/open.c:892 vfs_open+0x4a/0x50 fs/open.c:1048 do_open fs/namei.c:3636 [inline] path_openat+0x17f2/0x1d10 fs/namei.c:3793 do_filp_open+0xf6/0x200 fs/namei.c:3820 do_sys_openat2+0xab/0x110 fs/open.c:1407 do_sys_open fs/open.c:1422 [inline] __do_sys_openat fs/open.c:1438 [inline] __se_sys_openat fs/open.c:1433 [inline] __x64_sys_openat+0xf3/0x120 fs/open.c:1433 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: 0x6180 -> 0x6000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 3821 Comm: udevd Not tainted 6.5.0-rc2-syzkaller-00307-gd192f5382581 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 ================================================================== udevd[3821]: inotify_add_watch(7, /dev/loop11, 10) failed: No such file or directory udevd[3821]: inotify_add_watch(7, /dev/loop11, 10) failed: No such file or directory udevd[3821]: inotify_add_watch(7, /dev/loop11, 10) failed: No such file or directory udevd[3821]: inotify_add_watch(7, /dev/loop11, 10) failed: No such file or directory udevd[3821]: inotify_add_watch(7, /dev/loop11, 10) failed: No such file or directory udevd[3821]: inotify_add_watch(7, /dev/loop11, 10) failed: No such file or directory udevd[3821]: inotify_add_watch(7, /dev/loop11, 10) failed: No such file or directory udevd[3821]: inotify_add_watch(7, /dev/loop11, 10) failed: No such file or directory udevd[3821]: inotify_add_watch(7, /dev/loop11, 10) failed: No such file or directory udevd[3821]: inotify_add_watch(7, /dev/loop11, 10) failed: No such file or directory udevd[3821]: inotify_add_watch(7, /dev/loop11, 10) failed: No such file or directory udevd[3821]: inotify_add_watch(7, /dev/loop11, 10) failed: No such file or directory