Linux Kernel posix-cpu-timers Use-After-Free Vulnerability

Vulnerability

A use-after-free vulnerability has been identified in the Linux kernel's handling of POSIX CPU timers. This issue arises when a non-leader thread executes 'execve', causing a PID switch with the leader process. As the thread calls 'exit_itimers', the timer management function 'posix_cpu_timer_del' fails to locate the task because the timer references the old PID. Consequently, active timers remain armed and are not disarmed, leading to a memory management issue. Although 'exit_itimers' releases the associated memory, the retained timers can cause a use-after-free condition when the timer queue is processed.

Impact

Exploitation of this vulnerability leads to a use-after-free condition, which can potentially be exploited to execute arbitrary code or cause a denial-of-service by crashing the system.

Added: Jun 18, 2025, 5:32 PM
Updated: Jun 18, 2025, 5:32 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
10.0
exploitability
4.0
remediation
0.0
relevance
0.2
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.