================================================================== BUG: KCSAN: data-race in do_dentry_open / setattr_copy write to 0xffff88810814e768 of 2 bytes by task 22 on cpu 1: setattr_copy+0x238/0x250 fs/attr.c:261 shmem_setattr+0xb0/0x410 mm/shmem.c:1118 notify_change+0x8e6/0xa00 fs/attr.c:424 handle_remove drivers/base/devtmpfs.c:344 [inline] handle drivers/base/devtmpfs.c:393 [inline] devtmpfs_work_loop+0x849/0x930 drivers/base/devtmpfs.c:406 devtmpfsd+0x3f/0x40 drivers/base/devtmpfs.c:448 kthread+0x1a9/0x1e0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 read to 0xffff88810814e768 of 2 bytes by task 1862 on cpu 0: do_dentry_open+0x126/0x850 fs/open.c:826 vfs_open+0x43/0x50 fs/open.c:981 do_open fs/namei.c:3520 [inline] path_openat+0x16cf/0x1b30 fs/namei.c:3653 do_filp_open+0x1e0/0x220 fs/namei.c:3682 do_sys_openat2+0xb5/0x2a0 fs/open.c:1278 do_sys_open fs/open.c:1294 [inline] __do_sys_openat fs/open.c:1310 [inline] __se_sys_openat fs/open.c:1305 [inline] __x64_sys_openat+0xef/0x110 fs/open.c:1305 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 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: 1862 Comm: syz-executor.0 Not tainted 5.19.0-rc8-syzkaller-00152-g620725263f42-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 ==================================================================