CVE-2026-52977

MediumCVSS 5.5/10Last modified Nov 6, 2026

Description

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

Metrics

CVSS 3.1 5.5/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected software

VendorProductVersions
LinuxLinux>= 07d91ef510fb16a2e0ca7453222105835b7ba3b8, < e5dbae3572757cecc3d3ec7cf96cbcc9cd9f016c; >= 07d91ef510fb16a2e0ca7453222105835b7ba3b8, < 4e0ed44e51727d56244a822ab941efe507c47966; >= 07d91ef510fb16a2e0ca7453222105835b7ba3b8, < e3f95b1ba242e37093305812df7fdbe7288a43ac; >= 07d91ef510fb16a2e0ca7453222105835b7ba3b8, < 0aacb6d18f76552e3e0ee25d9f40d21b3486f4cf; >= 07d91ef510fb16a2e0ca7453222105835b7ba3b8, < 69a7cfc66405aeaa2483147653d031b3592ffc9c; >= 07d91ef510fb16a2e0ca7453222105835b7ba3b8, < 0304d60abb9dcc02bc7fe6d1850f4ca206e8f1a0; >= 07d91ef510fb16a2e0ca7453222105835b7ba3b8, < bc7304f3ae20972d11db6e0b1b541c63feda5f05
LinuxLinux5.15

References

Timeline

Published
Jun 24, 2026
Last modified
Nov 6, 2026
NVD status
Modified

Related CVEs from 2026

CVE-2026-529785.5In the Linux kernel, the following vulnerability has been resolved: net: psp: require admin permission for dev-set and key-rotate The dev-CVE-2026-529795.5In the Linux kernel, the following vulnerability has been resolved: net: psp: check for device unregister when creating assoc psp_assoc_deCVE-2026-529805.5In the Linux kernel, the following vulnerability has been resolved: sched/fair: Clear rel_deadline when initializing forked entities A yieCVE-2026-529817.5In the Linux kernel, the following vulnerability has been resolved: neigh: let neigh_xmit take skb ownership neigh_xmit always releases thCVE-2026-529829.8In the Linux kernel, the following vulnerability has been resolved: net: usb: rtl8150: fix use-after-free in rtl8150_start_xmit() syzbot rCVE-2026-529837.5In the Linux kernel, the following vulnerability has been resolved: net: airoha: fix BQL imbalance in TX path Fix a possible BQL imbalanceCVE-2026-529845.5In the Linux kernel, the following vulnerability has been resolved: net/sched: netem: fix queue limit check to include reordered packets TCVE-2026-529855.5In the Linux kernel, the following vulnerability has been resolved: netdevsim: zero initialize struct iphdr in dummy sk_buff Syzbot reportCVE-2026-529869.8In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_conntrack_sip: don't use simple_strtoul Replace unsafe pCVE-2026-529877.8In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: avoid double drm_exec_fini() in userq validate When new_adCVE-2026-529887.1In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: join hook list via splice_list_rcu() in commit phCVE-2026-529899.8In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: propagate nvmet_tcp_build_pdu_iovec() errors to its callers