================================================================== BUG: KCSAN: data-race in selinux_inode_permission / setattr_copy write to 0xffff8881005385b8 of 2 bytes by task 7987 on cpu 1: setattr_copy+0x22e/0x240 fs/attr.c:321 ext4_setattr+0x3d4/0xec0 fs/ext4/inode.c:5445 notify_change+0x8c3/0x930 fs/attr.c:483 chmod_common+0x13c/0x270 fs/open.c:643 do_fchmodat fs/open.c:682 [inline] __do_sys_chmod fs/open.c:700 [inline] __se_sys_chmod fs/open.c:698 [inline] __x64_sys_chmod+0x8a/0xf0 fs/open.c:698 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff8881005385b8 of 2 bytes by task 28885 on cpu 0: selinux_inode_permission+0xc2/0x410 security/selinux/hooks.c:3057 security_inode_permission+0x6a/0xa0 security/security.c:2072 inode_permission+0xbf/0x300 fs/namei.c:536 may_lookup fs/namei.c:1716 [inline] link_path_walk+0x159/0x7e0 fs/namei.c:2267 path_lookupat+0x72/0x2a0 fs/namei.c:2478 filename_lookup+0x126/0x300 fs/namei.c:2508 vfs_statx+0xa9/0x300 fs/stat.c:238 vfs_fstatat fs/stat.c:276 [inline] __do_sys_newfstatat fs/stat.c:446 [inline] __se_sys_newfstatat+0x8a/0x2a0 fs/stat.c:440 __x64_sys_newfstatat+0x55/0x60 fs/stat.c:440 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x41ed -> 0x4002 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 28885 Comm: udevd Tainted: G W 6.5.0-rc6-syzkaller-00117-g0e8860d2125f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 ==================================================================