{"id":"CVE-2026-139773","state":"PUBLISHED","title":"sched/core: Don't steal a proxy-exec donor","description":"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.","publishedAt":"2026-11-30T13:37:51.903Z","updatedAt":"2026-11-30T13:37:51.903Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7de9d4f946383f48ec393b6e9ad0c20e49e174e7","status":"affected","lessThan":"50d009b11386d7637ccd9e2d304fca365277698b","versionType":"git"},{"version":"7de9d4f946383f48ec393b6e9ad0c20e49e174e7","status":"affected","lessThan":"6ba6f1a7927034d50262f507d8d0076b7712e014","versionType":"git"},{"version":"7de9d4f946383f48ec393b6e9ad0c20e49e174e7","status":"affected","lessThan":"3dd95f077371f5def65a91c4bb13bd574a62bc3a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/sched/core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.17","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/sched/core.c"]}],"references":["https://git.kernel.org/stable/c/50d009b11386d7637ccd9e2d304fca365277698b","https://git.kernel.org/stable/c/6ba6f1a7927034d50262f507d8d0076b7712e014","https://git.kernel.org/stable/c/3dd95f077371f5def65a91c4bb13bd574a62bc3a"],"weaknesses":[],"ingestedAt":"2026-11-30T13:56:04.579Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139773.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139773","state":"PUBLISHED","datePublished":"2026-11-30T13:37:51.903Z","dateUpdated":"2026-11-30T13:37:51.903Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.952Z"},"containers":{"cna":{"title":"sched/core: Don't steal a proxy-exec donor","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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7de9d4f946383f48ec393b6e9ad0c20e49e174e7","status":"affected","lessThan":"50d009b11386d7637ccd9e2d304fca365277698b","versionType":"git"},{"version":"7de9d4f946383f48ec393b6e9ad0c20e49e174e7","status":"affected","lessThan":"6ba6f1a7927034d50262f507d8d0076b7712e014","versionType":"git"},{"version":"7de9d4f946383f48ec393b6e9ad0c20e49e174e7","status":"affected","lessThan":"3dd95f077371f5def65a91c4bb13bd574a62bc3a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/sched/core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.17","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/sched/core.c"]}],"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"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:37:51.903Z"},"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"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}