sched_ext: Wait for SCX_OPSS_DISPATCHING before moving tasks off DSQs
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2935062be77113c1c4565ca9d0c72180449aafee, Kernel cc2839946328c1618b3870d521b32bb9483d49d0 and Kernel 7.2.14.
In the Linux kernel, the following vulnerability has been resolved: sched_ext: Wait for SCX_OPSS_DISPATCHING before moving tasks off DSQs A task can be found on a non-local DSQ while the CPU which dispatched it is still running ops.dequeue() and hasn't cleared SCX_OPSS_DISPATCHING. The DSQ consume and move paths don't wait for the dispatch to finish and can operate on the task concurrently with the dispatcher. Call scx_wait_dispatching() in scx_move_local_task_to_local_dsq(), unlink_dsq_and_switch_rq_lock() and move_task_between_dsqs() before they operate on the task. In scx_move_local_task_to_local_dsq(), wait before scx_resolve_local_dsq() as it may update p->scx.flags.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =7.1, >=ebf1ccff79c43f860cbd2f9d6cfab9a462d0cb2d <2935062be77113c1c4565ca9d0c72180449aafee, >=ebf1ccff79c43f860cbd2f9d6cfab9a462d0cb2d <cc2839946328c1618b3870d521b32bb9483d49d0 | 2935062be77113c1c4565ca9d0c72180449aafee, cc2839946328c1618b3870d521b32bb9483d49d0 |
| linux-kernel: Kernel | >=7.1.0 <7.2.14 | 7.2.14 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket