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

Published Sep 4, 2026
·
Updated

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 mmusers reference. Nevertheless, attachtopiowner() currently accepts an owner from a different address space and copies the private key into the owner's PI state.

When that owner exits, exitpistatelist() 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, futexhashfree() frees the hash while the owner still uses its bucket and reference.

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

[ tglx: Amended comment ]

Affected Software

1 affected component
Linux Kernel

Event History

Sep 4, 2026
CVE Published
via MITRE·03:12 PM
Data Sourced
via MITRE·03:12 PM
Description

Frequently Asked Questions

1

Which futex operations are implicated?

The issue is limited to private futexes using priority-inheritance owner state. The problematic condition occurs when the futex owner and waiter belong to different memory address spaces.

2

What timing is required for the unsafe state to occur?

The owner must exit while its saved PI state still references the waiter's private futex hash, concurrently with the last user of the waiter's memory address space exiting. This can allow the futex hash to be freed while the owner still uses its bucket and reference.

3

Does the fix change handling of shared futexes?

The described validation applies specifically to private futexes. The provided information does not identify shared futexes as affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203