================================================================== BUG: KCSAN: data-race in free_pid / zap_pid_ns_processes read-write to 0xffff888117dbd028 of 4 bytes by task 3801 on cpu 0: free_pid+0x77/0x180 kernel/pid.c:126 free_pids+0x7a/0xb0 kernel/pid.c:159 release_task+0x9a9/0xb60 kernel/exit.c:295 exit_notify kernel/exit.c:782 [inline] do_exit+0xd85/0x1590 kernel/exit.c:975 do_group_exit+0xff/0x140 kernel/exit.c:1104 get_signal+0xe59/0xf70 kernel/signal.c:3034 arch_do_signal_or_restart+0x96/0x480 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop+0x7a/0x100 kernel/entry/common.c:111 exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline] do_syscall_64+0x1d6/0x200 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888117dbd028 of 4 bytes by task 3327 on cpu 1: zap_pid_ns_processes+0x1ff/0x2d0 kernel/pid_namespace.c:271 find_child_reaper kernel/exit.c:622 [inline] forget_original_parent kernel/exit.c:711 [inline] exit_notify kernel/exit.c:748 [inline] do_exit+0x13e0/0x1590 kernel/exit.c:975 do_group_exit+0x139/0x140 kernel/exit.c:1104 __do_sys_exit_group kernel/exit.c:1115 [inline] __se_sys_exit_group kernel/exit.c:1113 [inline] __x64_sys_exit_group+0x1f/0x20 kernel/exit.c:1113 x64_sys_call+0x2fa4/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:232 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 value changed: 0x00000002 -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 3327 Comm: syz-executor Not tainted 6.16.0-rc2-syzkaller-00231-g75f5f23f8787 #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 ==================================================================