All reports
Medium

kernel: posix-timers: Prevent RT livelock in itimer_delete()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2023-53815

Probability of exploitation in the next 30 days: 0.21%

FIRST EPSS · 2026-11-23

Description

In the Linux kernel, the following vulnerability has been resolved: posix-timers: Prevent RT livelock in itimer_delete() itimer_delete() has a retry loop when the timer is concurrently expired. On non-RT kernels this just spin-waits until the timer callback has completed, except for posix CPU timers which have HAVE_POSIX_CPU_TIMERS_TASK_WORK enabled. In that case and on RT kernels the existing task could live lock when preempting the task which does the timer delivery. Replace spin_unlock() with an invocation of timer_wait_running() to handle it the same way as the other retry loops in the posix timer code.

A flaw was found in the Linux kernel’s POSIX timer implementation where the itimer_delete() function enters a retry loop if the timer is concurrently expired. On systems with POSIX CPU timers and the HAVE_POSIX_CPU_TIMERS_TASK_WORK option enabled (including RT-configured kernels), the existing task may livelock while preempting the timer delivery callback