Skip to main content

Linux Kernel EUVDEUVD-2026-38845

| CVE-2026-52977 MEDIUM
2026-06-24 Linux GHSA-f389-gw66-p7gf
5.5
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI
4.7 MEDIUM

Race condition requires precise concurrent timing of signal delivery and requeue operation, warranting AC:H over NVD's AC:L; no confidentiality or integrity impact applies.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE
5.1 MEDIUM
AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Red Hat
5.5 MEDIUM
qualitative

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

5
Analysis Generated
Jul 14, 2026 - 22:04 vuln.today
CVSS changed
Jul 14, 2026 - 16:52 NVD
5.5 (MEDIUM)
Patch available
Jun 24, 2026 - 18:02 EUVD
CVE Published
Jun 24, 2026 - 16:28 nvd
MEDIUM 5.5
CVE Published
Jun 24, 2026 - 16:28 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

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

AnalysisAI

Livelock in the Linux kernel's futex requeue-PI subsystem can hang a system when a signal or timeout interrupts a FUTEX_WAIT_REQUEUE_PI operation concurrently with an active FUTEX_CQ_REQUEUE_PI requeue. The race causes a waiting thread (Task A) to block indefinitely on a hash-bucket lock while a requeue thread (Task B) busy-loops retrying the same operation, consuming all available CPU - worst-case on uniprocessor systems where Task A cannot be scheduled at all. No public exploit is identified and EPSS is 0.17% (7th percentile), but the deterministic nature of the livelock on UP or real-time-scheduled hardware makes this a genuine denial-of-service risk; patches are available across six Linux stable branches.

Technical ContextAI

This vulnerability resides in the Linux kernel's futex (fast user-space mutex) subsystem, specifically the requeue-PI (Priority Inheritance) code path used to atomically transfer a thread's wait from one futex to another while acquiring a PI-aware lock - a mechanism exposed to user space via the FUTEX_WAIT_REQUEUE_PI and FUTEX_CQ_REQUEUE_PI syscall operations and used internally by glibc's pthread implementation for PTHREAD_PRIO_INHERIT mutexes. The race occurs because futex_wait_requeue_pi() sets its requeue_state to Q_REQUEUE_PI_IGNORE while Task B holds both hash-bucket (hb) locks: Task A cannot remove itself from the wait queue without the hb lock, and Task B's call to futex_requeue_pi_prepare() returns -EAGAIN on seeing the IGNORE state, triggering an unbounded retry busy-loop. No CWE is assigned in the NVD record, but the root cause class is CWE-362 (Concurrent Execution Using Shared Resource with Improper Synchronization) or CWE-667 (Improper Locking). The affected CPE is cpe:2.3:a:linux:linux across stable branches prior to the fix commits; the regression was introduced at commit 07d91ef510fb16a2e0ca7453222105835b7ba3b8.

RemediationAI

Upgrade to a patched Linux kernel: 6.1.175 or later for the 6.1 LTS branch, 6.6.141 or later for the 6.6 LTS branch, 6.12.91 or later for 6.12, 6.18.33 or later for 6.18, 7.0.10 or later for 7.0, or 7.1 and later for the mainline branch. All six upstream fix commits are available for review at https://git.kernel.org/stable/c/4e0ed44e51727d56244a822ab941efe507c47966, https://git.kernel.org/stable/c/e3f95b1ba242e37093305812df7fdbe7288a43ac, https://git.kernel.org/stable/c/0aacb6d18f76552e3e0ee25d9f40d21b3486f4cf, https://git.kernel.org/stable/c/69a7cfc66405aeaa2483147653d031b3592ffc9c, https://git.kernel.org/stable/c/0304d60abb9dcc02bc7fe6d1850f4ca206e8f1a0, and https://git.kernel.org/stable/c/bc7304f3ae20972d11db6e0b1b541c63feda5f05. If immediate kernel patching is not feasible, a targeted compensating control is to restrict real-time scheduling classes (SCHED_FIFO and SCHED_RR) for untrusted or user-controlled processes via cgroups cpu.rt_runtime_us or a seccomp filter blocking sched_setscheduler - this reduces the scheduling starvation condition that makes the livelock deterministic, though it does not eliminate the underlying race. Disabling PI-futex support kernel-wide is not a viable workaround as it breaks glibc pthread priority-inheritance functionality used by many production applications.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

Share

EUVD-2026-38845 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy