================================================================== BUG: KCSAN: data-race in setattr_copy / vfs_getattr_nosec write to 0xffff88812e687db8 of 2 bytes by task 19 on cpu 1: setattr_copy+0x1af/0x1c0 fs/attr.c:247 shmem_setattr+0xb0/0x450 mm/shmem.c:1118 notify_change+0x8a3/0xa80 fs/attr.c:398 handle_remove drivers/base/devtmpfs.c:333 [inline] handle drivers/base/devtmpfs.c:382 [inline] devtmpfs_work_loop+0x783/0x8d0 drivers/base/devtmpfs.c:395 devtmpfsd+0x33/0x40 drivers/base/devtmpfs.c:437 kthread+0x1d0/0x1f0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 read to 0xffff88812e687db8 of 2 bytes by task 22513 on cpu 0: generic_fillattr fs/stat.c:48 [inline] vfs_getattr_nosec+0x194/0x2e0 fs/stat.c:100 vfs_getattr fs/stat.c:134 [inline] vfs_statx+0x128/0x290 fs/stat.c:199 vfs_fstatat fs/stat.c:217 [inline] vfs_stat include/linux/fs.h:3236 [inline] __do_sys_newstat fs/stat.c:359 [inline] __se_sys_newstat+0x46/0x250 fs/stat.c:355 __x64_sys_newstat+0x2d/0x40 fs/stat.c:355 do_syscall_64+0x34/0x50 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 22513 Comm: syz-executor.4 Not tainted 5.12.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ================================================================== loop4: detected capacity change from 0 to 127 loop4: p2 < > p3 p4 < p5 > loop4: p3 size 1914664839 extends beyond EOD, truncated loop4: p5 size 1914664839 extends beyond EOD, truncated