CVE-2026-64226

sched_ext: Avoid UAF in scx_root_enable_workfn() init failure path

Published Jul 24, 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: Avoid UAF in scx_root_enable_workfn() init failure path

In scx_root_enable_workfn(), put_task_struct(p) is called before scx_error()
dereferences p->comm and p->pid. If the iterator's reference is the last
drop, the task is freed synchronously and the deref becomes a UAF.

Move put_task_struct() past scx_error().

Analysis

AI-generated

Technical impact

The vulnerability occurs in the scheduler extension function scx_root_enable_workfn. A put_task_struct call precedes an scx_error dereference of the task’s comm and pid fields. When the iterator’s reference count drops to zero, the task structure can be freed synchronously, causing a use‑after‑free. This dangling pointer can corrupt kernel memory. Based on the description, it is inferred that an attacker with local access could exploit the memory corruption to crash the kernel or potentially execute arbitrary code in privileged mode.

Affected Systems

All Linux kernel releases that ship the sched_ext scheduler extension without the upstream fix are potentially vulnerable. The advisory does not specify version constraints, so any system running an unpatched kernel branch that includes sched_ext remains at risk.

Risk and Exploitability

The CVSS score is 7.8, and the EPSS score is reported as < 1 %, indicating a very low probability of observed exploitation. The vulnerability is not listed in the CISA KEV catalog. The flaw resides in kernel space and requires the attacker to trigger a specific iterator state; therefore, the attack vector is inferred to be local. The risk is described as moderate because local privilege escalation could compromise kernel integrity and confidentiality, but the low exploitation likelihood lowers the urgency.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the upstream commit that removes the use‑after‑free in scx_root_enable_workfn.
  • Reboot the system after the upgrade to ensure the patched kernel is active.
  • If an immediate upgrade is not possible, consider temporarily disabling the sched_ext scheduler extension or applying a temporary patch from the kernel source tree.

Generated by OpenCVE AI on August 13, 2026 at 14:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8663-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8664-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-416
CPEs cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Weaknesses CWE-416
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
Description In the Linux kernel, the following vulnerability has been resolved: sched_ext: Avoid UAF in scx_root_enable_workfn() init failure path In scx_root_enable_workfn(), put_task_struct(p) is called before scx_error() dereferences p->comm and p->pid. If the iterator's reference is the last drop, the task is freed synchronously and the deref becomes a UAF. Move put_task_struct() past scx_error().
Title sched_ext: Avoid UAF in scx_root_enable_workfn() init failure path
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 5, 2026, 12:40 PM
Reserved
Jul 19, 2026, 3:36 PM
Status
Analyzed
Published
Jul 24, 2026, 4:16 PM
Modified
Aug 13, 2026, 12:01 PM
Severity
Public date
Jul 24, 2026, 12:00 AM