# CVE-2026-80778: futex/pi: Reject cross-mm private futex owners

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-09-04T15:12:50.117Z
- Modified: 2026-10-19T09:17:11.900Z
- Assigned by: Linux

## 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 ]

(As written by CVE List.)

## Affected

- Linux Linux: from 80367ad01d93ac781b0e1df246edaf006928002f before 2b92e5562653b5293529f63b0300837d9dcedbd7; from 80367ad01d93ac781b0e1df246edaf006928002f before f7fb3e07752688842cbe0b85cf0d98c2fbf76b68; from 80367ad01d93ac781b0e1df246edaf006928002f before 43b148d796aa338858792d0167cebdc12b8cb4b9; from 80367ad01d93ac781b0e1df246edaf006928002f before 59b3732f95dda1fbd2234514d35f4fb6b5bb6d85; 6.16 (not affected: before 6.16; from 6.18.47 up to 6.18.*; from 7.1.11 up to 7.1.*; from 7.2.1 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/2b92e5562653b5293529f63b0300837d9dcedbd7>
- <https://git.kernel.org/stable/c/f7fb3e07752688842cbe0b85cf0d98c2fbf76b68>
- <https://git.kernel.org/stable/c/43b148d796aa338858792d0167cebdc12b8cb4b9>
- <https://git.kernel.org/stable/c/59b3732f95dda1fbd2234514d35f4fb6b5bb6d85>

## Sources

- CVE List: [CVE-2026-80778](https://www.cve.org/CVERecord?id=CVE-2026-80778), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-80778](https://nvd.nist.gov/vuln/detail/CVE-2026-80778), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-80778 · Whole record: https://cve.day/CVE-2026-80778.json · Rebuilt by cve.day 2026-11-25T22:59:36.322Z
