CVE-2026-43438

sched_ext: Remove redundant css_put() in scx_cgroup_init()

Published May 8, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

sched_ext: Remove redundant css_put() in scx_cgroup_init()

The iterator css_for_each_descendant_pre() walks the cgroup hierarchy
under cgroup_lock(). It does not increment the reference counts on
yielded css structs.

According to the cgroup documentation, css_put() should only be used
to release a reference obtained via css_get() or css_tryget_online().
Since the iterator does not use either of these to acquire a reference,
calling css_put() in the error path of scx_cgroup_init() causes a
refcount underflow.

Remove the unbalanced css_put() to prevent a potential Use-After-Free
(UAF) vulnerability.

Analysis

AI-generated

Technical impact

The Linux kernel scheduler extension contains a redundant css_put() call in the error path of scx_cgroup_init(). Because the iterator css_for_each_descendant_pre() does not acquire references before yielding css structures, the extra css_put() causes a reference‑count underflow. This imbalance can lead to a use‑after‑free condition in kernel memory, enabling an attacker to corrupt or overwrite memory and potentially gain arbitrary code execution or cause a system crash.

Affected Systems

All Linux kernel versions that have not yet incorporated the commit that removes the redundant css_put() in scx_cgroup_init() are affected. The fix is present in the kernel source tree referenced by git commit identifiers, so any release based on a kernel snapshot that includes that change is considered safe. No specific version numbers were supplied.

Risk and Exploitability

The CVSS score is 7.8, indicating a high severity. The EPSS score indicates a probability of less than 1%. The vulnerability is not listed in the CISA KEV catalog. Nonetheless, use‑after‑free bugs at the kernel level are generally considered high‑risk because they can allow privileged attackers to execute arbitrary code with kernel privileges. The likely attack vector would involve an attacker with the ability to trigger the error path in scx_cgroup_init(), such as through malformed cgroup operations, but explicit exploitation details are not disclosed here.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that includes the commit removing the redundant css_put() (see the cited git commits).
  • If a timely update is not available, backport the fix by editing the kernel source to remove the css_put() call in scx_cgroup_init() and rebuild the kernel.
  • After updating the kernel, reboot the system to ensure the patched version is active. If the scheduler extension is not required for your environment, consider disabling the sched_ext feature to mitigate the risk until an official update can be applied.

Generated by OpenCVE AI on May 21, 2026 at 18:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-416
CPEs cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: sched_ext: Remove redundant css_put() in scx_cgroup_init() The iterator css_for_each_descendant_pre() walks the cgroup hierarchy under cgroup_lock(). It does not increment the reference counts on yielded css structs. According to the cgroup documentation, css_put() should only be used to release a reference obtained via css_get() or css_tryget_online(). Since the iterator does not use either of these to acquire a reference, calling css_put() in the error path of scx_cgroup_init() causes a refcount underflow. Remove the unbalanced css_put() to prevent a potential Use-After-Free (UAF) vulnerability.
Title sched_ext: Remove redundant css_put() in scx_cgroup_init()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-1341

    Multiple Releases of Same Resource or Handle

  • CWE-416

    Use After Free

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 5, 2026, 12:27 PM
Reserved
May 1, 2026, 2:12 PM
Status
Analyzed
Published
May 8, 2026, 3:16 PM
Modified
Nov 11, 2026, 8:10 PM
Severity
Public date
May 8, 2026, 12:00 AM