CVE-2026-46154

High

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.

SeverityHigh
CVSS7.0
Exploit probability—
ProductLinux Kernel
PublishedMay 28, 2026
First seenMay 28, 2026

How to fix

Update
  • linux linux_kernel6.18.32, 7.0.7 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel6.18 ≤ v < 6.18.32, 6.19 ≤ v < 7.0.7, 7.16.18.32, 7.0.7

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.