VDB

CVE-2026-52977

CVE-2026-52977 PUBLISHED

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

Reported by linux · Published June 24, 2026

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().

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-livepatch-6.1.175-219.357Amazon Linux1:1.0-0.amzn2023
bpftool6.18Amazon Linux1:6.18.33-63.124.amzn2023
python3-perfAmazon Linux1:6.1.175-219.357.amzn2023
kernel6.12-develAmazon Linux1:6.12.92-122.166.amzn2023
linux_kernellinux7.0.10, 6.18.33, 6.12.91, 6.6.141, 6.1.175

Affected products

VendorProductVersions
LinuxLinux07d91ef510fb16a2e0ca7453222105835b7ba3b8, 07d91ef510fb16a2e0ca7453222105835b7ba3b8, 07d91ef510fb16a2e0ca7453222105835b7ba3b8
LinuxLinux5.15, 0, 5.15.216
amazon:2023kernel-livepatch-6.1.175-219.3570
amazon:2023bpftool6.180
amazon:2023python3-perf0
amazon:2023kernel6.12-devel0
linuxlinux_kernel5.15, 5.15, 5.15
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel-headers0
amazon:2023kernel-livepatch-6.12.92-122.1660
amazon:2023kernel6.12-tools-devel0
amazon:2023perf6.180
amazon:2023kernel6.120
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel-tools0
amazon:2023kernel-livepatch-6.18.33-63.1240
amazon:2023python3-perf6.120
amazon:2023kernel6.18-tools0
amazon:2023bpftool6.120
amazon:2023kernel6.180

…and 17 more

Timeline

  • Jun 24, 2026 CVE Published
  • Jun 25, 2026 Coalition ESS Score
  • Jun 26, 2026 EPSS Score (8 in total, the first dated here)
  • Aug 11, 2026 Distribution Patch (63 in total, the first dated here)
  • Aug 11, 2026 Security Advisory (63 in total, the first dated here)
  • Nov 6, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-52977
vulnetix vdb fixes CVE-2026-52977

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-52977/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›