CVE-2026-80777
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: Plug private futex exec() race<br />
<br />
The check for private futexes whether the waiter&#39;s mm, which is stored in<br />
the futex_key and copied into the pi_state, is the same as the owner&#39;s mm<br />
is not sufficient for exec(). exec() has a gap where the mm check fails to<br />
give the correct answer:<br />
<br />
exec()<br />
...<br />
exec_release_mm()<br />
futex_exec_release()<br />
tsk::futex::exit_state = EXITING;<br />
cleanup_robust_list();<br />
1) tsk::futex::exit_state = OK;<br />
...<br />
old_mm = tsk::mm;<br />
2) tsk::mm = ->mm;<br />
<br />
Between #1 and #2 the check for the mm is wrong as that mm is about to be<br />
swapped out and eventually freed.<br />
<br />
Plug this gap by:<br />
<br />
1) Setting tsk::futex::exit_state to FUTEX_STATE_DEAD in<br />
futex_exec_release()<br />
<br />
2) Setting tsk::futex::exit_state to FUTEX_STATE_OK after<br />
the mm has been switched.<br />
<br />
From a futex point of view the task is dead after it finished the robust<br />
list cleanup up to the point where it sets the state to OK again.


