================================================================== BUG: KCSAN: data-race in init_file / prepare_creds write to 0xffff88810111ce28 of 4 bytes by task 4661 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 path_openat+0x68/0x2170 fs/namei.c:4120 do_filp_open+0x109/0x230 fs/namei.c:4161 io_openat2+0x272/0x390 io_uring/openclose.c:143 io_openat+0x1b/0x30 io_uring/openclose.c:180 __io_issue_sqe+0xfe/0x2e0 io_uring/io_uring.c:1826 io_issue_sqe+0x56/0xa80 io_uring/io_uring.c:1849 io_queue_sqe io_uring/io_uring.c:2076 [inline] io_req_task_submit+0xa1/0x100 io_uring/io_uring.c:1468 io_handle_tw_list+0x190/0x1c0 io_uring/io_uring.c:1153 tctx_task_work_run+0x6d/0x1a0 io_uring/io_uring.c:1218 tctx_task_work+0x3f/0x80 io_uring/io_uring.c:1236 task_work_run+0x131/0x1a0 kernel/task_work.c:227 get_signal+0xe12/0xf70 kernel/signal.c:2807 arch_do_signal_or_restart+0x96/0x440 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop+0x77/0x110 kernel/entry/common.c:40 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x1d6/0x200 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff88810111cd80 of 184 bytes by task 4664 on cpu 1: prepare_creds+0x6c/0x4c0 kernel/cred.c:219 install_thread_keyring security/keys/process_keys.c:249 [inline] lookup_user_key+0x12a/0xd10 security/keys/process_keys.c:635 __do_sys_add_key security/keys/keyctl.c:126 [inline] __se_sys_add_key+0x268/0x350 security/keys/keyctl.c:74 __x64_sys_add_key+0x67/0x80 security/keys/keyctl.c:74 x64_sys_call+0x28c8/0x3000 arch/x86/include/generated/asm/syscalls_64.h:249 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: 4664 Comm: syz.1.304 Not tainted syzkaller #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 ==================================================================