================================================================== BUG: KCSAN: data-race in ioctl_has_perm / selinux_inode_setsecurity write to 0xffff888102e9cfb4 of 4 bytes by task 18209 on cpu 1: selinux_inode_setsecurity+0x232/0x290 security/selinux/hooks.c:3489 security_inode_setsecurity+0x7f/0xc0 security/security.c:2537 __vfs_setxattr_noperm+0x149/0x3e0 fs/xattr.c:252 __vfs_setxattr_locked+0x1af/0x1d0 fs/xattr.c:296 vfs_setxattr+0x140/0x280 fs/xattr.c:322 do_setxattr fs/xattr.c:630 [inline] setxattr+0x1bc/0x230 fs/xattr.c:653 __do_sys_fsetxattr fs/xattr.c:709 [inline] __se_sys_fsetxattr+0x117/0x170 fs/xattr.c:698 __x64_sys_fsetxattr+0x67/0x80 fs/xattr.c:698 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffff888102e9cfb4 of 4 bytes by task 18208 on cpu 0: ioctl_has_perm+0x262/0x2e0 security/selinux/hooks.c:3690 selinux_file_ioctl+0x2f2/0x380 security_file_ioctl+0x47/0x70 security/security.c:2726 __do_sys_ioctl fs/ioctl.c:865 [inline] __se_sys_ioctl+0x47/0x140 fs/ioctl.c:857 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x00000087 -> 0x000000a3 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 18208 Comm: syz-executor.1 Not tainted 6.8.0-rc5-syzkaller-00329-gab0a97cffa0b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 ==================================================================