================================================================== BUG: KCSAN: data-race in selinux_inode_permission / selinux_inode_permission read to 0xffff8881199899a0 of 4 bytes by task 6402 on cpu 0: task_avdcache_search security/selinux/hooks.c:3142 [inline] selinux_inode_permission+0x2a7/0x620 security/selinux/hooks.c:3216 security_inode_permission+0x6d/0xb0 security/security.c:2324 inode_permission+0x106/0x310 fs/namei.c:601 may_lookup fs/namei.c:1845 [inline] link_path_walk+0x162/0x900 fs/namei.c:2454 path_lookupat+0x63/0x2a0 fs/namei.c:2662 filename_lookup+0x147/0x340 fs/namei.c:2692 filename_setxattr+0x56/0x400 fs/xattr.c:660 path_setxattrat+0x2c9/0x310 fs/xattr.c:713 __do_sys_setxattr fs/xattr.c:747 [inline] __se_sys_setxattr fs/xattr.c:743 [inline] __x64_sys_setxattr+0x6e/0x90 fs/xattr.c:743 x64_sys_call+0x28a7/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:189 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read-write to 0xffff8881199899a0 of 4 bytes by task 6403 on cpu 1: task_avdcache_update security/selinux/hooks.c:3179 [inline] selinux_inode_permission+0x493/0x620 security/selinux/hooks.c:3233 security_inode_permission+0x6d/0xb0 security/security.c:2324 inode_permission+0x106/0x310 fs/namei.c:601 may_lookup fs/namei.c:1845 [inline] link_path_walk+0x162/0x900 fs/namei.c:2454 path_lookupat+0x63/0x2a0 fs/namei.c:2662 filename_lookup+0x147/0x340 fs/namei.c:2692 filename_setxattr+0x56/0x400 fs/xattr.c:660 path_setxattrat+0x2c9/0x310 fs/xattr.c:713 __do_sys_setxattr fs/xattr.c:747 [inline] __se_sys_setxattr fs/xattr.c:743 [inline] __x64_sys_setxattr+0x6e/0x90 fs/xattr.c:743 x64_sys_call+0x28a7/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:189 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00000001 -> 0x00000002 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 6403 Comm: syz.1.838 Not tainted 6.16.0-rc3-syzkaller-00072-gee88bddf7f2f #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 ==================================================================