Linux Kernel Real-Time Livelock Prevention in POSIX Timer Handling Vulnerability

Vulnerability

A livelock issue has been identified in the Linux kernel's handling of POSIX timers, specifically within the 'itimer_delete()' function. This vulnerability is present in the stable branch of the Linux kernel. The problem arises on real-time (RT) kernels when a timer is concurrently expired, leading to a situation where the task responsible for delivering the timer callback can be preempted, causing a livelock. The issue is exacerbated for POSIX CPU timers with 'HAVE_POSIX_CPU_TIMERS_TASK_WORK' enabled. The vulnerability has been addressed by modifying the timer deletion process to prevent such livelocks, ensuring that the handling of expired timers is synchronized properly, similar to other parts of the POSIX timer code.

Impact

The vulnerability could cause a real-time task to enter a livelock state, where it is perpetually busy and unable to make progress, potentially leading to performance degradation in time-sensitive applications.

Reproduction

The vulnerability can be reproduced by creating a POSIX timer on a real-time Linux kernel with 'HAVE_POSIX_CPU_TIMERS_TASK_WORK' enabled. When the timer expires, it can preempt the task delivering the callback, causing the task to livelock.

Remediation

Users can upgrade to the latest version of the Linux kernel where this issue has been fixed. Instructions for downloading the patched version are available on the official Linux kernel website.

Added: Dec 9, 2025, 1:27 AM
Updated: Dec 9, 2025, 1:27 AM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
3.9
remediation
7.7
relevance
1.3
threat
4.8
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.