CVE-2025-37821
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a vulnerability has been identified and resolved in the scheduler's EEVDF (Energy-Efficient Virtual Deadline First) component. The issue involves a code path in dequeueentities() that can incorrectly set the slice of a schedentity to U64_MAX, which sometimes results in a system crash. This vulnerability was assigned CVE-2025-37821 and was reported on May 8, 2025 (NVD).

Technical details

The vulnerability occurs in a specific code path when dequeueentities() is called to dequeue a delayed group entity, and the entity's parent's dequeue is delayed. The issue manifests when the slice is set to cfsrqminslice(groupcfsrq(se)) in the entityistask(se) else block. If the entity was delayed with no queued tasks, cfsrqminslice() returns U64MAX. This value propagates through subsequent calculations, leading to incorrect vruntime calculations and potential system crashes (NVD).

Impact

When exploited, this vulnerability can lead to system crashes through a chain of events including incorrect vruntime calculations, huge negative or positive lag values, and eventual NULL pointer dereference in picknextentity(). The issue affects the stability and reliability of systems using the EEVDF scheduler (NVD).

Mitigation and workarounds

The issue has been fixed by modifying dequeueentities() to always set slice from the first non-empty cfsrq. System administrators are advised to apply the latest kernel updates that include this fix (NVD).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management