Skip to main content

Linux Kernel CVE-2026-31733

| EUVDEUVD-2026-26546 MEDIUM
2026-05-01 Linux
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Spawn task on sched_ext system
  2. Delivery
    Trigger direct dispatch verdict
  3. Exploit
    Cause task queueing without state clear
  4. Install
    Next wakeup calls ops.select_cpu()
  5. C2
    scx_bpf_dsq_insert() detects stale state
  6. Execute
    Mark_direct_dispatch() triggers WARN_ON_ONCE()
  7. Impact
    Kernel panic or service disruption

Vulnerability Assessment

Exploitation Conditions

The vulnerability requires all of the following conditions: (1) the Linux kernel must be compiled with CONFIG_SCHED_EXT=y (sched_ext enabled), (2) a custom eBPF scheduler must be loaded and active on the system (not applicable to kernels using only default scheduling), (3) the attacker must have local access with at least user-level privileges to spawn and manipulate task scheduling, and (4) the custom scheduler must use direct dispatch semantics via ops.select_cpu() calling scx_bpf_dsq_insert() such that task wakeup sequences trigger the stale state detection. Systems without sched_ext enabled or without custom eBPF scheduling policies loaded are not affected. Additionally, the vulnerability manifests as a warning/panic only if the kernel is configured to panic on warnings (panic_on_warn sysctl) or if the system processes handle kernel warnings as fatal; otherwise the warning may be logged but not immediately disrupt service.

Impact

CVSS vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) indicates local authenticated denial of service with high availability impact but no confidentiality or integrity compromise. EPSS score of 0.02% (5th percentile) indicates very low probability of widespread automated exploitation despite the CVSS 5.5 rating, suggesting this is a kernel internals bug that requires specific sched_ext usage patterns and task scheduling sequences to trigger. The absence of any documented active exploitation (no CISA KEV listing), combined with the requirement for sched_ext to be enabled and custom eBPF scheduling policies to be in use, narrows the affected population significantly. However, organizations running containerized workloads with custom sched_ext policies or research systems leveraging this emerging kernel feature face real availability risk. The discrepancy between CVSS severity (5.5) and EPSS exploitation probability (0.02%) is explained by the niche adoption of sched_ext and the specific trigger conditions needed; this is a real but not broadly exploitable vulnerability affecting specialized deployments rather than general-purpose systems.

Exploit ScenarioDerived

An unprivileged local user on a system running a Linux kernel with sched_ext enabled and a custom eBPF scheduling policy loaded can trigger the vulnerability by spawning multiple threads and forcing specific scheduling interactions: the user creates a task that undergoes a direct dispatch verdict from the custom scheduler's ops.select_cpu(), then causes that task to be queued via wake_list (via SCX_OPS_ALLOW_QUEUED_WAKEUP) or deferred, such that the direct dispatch state is not cleared. Upon the next wakeup when ops.select_cpu() calls scx_bpf_dsq_insert(), the kernel detects the stale cached direct dispatch state and triggers a WARN_ON_ONCE() in mark_direct_dispatch(), potentially causing a kernel panic if the warning is configured as a fatal error (panic_on_warn), resulting in denial of service.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 07, 2026

A denial of service condition in the Linux kernel scheduler extension (sched_ext) subsystem allows local authenticated attackers to trigger a kernel warning and potential crash via improper handling of stale direct dispatch state in the ddsp_dsq_id field. When a task's direct dispatch verdict is not properly cleared across all code paths that consume or cancel such verdicts, a subsequent wakeup operation calling ops.select_cpu() with scx_bpf_dsq_insert() triggers a spurious WARN_ON_ONCE() in mark_direct_dispatch(), exposing the availability impact of the vulnerability. The issue affects Linux kernels with sched_ext enabled and requires local access with low privilege (non-root user capable of triggering task scheduling operations).

RemediationAI

Apply the vendor-released patch from the Linux kernel stable branches: commit ca685511f7afd42cdcbb0feea42e5d332d384251 (6.12 series), 7e0ffb72de8aa3b25989c2d980e81b829c577010 (6.19 series), 5e7b2cc8fae9ec2a5bc53311191d2faaff75a4b5 (6.18 series), or 7ea601daa0153e19cd1c6e6b300348c70c05fe77 (7.0 series) depending on your kernel version, available at https://git.kernel.org/stable/. Users unable to patch immediately can disable sched_ext-based custom schedulers (CONFIG_SCHED_EXT=n at compile time or by avoiding loading custom eBPF scheduling programs) to prevent triggering the vulnerability, though this removes the ability to use advanced scheduling policies. For systems requiring sched_ext, apply the targeted fix which clears ddsp_dsq_id state at five specific locations: in direct_dispatch() before synchronous dispatch, in process_ddsp_deferred_locals() before calling dispatch_to_local_dsq(), in do_enqueue_task() on fallback paths, in dequeue_task_scx() after dispatch_dequeue(), and in scx_disable_task() during scheduler transitions.

