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

futex/pi: Reject cross-mm private futex owners

A private futex key borrows the waiter's mm without taking an mm_users
reference. Nevertheless, attach_to_pi_owner() currently accepts an owner
from a different address space and copies the private key into the owner's
PI state.

When that owner exits, exit_pi_state_list() uses the saved key to find the
hash bucket and acquires a reference to the waiter's private hash. If the
last user of the waiter's mm exits concurrently, futex_hash_free() frees
the hash while the owner still uses its bucket and reference.

Prevent this by validating in attach_to_pi_owner() that, for private
futexes, the owner mm and waiter mm are the same. Perform the check with
the owner's pi_lock held and after validating owner::futex::state to
serialize against a concurrent PI-state exit cleanup.

[ tglx: Amended comment ]
Published: 2026-09-04
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An improper validation in the Linux kernel’s futex PI subsystem allows a private futex key to reference a waiter in a different address space. When the owning process exits, the system may free the waiter's hash bucket while the owner still attempts to use it, resulting in a use‑after‑free condition that can corrupt kernel memory and potentially allow higher privileges.

Affected Systems

This flaw exists in the Linux kernel’s futex PI implementation. Any Linux kernel built with the default futex PI support is susceptible, regardless of distribution, unless the kernel has been patched to include the recent commit that validates the owner and waiter address spaces.

Risk and Exploitability

The CVSS score is not reported, but use‑after‑free vulnerabilities are typically considered critical. The EPSS score is unavailable and the flaw is not currently listed in the CISA KEV catalog. An attacker requires local execution within a process that can use private futexes; therefore the attack vector is local. Successful exploitation could lead to kernel corruption and local privilege escalation or denial of service.

Generated by OpenCVE AI on September 4, 2026 at 17:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the fix for futex/pi: reject cross‑mm private futex owners.
  • If the kernel configuration allows disabling PI futex support, consider turning that off until a patch is available, as a temporary mitigation.
  • Reboot the system to load the updated kernel and ensure the change takes effect.

Generated by OpenCVE AI on September 4, 2026 at 17:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 18:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-416

Fri, 04 Sep 2026 15:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: futex/pi: Reject cross-mm private futex owners A private futex key borrows the waiter's mm without taking an mm_users reference. Nevertheless, attach_to_pi_owner() currently accepts an owner from a different address space and copies the private key into the owner's PI state. When that owner exits, exit_pi_state_list() uses the saved key to find the hash bucket and acquires a reference to the waiter's private hash. If the last user of the waiter's mm exits concurrently, futex_hash_free() frees the hash while the owner still uses its bucket and reference. Prevent this by validating in attach_to_pi_owner() that, for private futexes, the owner mm and waiter mm are the same. Perform the check with the owner's pi_lock held and after validating owner::futex::state to serialize against a concurrent PI-state exit cleanup. [ tglx: Amended comment ]
Title futex/pi: Reject cross-mm private futex owners
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-04T15:12:50.117Z

Reserved: 2026-08-26T14:34:25.792Z

Link: CVE-2026-80778

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-04T16:18:03.490

Modified: 2026-09-04T16:18:03.490

Link: CVE-2026-80778

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T20:30:16Z

Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

  • CWE-416

    Use After Free