{"id":"CVE-2026-80777","aliases":["CVE-2026-80777"],"related":[],"kind":"vulnerability","state":"published","title":"futex/pi: Plug private futex exec() race","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfutex/pi: Plug private futex exec() race\n\nThe check for private futexes whether the waiter's mm, which is stored in\nthe futex_key and copied into the pi_state, is the same as the owner's mm\nis not sufficient for exec(). exec() has a gap where the mm check fails to\ngive the correct answer:\n\n  exec()\n  ...\n    exec_release_mm()\n      futex_exec_release()\n        tsk::futex::exit_state = EXITING;\n        cleanup_robust_list();\n1)      tsk::futex::exit_state = OK;\n    ...\n    old_mm = tsk::mm;\n2)  tsk::mm = ->mm;\n\nBetween #1 and #2 the check for the mm is wrong as that mm is about to be\nswapped out and eventually freed.\n\nPlug this gap by:\n\n  1) Setting tsk::futex::exit_state to FUTEX_STATE_DEAD in\n     futex_exec_release()\n\n  2) Setting tsk::futex::exit_state to FUTEX_STATE_OK after\n     the mm has been switched.\n\nFrom a futex point of view the task is dead after it finished the robust\nlist cleanup up to the point where it sets the state to OK again.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfutex/pi: Plug private futex exec() race\n\nThe check for private futexes whether the waiter's mm, which is stored in\nthe futex_key and copied into the pi_state, is the same as the owner's mm\nis not sufficient for exec(). exec() has a gap where the mm check fails to\ngive the correct answer:\n\n  exec()\n  ...\n    exec_release_mm()\n      futex_exec_release()\n        tsk::futex::exit_state = EXITING;\n        cleanup_robust_list();\n1)      tsk::futex::exit_state = OK;\n    ...\n    old_mm = tsk::mm;\n2)  tsk::mm = ->mm;\n\nBetween #1 and #2 the check for the mm is wrong as that mm is about to be\nswapped out and eventually freed.\n\nPlug this gap by:\n\n  1) Setting tsk::futex::exit_state to FUTEX_STATE_DEAD in\n     futex_exec_release()\n\n  2) Setting tsk::futex::exit_state to FUTEX_STATE_OK after\n     the mm has been switched.\n\nFrom a futex point of view the task is dead after it finished the robust\nlist cleanup up to the point where it sets the state to OK again.","source":"cvelist"}],"published":"2026-09-04T15:12:49.215Z","modified":"2026-10-19T09:17:11.790Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"80367ad01d93ac781b0e1df246edaf006928002f","fixed":"fdf538b2e69653ff740e84042245018e5680cd7b","status":"affected"},{"type":"git","introduced":"80367ad01d93ac781b0e1df246edaf006928002f","fixed":"0478bc6bf197629fea0331d65b39eeea043c6cf0","status":"affected"},{"type":"git","introduced":"80367ad01d93ac781b0e1df246edaf006928002f","fixed":"d7944cee62ec6cca1c90780a766960a57d3b4bb8","status":"affected"},{"type":"git","introduced":"80367ad01d93ac781b0e1df246edaf006928002f","fixed":"c5f0bc9fd1cec4a00400cc727fcde03e0fde17cc","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.16","status":"unaffected"},{"type":"semver","introduced":"6.18.47","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.11","lastAffected":"7.1.*","status":"unaffected"},{"type":"semver","introduced":"7.2.1","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/fdf538b2e69653ff740e84042245018e5680cd7b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0478bc6bf197629fea0331d65b39eeea043c6cf0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d7944cee62ec6cca1c90780a766960a57d3b4bb8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c5f0bc9fd1cec4a00400cc727fcde03e0fde17cc","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80777","url":"https://www.cve.org/CVERecord?id=CVE-2026-80777","licence":"CVE Terms of Use","modified":"2026-10-19T08:43:32.707Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80777","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80777","licence":"Public domain","modified":"2026-10-19T09:17:11.790Z"}],"updatedAt":"2026-11-25T22:59:36.322Z","epss":{"score":0.00168,"percentile":0.06364,"date":"2026-12-01T12:00:22.000Z"}}