================================================================== BUG: KCSAN: data-race in kernfs_refresh_inode / security_file_permission read to 0xffff8880b65419e0 of 2 bytes by task 10600 on cpu 1: fsnotify_perm include/linux/fsnotify.h:82 [inline] security_file_permission+0x157/0x280 security/security.c:1379 rw_verify_area+0xe1/0x250 fs/read_write.c:399 vfs_read+0xf0/0x2c0 fs/read_write.c:457 ksys_read+0xd5/0x1b0 fs/read_write.c:587 __do_sys_read fs/read_write.c:597 [inline] __se_sys_read fs/read_write.c:595 [inline] __x64_sys_read+0x4c/0x60 fs/read_write.c:595 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffff8880b65419e0 of 2 bytes by task 10541 on cpu 0: kernfs_refresh_inode+0x42/0x140 fs/kernfs/inode.c:172 kernfs_iop_getattr+0x68/0x90 fs/kernfs/inode.c:191 vfs_getattr_nosec+0x12e/0x170 fs/stat.c:81 vfs_getattr+0x54/0x70 fs/stat.c:118 vfs_statx+0x102/0x190 fs/stat.c:191 vfs_stat include/linux/fs.h:3242 [inline] __do_sys_newstat+0x51/0xb0 fs/stat.c:341 __se_sys_newstat fs/stat.c:337 [inline] __x64_sys_newstat+0x3a/0x50 fs/stat.c:337 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 10541 Comm: udevd Not tainted 5.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================