CVE-2026-64226 PUBLISHED

sched_ext: Avoid UAF in scx_root_enable_workfn() init failure path

Assigner: Linux
Reserved: 19.07.2026 Published: 24.07.2026 Updated: 24.07.2026

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().

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from f0e1a0643a59bf1f922fa209cec86a170b784f3f to cf396941901858b0de426cdcd3974eea6a02c98c (excl.)
  • affected from f0e1a0643a59bf1f922fa209cec86a170b784f3f to 45c7c4e3db8b700307313c035ea08be829a7f21b (excl.)
  • affected from f0e1a0643a59bf1f922fa209cec86a170b784f3f to 57e19ba3f58a67eb924022a5a60b67fd08e5cbbd (excl.)
  • affected from f0e1a0643a59bf1f922fa209cec86a170b784f3f to 9a415cc53711f2238e0f0ca8a6bcc796c003b127 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.12 is affected
  • unaffected from 0 to 6.12 (excl.)
  • unaffected from 6.12.92 to 6.12.* (incl.)
  • unaffected from 6.18.34 to 6.18.* (incl.)
  • unaffected from 7.0.11 to 7.0.* (incl.)
  • unaffected from 7.1 to * (incl.)

References