Affected VersionsENISA

Linux patch: 7.0
Linux patch: 6.12.82
Linux 5b26f7b920f76b2b9cc398c252a9e35e44bf5bb9 <7ea601daa0153e19cd1c6e6b300348c70c05fe77
Linux 5b26f7b920f76b2b9cc398c252a9e35e44bf5bb9 <5e7b2cc8fae9ec2a5bc53311191d2faaff75a4b5
Linux patch: 6.18.22
Linux 5b26f7b920f76b2b9cc398c252a9e35e44bf5bb9 <ca685511f7afd42cdcbb0feea42e5d332d384251
Linux patch: 0
Linux patch: 6.19.12
Linux 6.12
Linux 5b26f7b920f76b2b9cc398c252a9e35e44bf5bb9 <7e0ffb72de8aa3b25989c2d980e81b829c577010

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The sched_ext subsystem is an in-kernel extensibility framework for CPU scheduling policies, allowing custom scheduling disciplines via eBPF programs. The vulnerability exists in the direct dispatch mechanism, which caches a task's target dispatch queue ID in the per-task structure field @p->scx.ddsp_dsq_id. This field indicates a task should be dispatched directly to a specific queue rather than through the normal scheduling path. The root cause is incomplete clearing of this cached state: the field was only cleared in dispatch_enqueue(), but multiple code paths (deferred dispatch handling, task enqueueing with fallbacks, task dequeuing, and scheduler transitions) can consume or invalidate a direct dispatch verdict without reaching that clearing point. When ddsp_dsq_id remains set to a non-SCX_DSQ_INVALID value across these paths, subsequent wakeups that trigger ops.select_cpu() and call scx_bpf_dsq_insert() encounter mark_direct_dispatch() which validates that no direct dispatch is already pending-finding the stale value causes the warning.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
SUSE MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

5
CVSS changed
May 07, 2026 - 16:52 NVD
5.5 (MEDIUM)
Patch available
May 01, 2026 - 16:02 EUVD
Patch released
May 01, 2026 - 15:24 nvd
Patch available
CVE Published
May 01, 2026 - 14:14 nvd
MEDIUM 5.5
CVE Published
May 01, 2026 - 14:14 nvd
N/A

DescriptionNVD

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

sched_ext: Fix stale direct dispatch state in ddsp_dsq_id

@p->scx.ddsp_dsq_id can be left set (non-SCX_DSQ_INVALID) triggering a spurious warning in mark_direct_dispatch() when the next wakeup's ops.select_cpu() calls scx_bpf_dsq_insert(), such as:

WARNING: kernel/sched/ext.c:1273 at scx_dsq_insert_commit+0xcd/0x140

The root cause is that ddsp_dsq_id was only cleared in dispatch_enqueue(), which is not reached in all paths that consume or cancel a direct dispatch verdict.

Fix it by clearing it at the right places:

  • direct_dispatch(): cache the direct dispatch state in local variables

and clear it before dispatch_enqueue() on the synchronous path. For the deferred path, the direct dispatch state must remain set until process_ddsp_deferred_locals() consumes them.

  • process_ddsp_deferred_locals(): cache the dispatch state in local

variables and clear it before calling dispatch_to_local_dsq(), which may migrate the task to another rq.

  • do_enqueue_task(): clear the dispatch state on the enqueue path

(local/global/bypass fallbacks), where the direct dispatch verdict is ignored.

  • dequeue_task_scx(): clear the dispatch state after dispatch_dequeue()

to handle both the deferred dispatch cancellation and the holding_cpu race, covering all cases where a pending direct dispatch is cancelled.

  • scx_disable_task(): clear the direct dispatch state when

transitioning a task out of the current scheduler. Waking tasks may have had the direct dispatch state set by the outgoing scheduler's ops.select_cpu() and then been queued on a wake_list via ttwu_queue_wakelist(), when SCX_OPS_ALLOW_QUEUED_WAKEUP is set. Such tasks are not on the runqueue and are not iterated by scx_bypass(), so their direct dispatch state won't be cleared. Without this clear, any subsequent SCX scheduler that tries to direct dispatch the task will trigger the WARN_ON_ONCE() in mark_direct_dispatch().

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy