================================================================== BUG: KCSAN: data-race in init_file / prepare_creds write to 0xffff8881019e68e8 of 4 bytes by task 16990 on cpu 0: get_cred_many include/linux/cred.h:219 [inline] get_cred include/linux/cred.h:235 [inline] init_file+0x2e/0x1c0 fs/file_table.c:158 alloc_empty_file+0x8b/0x200 fs/file_table.c:241 alloc_file fs/file_table.c:354 [inline] alloc_file_pseudo+0xf6/0x190 fs/file_table.c:383 sock_alloc_file+0x9c/0x1e0 net/socket.c:483 sock_map_fd net/socket.c:513 [inline] __sys_socket+0x115/0x180 net/socket.c:1756 __do_sys_socket net/socket.c:1761 [inline] __se_sys_socket net/socket.c:1759 [inline] __x64_sys_socket+0x3f/0x50 net/socket.c:1759 x64_sys_call+0x127b/0x3000 arch/x86/include/generated/asm/syscalls_64.h:42 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xc0/0x2a0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff8881019e6840 of 184 bytes by task 16983 on cpu 1: prepare_creds+0x6d/0x550 kernel/cred.c:192 prepare_exec_creds+0x14/0xe0 kernel/cred.c:234 prepare_bprm_creds fs/exec.c:1363 [inline] bprm_execve+0x6f/0x9b0 fs/exec.c:1733 do_execveat_common+0x6cf/0x740 fs/exec.c:1859 do_execveat fs/exec.c:1944 [inline] __do_sys_execveat fs/exec.c:2018 [inline] __se_sys_execveat fs/exec.c:2012 [inline] __x64_sys_execveat+0x73/0x90 fs/exec.c:2012 x64_sys_call+0x1c0e/0x3000 arch/x86/include/generated/asm/syscalls_64.h:323 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xc0/0x2a0 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: 16983 Comm: syz.5.3097 Tainted: G W syzkaller #0 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 ==================================================================