CVE-2026-80778

futex/pi: Reject cross-mm private futex owners

State
Published
Severity
Not scored
Published
Sep 4, 2026
Updated
Oct 19, 2026
Reserved
Aug 26, 2026

Read the record on cve.org

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 ]

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 80367ad01d93ac781b0e1df246edaf006928002f to before 2b92e5562653b5293529f63b0300837d9dcedbd7Affected
  • 80367ad01d93ac781b0e1df246edaf006928002f to before f7fb3e07752688842cbe0b85cf0d98c2fbf76b68Affected
  • 80367ad01d93ac781b0e1df246edaf006928002f to before 43b148d796aa338858792d0167cebdc12b8cb4b9Affected
  • 80367ad01d93ac781b0e1df246edaf006928002f to before 59b3732f95dda1fbd2234514d35f4fb6b5bb6d85Affected
LinuxLinux
  • 6.16Affected
  • before 6.16Not affected
  • 6.18.47 through 6.18.*Not affected
  • 7.1.11 through 7.1.*Not affected
  • 7.2.1 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.