CVE-2026-46154: sched_ext: Read scx_root under scx_cgroup_ops_rwsem in cgroup setters

Published May 28, 2026
·
Updated

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

schedext: Read scxroot under scxcgroupopsrwsem in cgroup setters

scxgroupset{weight,idle,bandwidth}() cache scxroot before acquiring scxcgroupopsrwsem, so the pointer can be stale by the time the op runs. If the loaded scheduler is disabled and freed (via RCU work) and another is enabled between the naked load and the rwsem acquire, the reader sees scxcgroupenabled=true (the new scheduler's) but dereferences the freed one - UAF on SCXHASOP(sch, ...) / SCXCALLOP(sch, ...).

scxcgroupenabled is toggled only under scxcgroupopsrwsem write (scxcgroup{init,exit}), so reading scxroot inside the rwsem read section correlates @sch with the enabled snapshot.

Affected Software

4 affected components
Linux Linux kernel
Linux Linux kernel>=6.18<6.18.32
Linux Linux kernel>=6.19<7.0.7
Linux Linux kernel=7.1-rc1

Event History

May 28, 2026
CVE Published
via MITRE·09:36 AM
Data Sourced
via MITRE·09:36 AM
DescriptionSeverity
Data Sourced
via NVD·10:16 AM
RemedyDescriptionSeverityWeaknessAffected Software

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