CVE-2026-98865
publishedsched_ext: Don't run ops.dequeue() with a DSQ lock held
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxebf1ccff79c43f860cbd2f9d6cfab9a462d0cb2d to < fe499ae9da46e297f578d4346c4c8e338c3118db · ebf1ccff79c43f860cbd2f9d6cfab9a462d0cb2d to < cb86607ada73185f321baa7f9d94a08a3a40bbf5 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.1 (affected) · 0 to < 7.1 (unaffected · semver) · 7.2.10 through 7.2.* (unaffected · semver) · 7.3 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: sched_ext: Don't run ops.dequeue() with a DSQ lock held ops.dequeue() is invoked with the source user DSQ's lock still held on the consume and move paths (scx_consume_dispatch_q(), move_task_between_dsqs()). A BPF scheduler which locks the source user DSQ from ops.dequeue() - e.g. by iterating it with bpf_iter_scx_dsq - self-deadlocks. ops.dequeue() can only call the "any" kfuncs and none of them can lock a builtin DSQ, so the global and bypass paths can't deadlock; however, all DSQ locks share one lockdep class, so iterating any user DSQ from ops.dequeue() on those paths trips the recursion check. Move the invocation after the DSQ unlock on all three paths. SCX_TASK_IN_CUSTODY is cleared under the lock serializing the transfer so that the callback is invoked exactly once.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | ebf1ccff79c43f860cbd2f9d6cfab9a462d0cb2d to < fe499ae9da46e297f578d4346c4c8e338c3118db (affected · git)ebf1ccff79c43f860cbd2f9d6cfab9a462d0cb2d to < cb86607ada73185f321baa7f9d94a08a3a40bbf5 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 7.1 (affected)0 to < 7.1 (unaffected · semver)7.2.10 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
sched_ext: Don't run ops.dequeue() with a DSQ lock held
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 66504ea31d412d3af63928f0767cd78ba23697a45a055d3e2e19111c514a9ceb
- Ingested
- 19 Oct 2026, 09:36:29 UTC
- Source record
- Official CVE record