# CVE-2026-64226: sched_ext: Avoid UAF in scx_root_enable_workfn() init failure path

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-07-24T15:23:10.388Z
- Modified: 2026-08-13T12:01:44.860Z
- Weaknesses: CWE-416
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from f0e1a0643a59bf1f922fa209cec86a170b784f3f before cf396941901858b0de426cdcd3974eea6a02c98c; from f0e1a0643a59bf1f922fa209cec86a170b784f3f before 45c7c4e3db8b700307313c035ea08be829a7f21b; from f0e1a0643a59bf1f922fa209cec86a170b784f3f before 57e19ba3f58a67eb924022a5a60b67fd08e5cbbd; from f0e1a0643a59bf1f922fa209cec86a170b784f3f before 9a415cc53711f2238e0f0ca8a6bcc796c003b127; 6.12 (not affected: before 6.12; from 6.12.92 up to 6.12.*; from 6.18.34 up to 6.18.*; from 7.0.11 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.12 before 6.12.92; from 6.13 before 6.18.34; from 6.19 before 7.0.11; 7.1

## References

- <https://git.kernel.org/stable/c/cf396941901858b0de426cdcd3974eea6a02c98c> (patch)
- <https://git.kernel.org/stable/c/45c7c4e3db8b700307313c035ea08be829a7f21b> (patch)
- <https://git.kernel.org/stable/c/57e19ba3f58a67eb924022a5a60b67fd08e5cbbd> (patch)
- <https://git.kernel.org/stable/c/9a415cc53711f2238e0f0ca8a6bcc796c003b127> (patch)

## Sources

- CVE List: [CVE-2026-64226](https://www.cve.org/CVERecord?id=CVE-2026-64226), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2026-64226](https://nvd.nist.gov/vuln/detail/CVE-2026-64226), Public domain, modified 2026-08-13

---

Page: https://cve.day/CVE-2026-64226 · Whole record: https://cve.day/CVE-2026-64226.json · Rebuilt by cve.day 2026-11-25T22:59:30.007Z
