CVE-2026-52977

CVE-2026-52977

Medium · published June 24, 2026

CVSS v3.1
5.5
EPSS
0%
Percentile
1.9
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

futex: Prevent lockup in requeue-PI during signal/ timeout wakeup

During wait-requeue-pi (task A) and requeue-PI (task B) the following

race can happen:

Task A Task B

futex_wait_requeue_pi()

futex_setup_timer()

futex_do_wait()

futex_requeue()

CLASS(hb, hb1)(&key1);

CLASS(hb, hb2)(&key2);

*timeout*

futex_requeue_pi_wakeup_sync()

requeue_state = Q_REQUEUE_PI_IGNORE

*blocks on hb->lock*

futex_proxy_trylock_atomic()

futex_requeue_pi_prepare()

Q_REQUEUE_PI_IGNORE => -EAGAIN

double_unlock_hb(hb1, hb2)

*retry*

Task B acquires both hb locks and attempts to acquire the PI-lock of the

top most waiter (task B). Task A is leaving early due to a signal/

timeout and started removing itself from the queue. It updates its

requeue_state but can not remove it from the list because this requires

the hb lock which is owned by task B.

Usually task A is able to swoop the lock after task B unlocked it.

However if task B is of higher priority then task A may not be able to

wake up in time and acquire the lock before task B gets it again.

Especially on a UP system where A is never scheduled.

As a result task A blocks on the lock and task B busy loops, trying to

make progress but live locks the system instead. Tragic.

This can be fixed by removing the top most waiter from the list in this

case. This allows task B to grab the next top waiter (if any) in the

next iteration and make progress.

Remove the top most waiter if futex_requeue_pi_prepare() fails.

Let the waiter conditionally remove itself from the list in

handle_early_requeue_pi_wakeup().

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00123 · 1.9th percentile
Published
2026-06-24T21:17Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel≥ 5.15, < 6.1.1756.1.175
linux/linux_kernel≥ 6.2, < 6.6.1416.6.141
linux/linux_kernel≥ 6.7, < 6.12.916.12.91
linux/linux_kernel≥ 6.13, < 6.18.336.18.33
linux/linux_kernel≥ 6.19, < 7.0.107.0.10
linux/linux_kernelall versions—
References (7)
EPSS history
Timeline
  • 24 JUN 16:28Z
    futex: Prevent lockup in requeue-PI during signal/ timeout wakeup
    cvelistv5