futex/pi: Plug private futex exec() race
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.
CVE-2026-80777
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-80777
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "80367ad01d93ac781b0e1df246edaf006928002f",
"lessThan": "fdf538b2e69653ff740e84042245018e5680cd7b",
"versionType": "git"
},
{
"status": "affected",
"version": "80367ad01d93ac781b0e1df246edaf006928002f",
"lessThan": "0478bc6bf197629fea0331d65b39eeea043c6cf0",
"versionType": "git"
},
{
"status": "affected",
"version": "80367ad01d93ac781b0e1df246edaf006928002f",
"lessThan": "d7944cee62ec6cca1c90780a766960a57d3b4bb8",
"versionType": "git"
},
{
"status": "affected",
"version": "80367ad01d93ac781b0e1df246edaf006928002f",
"lessThan": "c5f0bc9fd1cec4a00400cc727fcde03e0fde17cc",
"versionType": "git"
}
],
"programFiles": [
"fs/exec.c",
"include/linux/futex.h",
"kernel/futex/core.c",
"kernel/futex/pi.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.16"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.16",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.18.47",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.1.11",
"versionType": "semver",
"lessThanOrEqual": "7.1.*"
},
{
"status": "unaffected",
"version": "7.2.1",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"fs/exec.c",
"include/linux/futex.h",
"kernel/futex/core.c",
"kernel/futex/pi.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-80777
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #34795 · Revision 1
- Added to Heist Feed
- Publisher date