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().
Published: 2026-07-24
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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
History

Thu, 13 Aug 2026 12:15:00 +0000

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:*:*:*:*:*:*

Sat, 01 Aug 2026 03:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 28 Jul 2026 16:15:00 +0000


Mon, 27 Jul 2026 06:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Mon, 27 Jul 2026 05:15:00 +0000

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'}


Fri, 24 Jul 2026 18:30:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:40:11.672Z

Reserved: 2026-07-19T15:36:31.771Z

Link: CVE-2026-64226

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-07-24T16:16:51.673

Modified: 2026-08-13T12:01:44.860

Link: CVE-2026-64226

cve-icon Redhat

Severity :

Publid Date: 2026-07-24T00:00:00Z

Links: CVE-2026-64226 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T15:00:04Z

Weaknesses