================================================================== BUG: KCSAN: data-race in selinux_inode_permission / setattr_copy write to 0xffff8881065b7c78 of 2 bytes by task 11377 on cpu 0: setattr_copy+0x25c/0x270 fs/attr.c:321 ext4_setattr+0x3d4/0xeb0 fs/ext4/inode.c:5479 notify_change+0x866/0x8e0 fs/attr.c:499 chmod_common+0x13c/0x270 fs/open.c:643 do_fchmodat fs/open.c:691 [inline] __do_sys_chmod fs/open.c:715 [inline] __se_sys_chmod fs/open.c:713 [inline] __x64_sys_chmod+0x95/0x110 fs/open.c:713 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 0xffff8881065b7c78 of 2 bytes by task 11379 on cpu 1: selinux_inode_permission+0xc2/0x410 security/selinux/hooks.c:3109 security_inode_permission+0x6a/0xa0 security/security.c:2111 inode_permission+0xbf/0x300 fs/namei.c:536 may_lookup fs/namei.c:1719 [inline] link_path_walk+0x159/0x7e0 fs/namei.c:2270 path_lookupat+0x72/0x2a0 fs/namei.c:2481 filename_lookup+0x126/0x300 fs/namei.c:2511 user_path_at_empty+0x42/0x110 fs/namei.c:2910 user_path_at include/linux/namei.h:57 [inline] do_fchmodat fs/open.c:689 [inline] __do_sys_chmod fs/open.c:715 [inline] __se_sys_chmod fs/open.c:713 [inline] __x64_sys_chmod+0x6b/0x110 fs/open.c:713 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: 0x41c0 -> 0x4004 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 11379 Comm: syz-executor.2 Not tainted 6.6.0-rc4-syzkaller-00031-gba7d997a2a29 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 ==================================================================