CVE-2025-21771
Description
A flaw was found in the Linux kernel's extensible scheduler (sched_ext) component. Due to improper tracking during process migration, the scheduler fails to correctly differentiate between moves across control groups (cgroups) and automatic process groups (autogroups). A local user with permissions to migrate tasks could trigger an invalid state, leading to kernel warnings and potential system instability or a denial of service (DoS).
Statement
This vulnerability is rated as Moderate severity because exploitation requires local access on systems operating an active extensible BPF scheduler, limiting the impact to potential system instability or kernel warnings without compromising confidentiality or integrity. The underlying sched_ext infrastructure is only available in newer kernel versions and is absent from older distributions such as Red Hat Enterprise Linux 8 and 9. On installations where extensible scheduling is enabled, triggering this condition requires local permissions to manipulate process cgroups and autogroup assignments concurrently.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 5.5 | 5.5 | N/A |
| Attack Vector | Local | Local | N/A |
| Attack Complexity | Low | Low | N/A |
| Privileges Required | Low | Low | N/A |
| User Interaction | None | None | N/A |
| Scope | Unchanged | Unchanged | N/A |
| Confidentiality | None | None | N/A |
| Integrity Impact | None | None | N/A |
| Availability Impact | High | High | N/A |
Vector
Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Understanding the Weakness (CWE)
Confidentiality,Integrity
Technical Impact: Read Application Data; Modify Application Data; Read Files or Directories; Modify Files or Directories
An attacker could gain access to or modify sensitive data or system resources. This could allow access to protected files or directories including configuration files and files containing sensitive information.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.