CVE-2026-74593: sched_ext: Take cgroup_lock() first in scx_cgroup_lock()

Published Aug 22, 2026
·
Updated

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

schedext: Take cgrouplock() first in scxcgrouplock()

scxcgrouplock() write-locks scxcgroupopsrwsem and then takes cgrouplock(), which can deadlock through kernfs:

scx enable/disable cgroup rmdir cpu.weight write ------------------ ------------ ---------------- cgrouplock() percpudownwrite(rwsem) cgrouplock() kernfsgetactive() percpudownread(rwsem) kernfsdrain()

The enable path waits for the rmdir to release cgroupmutex. The rmdir, deactivating the cpu controller's files, waits in kernfsdrain() for the write's active reference. The write, in scxgroupsetweight(), waits for the rwsem behind the pending writer.

Take cgrouplock() first. The set paths take no cgroup locks inside the read side, so a pending write-lock then only waits for read sections that always run to completion, and no dependency from the rwsem back to cgroupmutex remains.

Affected Software

1 affected component
Linux Kernel

Event History

Aug 22, 2026
CVE Published
via MITRE·03:31 PM
Data Sourced
via MITRE·03:31 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203