Linux Kernel IRQ Restoration Vulnerability in Sched_ext Component

Vulnerability

A vulnerability in the Linux kernel's sched_ext component has been addressed. The issue arose from an improper interrupt request (IRQ) restoration in the 'scx_ops_bypass()' function. When implementing additional outer IRQ save/restore locking, the change inadvertently left an inner 'rq_unlock_irqrestore()' unconverted. This oversight could have prematurely re-enabled IRQs, triggering a warning about the raw_local_irq_restore() being called with IRQs already enabled. The warning indicated a potential race condition that could be exploited.

Impact

The vulnerability could lead to a race condition by allowing interrupts to be re-enabled prematurely, potentially causing erratic behavior in the scheduling operations.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
3.5
remediation
0.0
relevance
0.0
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.