Fixed
Created: Jun 18, 2025
Updated: Oct 14, 2025
Resolved Date: Oct 13, 2025
Found In Version: 10.21.20.1
Fix Version: 10.21.20.14
Severity: Standard
Applicable for: Wind River Linux LTS 21
Component/s: Kernel
In the Linux kernel, the following vulnerability has been resolved:[EOL][EOL]posix-cpu-timers: Cleanup CPU timers before freeing them during exec[EOL][EOL]Commit 55e8c8eb2c7b ("posix-cpu-timers: Store a reference to a pid not a[EOL]task") started looking up tasks by PID when deleting a CPU timer.[EOL][EOL]When a non-leader thread calls execve, it will switch PIDs with the leader[EOL]process. Then, as it calls exit_itimers, posix_cpu_timer_del cannot find[EOL]the task because the timer still points out to the old PID.[EOL][EOL]That means that armed timers won't be disarmed, that is, they won't be[EOL]removed from the timerqueue_list. exit_itimers will still release their[EOL]memory, and when that list is later processed, it leads to a[EOL]use-after-free.[EOL][EOL]Clean up the timers from the de-threaded task before freeing them. This[EOL]prevents a reported use-after-free.