sched/core: Don't proxy-exec unmatched cookie lock owners

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

sched/core: Don't proxy-exec unmatched cookie lock owners

Core scheduling chooses a core-wide cookie before __schedule() installs the next task. With proxy-exec enabled, that task becomes the donor/scheduling context, and find_proxy_task() may then replace the execution context with the runnable mutex owner. If its cookie differs from the selected core cookie, running it would bypass core scheduling's cookie selection.

When the final mutex owner found by find_proxy_task() does not match the selected core cookie, stop proxying the donor. If the current execution context is already in the blocked chain, fall back to idle like the existing proxy-exec retry paths do. Otherwise deactivate the donor and let __schedule() pick again. The mutex owner can be picked later under its own cookie.

[jstultz: Added tweak to ensure we deactivate donor, not runnable owner]

ProductVersions
Linux Linux7de9d4f946383f48ec393b6e9ad0c20e49e174e7 to before 4d993ab757a372fb8db57c68448697c425a53429 Affected7de9d4f946383f48ec393b6e9ad0c20e49e174e7 to before 09351db90a28ee6a82dc873609edfde02da5415d Affected
Linux Linux6.17 Affectedbefore 6.17 Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.