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

- Severity: High 7.0 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-28T09:36:10.310Z
- Modified: 2026-08-05T12:30:05.703Z
- Weaknesses: CWE-416
- Assigned by: Linux

## Description

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

sched_ext: Read scx_root under scx_cgroup_ops_rwsem in cgroup setters

scx_group_set_{weight,idle,bandwidth}() cache scx_root before acquiring
scx_cgroup_ops_rwsem, 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
scx_cgroup_enabled=true (the new scheduler's) but dereferences the freed one
- UAF on SCX_HAS_OP(sch, ...) / SCX_CALL_OP(sch, ...).

scx_cgroup_enabled is toggled only under scx_cgroup_ops_rwsem write
(scx_cgroup_{init,exit}), so reading scx_root inside the rwsem read section
correlates @sch with the enabled snapshot.

(As written by CVE List.)

## Affected

- Linux Linux: from a5bd6ba30b3364354269b81ac55c2edca9a96d6d before ce9aaa3af445c391735c9d000c4db60dfd5640d4; from a5bd6ba30b3364354269b81ac55c2edca9a96d6d before 0f54f6355575971673d8aac7da107ec4178e45bd; from a5bd6ba30b3364354269b81ac55c2edca9a96d6d before 80afd4c84bc8f5e80145ce35279f5ce53f6043db; 6.18 (not affected: before 6.18; from 6.18.32 up to 6.18.*; from 7.0.7 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.18 before 6.18.32; from 6.19 before 7.0.7; 7.1

## References

- <https://git.kernel.org/stable/c/ce9aaa3af445c391735c9d000c4db60dfd5640d4> (patch)
- <https://git.kernel.org/stable/c/0f54f6355575971673d8aac7da107ec4178e45bd> (patch)
- <https://git.kernel.org/stable/c/80afd4c84bc8f5e80145ce35279f5ce53f6043db> (patch)

## Sources

- CVE List: [CVE-2026-46154](https://www.cve.org/CVERecord?id=CVE-2026-46154), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2026-46154](https://nvd.nist.gov/vuln/detail/CVE-2026-46154), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-46154 · Whole record: https://cve.day/CVE-2026-46154.json · Rebuilt by cve.day 2026-11-25T22:59:22.819Z
