sched_ext: Avoid UAF in scx_root_enable_workfn() init failure path
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 45c7c4e3db8b700307313c035ea08be829a7f21b, Kernel 57e19ba3f58a67eb924022a5a60b67fd08e5cbbd, Kernel 9a415cc53711f2238e0f0ca8a6bcc796c003b127 and 1 more.
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().
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.12, >=f0e1a0643a59bf1f922fa209cec86a170b784f3f <45c7c4e3db8b700307313c035ea08be829a7f21b, >=f0e1a0643a59bf1f922fa209cec86a170b784f3f <57e19ba3f58a67eb924022a5a60b67fd08e5cbbd, >=f0e1a0643a59bf1f922fa209cec86a170b784f3f <9a415cc53711f2238e0f0ca8a6bcc796c003b127, >=f0e1a0643a59bf1f922fa209cec86a170b784f3f <cf396941901858b0de426cdcd3974eea6a02c98c | 45c7c4e3db8b700307313c035ea08be829a7f21b, 57e19ba3f58a67eb924022a5a60b67fd08e5cbbd, 9a415cc53711f2238e0f0ca8a6bcc796c003b127, cf396941901858b0de426cdcd3974eea6a02c98c |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket