CVE-2026-46154

sched_ext: Read scx_root under scx_cgroup_ops_rwsem in cgroup setters

High · published May 28, 2026

CVSS v3.1
7.0
EPSS
0%
Percentile
4.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.0 · HIGH
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00153 · 4.1th percentile
Published
2026-05-28T09:36Z
EPSS history
Timeline
  • 28 MAY 09:36Z
    sched_ext: Read scx_root under scx_cgroup_ops_rwsem in cgroup setters
    cvelistv5