================================================================== BUG: KCSAN: data-race in __se_sys_keyctl / key_task_permission write to 0xffff8881383b6670 of 4 bytes by task 8979 on cpu 1: keyctl_setperm_key security/keys/keyctl.c:1092 [inline] __do_sys_keyctl security/keys/keyctl.c:1921 [inline] __se_sys_keyctl+0x8cc/0x9e0 security/keys/keyctl.c:1869 __x64_sys_keyctl+0x63/0x70 security/keys/keyctl.c:1869 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x50 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff8881383b6670 of 4 bytes by task 8982 on cpu 0: key_task_permission+0xde/0x270 security/keys/permission.c:55 key_permission security/keys/internal.h:210 [inline] keyctl_read_key+0x92/0x390 security/keys/keyctl.c:847 __do_sys_keyctl security/keys/keyctl.c:1911 [inline] __se_sys_keyctl+0x359/0x9e0 security/keys/keyctl.c:1869 __x64_sys_keyctl+0x63/0x70 security/keys/keyctl.c:1869 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x50 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x3f010000 -> 0x3c252911 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 8982 Comm: syz-executor.0 Not tainted 5.17.0-syzkaller-14079-gbe2d3ecedd99-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================