CVE-2026-139773
published high CVSS 3.1 · 7.0sched/core: Don't steal a proxy-exec donor
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux7de9d4f946383f48ec393b6e9ad0c20e49e174e7 to < 50d009b11386d7637ccd9e2d304fca365277698b · 7de9d4f946383f48ec393b6e9ad0c20e49e174e7 to < 6ba6f1a7927034d50262f507d8d0076b7712e014 · 7de9d4f946383f48ec393b6e9ad0c20e49e174e7 to < 3dd95f077371f5def65a91c4bb13bd574a62bc3a · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.17 (affected) · 0 to < 6.17 (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: sched/core: Don't steal a proxy-exec donor try_steal_cookie() avoids stealing src->core_pick and src->curr before moving a task with the same cookie via move_queued_task_locked(). With proxy-exec, src->donor is the current scheduling context and may differ from src->curr. Stealing it migrates a task that the source rq still treats as current, leaving src's scheduler state for that task stale. For CFS this means cfs_rq->curr points at the stolen entity, and the next pick on the source rq hits the WARN_ON_ONCE in put_prev_entity(). Commit 7de9d4f94638 ("sched: Start blocked_on chain processing in find_proxy_task()") tweaked the fair class logic so that the donor task isn't migrated away while we're running the proxy. Do it similarly for try_steal_cookie() and skip src->donor as well.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.0 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The trigger is local scheduler state: a thread blocked on a kernel mutex (e.g. f_pos_lock via read()) becomes src->donor, and a forced-idle sibling running sched_core_balance()->try_steal_cookie() migrates it. No remote input is involved. AC:H - Needs CONFIG_SCHED_PROXY_EXEC (EXPERT-gated, incompatible with SCHED_CLASS_EXT through 7.3, only in the s390 defconfig) plus SCHED_CORE and SMT hardware. That combination is rare in practice. The attacker must also time the steal into the window where the donor is being proxied. PR:L - An unprivileged user can tag their own threads with prctl(PR_SCHED_CORE, PR_SCHED_CORE_CREATE), since the ptrace_may_access() check passes on self. The same user pins threads with sched_setaffinity() and contends an ordinary mutex. No capability is needed. UI:N - The attacker's own threads produce the donor, the mutex owner and the forced-idle sibling, so no other user has to act. S:U - Corruption is confined to kernel scheduler state (cfs_rq/rbtree/task_struct) inside the same kernel security authority. No guest/host or other boundary is crossed. C:H - After move_queued_task_locked() steals the donor, src cfs_rq->curr keeps pointing at its sched_entity, and put_prev_task_fair() follows cfs_rq_of(se) to the other CPU. Once the donor exits, update_curr()/update_se() read through the freed task_struct, including donor->cgroups. I:H - update_se() writes exec_start/vruntime/deadline into the freed task_struct and does cgroup_account_cputime() through its stale cgroups pointer. put_prev_entity() can also double-insert into the destination CPU's rbtree without that CPU's lock. A:H - The stale donor triggers WARN_ON_ONCE in put_prev_entity(), clears the destination's cfs_rq->curr to NULL and corrupts the CFS rbtree. Those lead to an oops, a pick-loop lockup or panic_on_warn.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 7de9d4f946383f48ec393b6e9ad0c20e49e174e7 to < 50d009b11386d7637ccd9e2d304fca365277698b (affected · git)7de9d4f946383f48ec393b6e9ad0c20e49e174e7 to < 6ba6f1a7927034d50262f507d8d0076b7712e014 (affected · git)7de9d4f946383f48ec393b6e9ad0c20e49e174e7 to < 3dd95f077371f5def65a91c4bb13bd574a62bc3a (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.17 (affected)0 to < 6.17 (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
sched/core: Don't steal a proxy-exec donor
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- eec2954ec942c42237200a8905726b8187e3e4df9c4c7dca88ae5474a58d8685
- Ingested
- 01 Dec 2026, 05:47:22 UTC
- Source record
- Official CVE record