Skip to main content

Linux Kernel CVE-2025-68333

MEDIUM
Improper Locking (CWE-667)
2025-12-22 416baaa9-dc9f-4396-8d5f-8c081fb06d67
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Local access to PREEMPT_RT sched_ext host
  2. Delivery
    Trigger deferred IRQ work on current rq
  3. Exploit
    Interrupt arrives during rq->__lock hold
  4. Execution
    Recursive lock acquisition deadlocks CPU
  5. Impact
    Denial of service / system hang

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Proper locking
Exploitation Conditions

Exploitation is confined to kernels built with CONFIG_PREEMPT_RT=y (the real-time preemption variant) that also use the sched_ext BPF-based scheduler, and only in the Linux 6.18 release-candidate series (rc1-rc6); stable kernels and non-RT builds are not affected. The deadlock arises only when deferred_irq_workfn() runs against the current CPU's runqueue and a hardware interrupt lands precisely while rq->__lock is held, so it is a non-deterministic race, not a reliably triggerable condition. Limiting factors: requires local presence on the host (AV:L) and some privilege/scheduling activity (PR:L), affects only a narrow RT+sched_ext configuration, and impacts only pre-release kernels - meaning no deployed production system running a stable release is exposed.

Impact

This is a low-priority, defense-in-depth kernel hardening fix rather than an attacker-driven vulnerability. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, base 5.5) correctly captures the profile: local access only, no confidentiality or integrity impact, and availability-only consequence (a deadlock/hang). CWE-667 (improper locking) matches the root cause - recursive acquisition of rq->__lock when deferred_irq_workfn() runs in softened IRQ context on PREEMPT_RT=y kernels. No EPSS score, no CISA KEV listing, and no public exploit were provided, so by the precision rules this is 'no public exploit identified at time of analysis.' Crucially, the affected set is limited to Linux 6.18 release candidates (rc1-rc6), which are pre-release kernels not used in production, so real-world exposure is minimal. One conflicting signal: the input Tags assert 'Information Disclosure,' but the CVSS vector is explicitly C:N/I:N/A:H - there is NO confidentiality impact, so the tag is wrong and should be disregarded. Overall this is a high-CVSS-relative-to-impact edge case with negligible real-world risk: a timing-dependent, local availability bug on RT kernels that never shipped in a stable release.

Exploit ScenarioDerived

On a PREEMPT_RT=y kernel built from Linux 6.18-rc with sched_ext in use, the deferred IRQ work function executes in a preemptible per-CPU task context; if it processes the current CPU's runqueue and is interrupted while holding rq->__lock, a re-entrant attempt to take the same lock deadlocks that CPU. This is a race condition triggered by normal scheduling activity and interrupt timing rather than a crafted payload, so there is no public exploit and deliberate triggering by a local user would be unreliable.

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

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

Alert me

AnalysisAIv1 – Oct 19, 2026

Denial of service in the Linux kernel's sched_ext scheduler can occur on PREEMPT_RT builds when deferred_irq_workfn() races with a hardware interrupt and reacquires rq->__lock, hanging the affected CPU. Exposure is limited to Linux 6.18-rc1 through 6.18-rc6 configured with CONFIG_PREEMPT_RT=y and sched_ext; stable kernels and non-RT builds are not affected, and the race is non-deterministic, requiring local access and some scheduling privilege. This is a low-priority hardening fix rather than an attacker-driven vulnerability, and no public exploit has been identified at time of analysis.

RemediationAI

Patch available per vendor advisory: apply the upstream sched_ext fix referenced by commits 541959b2fadb832a7d0ceb95041dc52bdcf6bff7, 600b4379b9a7ba41340d652211fb29699da4c629, and a257e974210320ede524f340ffe16bf4bf0dda1e, or move to a kernel release that includes the change; because the input does not specify an exact fixed version, confirm the containing release with the distributor. If a PREEMPT_RT kernel on 6.18-rc1 through 6.18-rc6 is in use, avoid enabling sched_ext (do not load an scx BPF scheduler) or run a non-RT kernel until patched - disabling sched_ext removes the extensible scheduling functionality and running non-RT loses real-time guarantees. Restrict local interactive access and untrusted scheduling-privileged workloads as a compensating control, noting that this does not eliminate the race. No public exploit has been identified.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

The issue is a lock-ordering/deadlock flaw (CWE-667) in the Linux kernel's sched_ext extensible scheduler, a BPF-based scheduling framework. On PREEMPT_RT=y kernels, deferred_irq_workfn() executes in the per-CPU irq_work/* task context with interrupts enabled rather than in hard-IRQ context; if container_of() resolves to the current CPU's runqueue, the function can take rq->__lock while an interrupt arrives and attempts to take the same lock, producing the classic lock(&rq->__lock); <Interrupt> lock(&rq->__lock); deadlock. The fix replaces init_irq_work() with IRQ_WORK_INIT_HARD() so deferred_irq_workfn() always runs in hard-IRQ context, removing the interruptible critical section. CPE data enumerates Linux kernel 6.18-rc1 through 6.18-rc6, with broad linux:linux_kernel wildcard entries, matching the independent assessment that only these pre-release RT+sched_ext configurations are affected.

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
vuln.today AI 4.7 MEDIUM

Local-only race requiring precise interrupt timing during a lock hold on an RT+sched_ext build, so AV:L/AC:H/PR:L; availability-only deadlock means C:N/I:N/A:H.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

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

DescriptionNVD

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

sched_ext: Fix possible deadlock in the deferred_irq_workfn()

For PREEMPT_RT=y kernels, the deferred_irq_workfn() is executed in the per-cpu irq_work/* task context and not disable-irq, if the rq returned by container_of() is current CPU's rq, the following scenarios may occur:

lock(&rq->__lock); <Interrupt> lock(&rq->__lock);

This commit use IRQ_WORK_INIT_HARD() to replace init_irq_work() to initialize rq->scx.deferred_irq_work, make the deferred_irq_workfn() is always invoked in hard-irq context.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Rare
only 6.18 release-candidate kernels affected; no stable or production footprint
Data Quality
2 sources
Confidence: Low

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.1%
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

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)NVD

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.18:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.18:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.18:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.18:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.18:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.18:rc6:*:*:*:*:*:*

Vendor StatusVendor

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