================================================================== BUG: KCSAN: data-race in init_file / prepare_creds write to 0xffff888103cb02e8 of 4 bytes by task 10074 on cpu 0: get_cred_many include/linux/cred.h:218 [inline] get_cred include/linux/cred.h:234 [inline] init_file+0x2d/0x1b0 fs/file_table.c:158 alloc_empty_file+0x8b/0x200 fs/file_table.c:241 alloc_file fs/file_table.c:355 [inline] alloc_file_pseudo+0xf6/0x190 fs/file_table.c:384 __anon_inode_getfile fs/anon_inodes.c:166 [inline] anon_inode_getfile+0xa0/0x120 fs/anon_inodes.c:204 __do_sys_perf_event_open kernel/events/core.c:14103 [inline] __se_sys_perf_event_open+0xbf1/0x1290 kernel/events/core.c:13805 __x64_sys_perf_event_open+0x67/0x80 kernel/events/core.c:13805 x64_sys_call+0x2789/0x3020 arch/x86/include/generated/asm/syscalls_64.h:299 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x12c/0x370 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888103cb0240 of 184 bytes by task 10073 on cpu 1: prepare_creds+0x6d/0x540 kernel/cred.c:192 copy_creds+0x8f/0x340 kernel/cred.c:286 copy_process+0x62f/0x20b0 kernel/fork.c:2084 kernel_clone+0x16b/0x5d0 kernel/fork.c:2653 __do_sys_clone kernel/fork.c:2794 [inline] __se_sys_clone kernel/fork.c:2778 [inline] __x64_sys_clone+0x143/0x180 kernel/fork.c:2778 x64_sys_call+0x1222/0x3020 arch/x86/include/generated/asm/syscalls_64.h:57 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x12c/0x370 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 10073 Comm: syz.2.1518 Tainted: G W syzkaller #0 PREEMPT(full) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 ==================================================================