{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139773","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-11-30T13:22:15.952Z","datePublished":"2026-11-30T13:37:51.903Z","dateUpdated":"2026-12-01T05:43:18.427Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-01T05:43:18.427Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nsched/core: Don't steal a proxy-exec donor\n\ntry_steal_cookie() avoids stealing src->core_pick and src->curr before\nmoving a task with the same cookie via move_queued_task_locked().\n\nWith proxy-exec, src->donor is the current scheduling context and may\ndiffer from src->curr. Stealing it migrates a task that the source rq\nstill treats as current, leaving src's scheduler state for that task\nstale. For CFS this means cfs_rq->curr points at the stolen entity,\nand the next pick on the source rq hits the WARN_ON_ONCE in\nput_prev_entity().\n\nCommit 7de9d4f94638 (\"sched: Start blocked_on chain processing in\nfind_proxy_task()\") tweaked the fair class logic so that the donor task\nisn't migrated away while we're running the proxy. Do it similarly for\ntry_steal_cookie() and skip src->donor as well."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"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.\nAC: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.\nPR: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.\nUI:N - The attacker's own threads produce the donor, the mutex owner and the forced-idle sibling, so no other user has to act.\nS: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.\nC: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.\nI: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.\nA: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."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/sched/core.c"],"versions":[{"version":"7de9d4f946383f48ec393b6e9ad0c20e49e174e7","lessThan":"50d009b11386d7637ccd9e2d304fca365277698b","status":"affected","versionType":"git"},{"version":"7de9d4f946383f48ec393b6e9ad0c20e49e174e7","lessThan":"6ba6f1a7927034d50262f507d8d0076b7712e014","status":"affected","versionType":"git"},{"version":"7de9d4f946383f48ec393b6e9ad0c20e49e174e7","lessThan":"3dd95f077371f5def65a91c4bb13bd574a62bc3a","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/sched/core.c"],"versions":[{"version":"6.17","status":"affected"},{"version":"0","lessThan":"6.17","status":"unaffected","versionType":"semver"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/50d009b11386d7637ccd9e2d304fca365277698b"},{"url":"https://git.kernel.org/stable/c/6ba6f1a7927034d50262f507d8d0076b7712e014"},{"url":"https://git.kernel.org/stable/c/3dd95f077371f5def65a91c4bb13bd574a62bc3a"}],"title":"sched/core: Don't steal a proxy-exec donor","x_generator":{"engine":"bippy-1.2.0"}}}}