CVE-2025-21771
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability in the Linux kernel's scheduler extension (sched_ext) has been identified and resolved, tracked as CVE-2025-21771. The issue was discovered on February 26, 2025, and involves incorrect autogroup migration detection in the kernel's scheduling system. The vulnerability affects the Linux kernel's task scheduling mechanism, specifically in the sched_ext component (NVD).

Technical details

The vulnerability stems from the scx_move_task() function, which is called from sched_move_task() to notify the BPF scheduler about cgroup migration commitments. The function attempted to filter out autogroup migrations by testing the destination cgroup and PF_EXITING flag, but this approach proved insufficient. Without explicit tagging of threads performing cgroup migration, the system couldn't properly distinguish between racing migration to the root cgroup and autogroup migration. This led to scx_move_task() incorrectly ignoring migrations from non-root cgroup to an autogroup of the root cgroup (Kernel Commit).

Impact

The vulnerability could trigger warning messages in the kernel log when attempting cgroup migrations, specifically affecting task scheduling and group management operations. The issue manifests when migrating from a non-root cgroup to an autogroup of the root cgroup, potentially impacting system stability and task management functionality (Kernel Commit).

Mitigation and workarounds

The issue has been fixed by adding an argument to sched_move_task() that explicitly indicates whether the moving is for a cgroup or autogroup migration. The fix includes renaming scx_move_task() to scx_cgroup_move_task() and ensuring it's only called for cgroup migrations. The patch has been merged into the mainline kernel (Kernel Commit).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • bpftool
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-nvidia-6.14
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • linux-oracle-6.14
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-devel
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-debug-devel
NoYesJan 14, 2026

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