================================================================== BUG: KCSAN: data-race in init_file / prepare_creds write to 0xffff8881016743a8 of 4 bytes by task 5347 on cpu 0: get_cred_many include/linux/cred.h:222 [inline] get_cred include/linux/cred.h:238 [inline] init_file+0x2d/0x1b0 fs/file_table.c:183 alloc_empty_file+0x85/0x1e0 fs/file_table.c:266 alloc_file fs/file_table.c:396 [inline] alloc_file_pseudo+0x92/0x120 fs/file_table.c:427 sock_alloc_file+0x9c/0x1e0 net/socket.c:557 sock_map_fd net/socket.c:587 [inline] __sys_socket+0x118/0x180 net/socket.c:1827 __do_sys_socket net/socket.c:1832 [inline] __se_sys_socket net/socket.c:1830 [inline] __x64_sys_socket+0x3f/0x50 net/socket.c:1830 x64_sys_call+0x246e/0x2550 arch/x86/include/generated/asm/syscalls_64.h:42 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x112/0x360 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888101674300 of 184 bytes by task 5346 on cpu 1: prepare_creds+0x71/0x550 kernel/cred.c:192 __sys_setuid+0x65/0x300 kernel/sys.c:663 __do_sys_setuid kernel/sys.c:700 [inline] __se_sys_setuid kernel/sys.c:698 [inline] __x64_sys_setuid+0x1e/0x30 kernel/sys.c:698 x64_sys_call+0x1e96/0x2550 arch/x86/include/generated/asm/syscalls_64.h:106 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x112/0x360 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 5346 Comm: syz.3.435 Not tainted syzkaller #0 PREEMPT(lazy) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 ==================================================================