CVE-2026-139172: sched_ext: Fix a lone IMMED task waiting behind a kept prev

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

schedext: Fix a lone IMMED task waiting behind a kept prev

While dispatch is in progress, rqisopen() returns true and dsqincnr() schedules no reenqueue for an IMMED task inserted on an empty local DSQ. The check at the end of dispatchone() schedules the reenqueue only when more than one task is queued, so a dispatch that keeps prev leaves a lone IMMED task behind:

1. a parent's ops.dispatch() sub-dispatches into a child, which consumes a task with SCXENQIMMED onto the empty local DSQ 2. the parent extends prev's slice and dispatch keeps prev 3. the local DSQ holds one task, so no reenqueue is scheduled

The IMMED task waits on the local DSQ behind prev.

Schedule the reenqueue when dispatch keeps prev and an IMMED task is queued, as even a lone IMMED task can't run right away behind prev.

v2: The description and dispatchone()'s comment are reworded.

Affected Software

1 affected component
Linux Linux kernel (sched_ext)

Event History

Nov 30, 2026
CVE Published
via MITRE·01:32 PM
Data Sourced
via MITRE·01:32 PM
Description

Frequently Asked Questions

1

Which sched_ext workloads can encounter this condition?

It requires a parent scheduler's ops.dispatch() to sub-dispatch into a child, the child to consume a task enqueued with SCX_ENQ_IMMED onto an empty local DSQ, and the parent dispatch to keep the previous task after extending its slice.

2

What does the resolved change do differently?

It schedules a reenqueue whenever dispatch keeps the previous task and an IMMED task is queued. This covers the previously missed case where exactly one IMMED task is waiting on the local DSQ behind the kept previous task.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203