================================================================== BUG: KCSAN: data-race in init_file / prepare_creds write to 0xffff8881036d5ca8 of 4 bytes by task 20772 on cpu 0: get_cred_many include/linux/cred.h:202 [inline] get_cred include/linux/cred.h:218 [inline] init_file+0x2e/0x1d0 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+0xc6/0x160 fs/file_table.c:383 sock_alloc_file+0x9c/0x1e0 net/socket.c:470 sock_map_fd net/socket.c:500 [inline] __sys_socket+0x116/0x180 net/socket.c:1740 __do_sys_socket net/socket.c:1745 [inline] __se_sys_socket net/socket.c:1743 [inline] __x64_sys_socket+0x3f/0x50 net/socket.c:1743 x64_sys_call+0x1147/0x2ff0 arch/x86/include/generated/asm/syscalls_64.h:42 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff8881036d5c00 of 184 bytes by task 20771 on cpu 1: prepare_creds+0x6c/0x4c0 kernel/cred.c:219 __sys_setfsuid+0x90/0x1f0 kernel/sys.c:918 __do_sys_setfsuid kernel/sys.c:942 [inline] __se_sys_setfsuid kernel/sys.c:940 [inline] __x64_sys_setfsuid+0x1e/0x30 kernel/sys.c:940 x64_sys_call+0x776/0x2ff0 arch/x86/include/generated/asm/syscalls_64.h:123 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 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: 20771 Comm: syz.9.17793 Tainted: G W syzkaller #0 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 ==================================================================