CVE-2026-80778
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
04/09/2026
Last modified:
19/10/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
futex/pi: Reject cross-mm private futex owners<br />
<br />
A private futex key borrows the waiter&#39;s mm without taking an mm_users<br />
reference. Nevertheless, attach_to_pi_owner() currently accepts an owner<br />
from a different address space and copies the private key into the owner&#39;s<br />
PI state.<br />
<br />
When that owner exits, exit_pi_state_list() uses the saved key to find the<br />
hash bucket and acquires a reference to the waiter&#39;s private hash. If the<br />
last user of the waiter&#39;s mm exits concurrently, futex_hash_free() frees<br />
the hash while the owner still uses its bucket and reference.<br />
<br />
Prevent this by validating in attach_to_pi_owner() that, for private<br />
futexes, the owner mm and waiter mm are the same. Perform the check with<br />
the owner&#39;s pi_lock held and after validating owner::futex::state to<br />
serialize against a concurrent PI-state exit cleanup.<br />
<br />
[ tglx: Amended comment ]


