# CVE-2026-80777: futex/pi: Plug private futex exec() race

- 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:49.215Z
- Modified: 2026-10-19T09:17:11.790Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

futex/pi: Plug private futex exec() race

The check for private futexes whether the waiter's mm, which is stored in
the futex_key and copied into the pi_state, is the same as the owner's mm
is not sufficient for exec(). exec() has a gap where the mm check fails to
give the correct answer:

  exec()
  ...
    exec_release_mm()
      futex_exec_release()
        tsk::futex::exit_state = EXITING;
        cleanup_robust_list();
1)      tsk::futex::exit_state = OK;
    ...
    old_mm = tsk::mm;
2)  tsk::mm = ->mm;

Between #1 and #2 the check for the mm is wrong as that mm is about to be
swapped out and eventually freed.

Plug this gap by:

  1) Setting tsk::futex::exit_state to FUTEX_STATE_DEAD in
     futex_exec_release()

  2) Setting tsk::futex::exit_state to FUTEX_STATE_OK after
     the mm has been switched.

From a futex point of view the task is dead after it finished the robust
list cleanup up to the point where it sets the state to OK again.

(As written by CVE List.)

## Affected

- Linux Linux: from 80367ad01d93ac781b0e1df246edaf006928002f before fdf538b2e69653ff740e84042245018e5680cd7b; from 80367ad01d93ac781b0e1df246edaf006928002f before 0478bc6bf197629fea0331d65b39eeea043c6cf0; from 80367ad01d93ac781b0e1df246edaf006928002f before d7944cee62ec6cca1c90780a766960a57d3b4bb8; from 80367ad01d93ac781b0e1df246edaf006928002f before c5f0bc9fd1cec4a00400cc727fcde03e0fde17cc; 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/fdf538b2e69653ff740e84042245018e5680cd7b>
- <https://git.kernel.org/stable/c/0478bc6bf197629fea0331d65b39eeea043c6cf0>
- <https://git.kernel.org/stable/c/d7944cee62ec6cca1c90780a766960a57d3b4bb8>
- <https://git.kernel.org/stable/c/c5f0bc9fd1cec4a00400cc727fcde03e0fde17cc>

## Sources

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

---

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