================================================================== BUG: KCSAN: data-race in init_file / prepare_creds write to 0xffff88811108d3a8 of 4 bytes by task 12667 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 path_openat+0x62/0x23c0 fs/namei.c:4782 do_filp_open+0x15d/0x280 fs/namei.c:4823 do_sys_openat2+0xa6/0x150 fs/open.c:1430 do_sys_open fs/open.c:1436 [inline] __do_sys_openat fs/open.c:1452 [inline] __se_sys_openat fs/open.c:1447 [inline] __x64_sys_openat+0xf2/0x120 fs/open.c:1447 x64_sys_call+0x2b07/0x3000 arch/x86/include/generated/asm/syscalls_64.h:258 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 0xffff88811108d300 of 184 bytes by task 12668 on cpu 1: prepare_creds+0x6d/0x550 kernel/cred.c:192 __sys_setresuid+0x463/0x6d0 kernel/sys.c:749 __do_sys_setresuid kernel/sys.c:785 [inline] __se_sys_setresuid kernel/sys.c:783 [inline] __x64_sys_setresuid+0x3f/0x50 kernel/sys.c:783 x64_sys_call+0x1e85/0x3000 arch/x86/include/generated/asm/syscalls_64.h:118 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: 12668 Comm: syz.1.1673 Not tainted syzkaller #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 ==================================================================