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]
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
7de9d4f946383f48ec393b6e9ad0c20e49e174e7 to < 4d993ab757a372fb8db57c68448697c425a53429affected7de9d4f946383f48ec393b6e9ad0c20e49e174e7 to < 09351db90a28ee6a82dc873609edfde02da5415daffected
Linux Linux
Default version status: affected
6.17affected0 to < 6.17unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected