Bug 2506787 (CVE-2026-64226) - CVE-2026-64226 kernel: Linux kernel (sched_ext): Use-After-Free vulnerability in scx_root_enable_workfn()
Summary: CVE-2026-64226 kernel: Linux kernel (sched_ext): Use-After-Free vulnerability...
Keywords:
Status: NEW
Alias: CVE-2026-64226
Product: Security Response
Classification: Other
Component: vulnerability-draft
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-24 16:02 UTC by OSIDB Bzimport
Modified: 2026-08-13 15:02 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-24 16:02:42 UTC
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().

Comment 1 Mauro Matteo Cascella 2026-07-28 09:30:43 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026072417-CVE-2026-64226-590d@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.