CVE-2026-31555
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2026-31555 is an expired pointer dereference (use-after-free) vulnerability in the Linux kernel's futex_lock_pi() function retry path. When futex_lock_pi_atomic() detects an exiting futex owner, it stores a refcounted task pointer in a local exiting variable; after wait_for_owner_exiting() releases that reference, the pointer is never reset to NULL. On a subsequent retry with a different error code, the stale pointer is passed back to wait_for_owner_exiting(), triggering a kernel warning and potential memory corruption. The vulnerability was disclosed on April 24, 2026, and affects numerous Linux kernel versions across multiple stable branches. It carries a CVSS v3.1 base score of 5.5 (Medium) (Red Hat CVE, Feedly).

Technical details

The root cause is classified as CWE-825 (Expired Pointer Dereference). In the futex_lock_pi() retry loop within kernel/futex/core.c, when futex_lock_pi_atomic() returns -EBUSY upon observing an exiting owner, it stores a refcounted task_struct pointer in the local exiting variable. After wait_for_owner_exiting() consumes and drops that reference via put_task_struct(), the local pointer is not reset to NULL. If the loop retries and futex_lock_pi_atomic() returns a different error (e.g., -EAGAIN from lock_pi_update_atomic()), the now-stale exiting pointer is passed again to wait_for_owner_exiting(), which triggers WARN_ON_ONCE(exiting). The fix aligns the retry path with the existing requeue_pi behavior by resetting exiting = NULL at the top of each retry iteration. Exploitation requires local access with low privileges and the ability to race concurrent futex operations across multiple threads (Red Hat CVE, Red Hat Bugzilla).

Impact

Successful exploitation can cause a kernel warning (WARN_ON_ONCE) and potential memory corruption due to the stale pointer dereference, affecting system availability. In a worst-case scenario, the memory corruption could be leveraged for local privilege escalation, allowing a low-privileged attacker to gain elevated kernel-level access. The vulnerability has no direct confidentiality or integrity impact in its basic form, but privilege escalation could expose sensitive data and compromise system integrity. The affected scope spans a wide range of Linux kernel versions used across server, desktop, embedded, and cloud environments (Feedly).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of this report (Feedly). The vulnerability was discovered through fuzzing/stress testing of futex operations. The EPSS score is approximately 0.024% (0.000240), indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires local system access with low privileges and the ability to trigger a specific race condition across multiple CPU cores.

Indicators of compromise

  • Logs: Kernel warning messages in dmesg or /var/log/kern.log referencing WARNING: kernel/futex/core.c:825 at wait_for_owner_exiting or similar stack traces involving futex_lock_pi.
  • Process Behavior: Unusual multi-threaded processes making heavy use of FUTEX_LOCK_PI syscalls, particularly under concurrent exit conditions; processes triggering repeated kernel warnings before crashing or escalating privileges.
  • System: Unexpected kernel oops or BUG reports in system logs related to futex subsystem memory corruption.

Mitigation and workarounds

Apply the available kernel patches for the affected stable branches. Fixed versions include: 5.10.253, 5.15.203, 6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11, and kernel 7.0 (stable). Patch commits are available from the kernel.org stable repositories (Red Hat CVE, Red Hat Bugzilla). For systems that cannot be patched immediately: restrict local system access to trusted users only (the vulnerability requires local low-privilege execution), monitor for kernel warnings related to wait_for_owner_exiting(), and enable kernel hardening features (e.g., CONFIG_HARDENED_USERCOPY, SMEP/SMAP) to limit the impact of potential memory corruption. Amazon Linux 2023 advisories (ALAS2023-2026-1646, ALAS2023-2026-1681, ALAS2023-2026-1746) and Debian have also issued updates (Amazon Linux Advisory).

Community reactions

Red Hat tracked the issue via Bugzilla (bug #2461473) and published a CVE advisory shortly after disclosure. The Yocto Project security mailing list and Debian security tracker also acknowledged the vulnerability. No notable independent researcher commentary or significant social media discussion has been observed beyond standard CVE tracking channels (Red Hat CVE, Red Hat Bugzilla).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-74730CRITICAL9.8
  • Linux Kernel logoLinux Kernel
  • linux
NoYesAug 22, 2026
CVE-2026-74733HIGH7.8
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesAug 22, 2026
CVE-2026-74726HIGH7.3
  • Linux Kernel logoLinux Kernel
  • kernel
NoYesAug 22, 2026
CVE-2026-74732MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • kernel-selftests-internal
NoYesAug 22, 2026
CVE-2026-74728NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-modules-core
NoNoAug 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management