CVE-2025-21919
sched/fair: Fix potential memory corruption in child_cfs_rq_on_list
Mitigation
- Upgrade Linux to 3b4035ddbfc8e4521f85569998a7569668cccf51 or later.
Who should check
- Anyone running Linux >= fdaba61ef8a268d4136d0a113d153f7a89eb9984, < 5cb300dcdd27e6a351ac02541e0231261c775852; >= fdaba61ef8a268d4136d0a113d153f7a89eb9984, < 000c9ee43928f2ce68a156dd40bab7616256f4dd; >= fdaba61ef8a268d4136d0a113d153f7a89eb9984, < 9cc7f0018609f75a349e42e3aebc3b0e905ba775; >= fdaba61ef8a268d4136d0a113d153f7a89eb9984, < b5741e4b9ef3567613b2351384f91d3f16e59986; >= fdaba61ef8a268d4136d0a113d153f7a89eb9984, < e1dd09df30ba86716cb2ffab97dc35195c01eb8f; >= fdaba61ef8a268d4136d0a113d153f7a89eb9984, < 3b4035ddbfc8e4521f85569998a7569668cccf51
- Anyone running Linux 5.13
Vulnerability facts
- Affected
- Linux >= fdaba61ef8a268d4136d0a113d153f7a89eb9984, < 5cb300dcdd27e6a351ac02541e0231261c775852; >= fdaba61ef8a268d4136d0a113d153f7a89eb9984, < 000c9ee43928f2ce68a156dd40bab7616256f4dd; >= fdaba61ef8a268d4136d0a113d153f7a89eb9984, < 9cc7f0018609f75a349e42e3aebc3b0e905ba775; >= fdaba61ef8a268d4136d0a113d153f7a89eb9984, < b5741e4b9ef3567613b2351384f91d3f16e59986; >= fdaba61ef8a268d4136d0a113d153f7a89eb9984, < e1dd09df30ba86716cb2ffab97dc35195c01eb8f; >= fdaba61ef8a268d4136d0a113d153f7a89eb9984, < 3b4035ddbfc8e4521f85569998a7569668cccf51; Linux 5.13
- Fixed in
- Linux 5cb300dcdd27e6a351ac02541e0231261c775852, Linux 000c9ee43928f2ce68a156dd40bab7616256f4dd, Linux 9cc7f0018609f75a349e42e3aebc3b0e905ba775, Linux 3b4035ddbfc8e4521f85569998a7569668cccf51
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 17, 2026-11-26)
- CWE
- CWE-787
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: sched/fair: Fix potential memory corruption in child_cfs_rq_on_list child_cfs_rq_on_list attempts to convert a 'prev' pointer to a cfs_rq. This 'prev' pointer can originate from struct rq's leaf_cfs_rq_list, making the conversion invalid and potentially leading to memory corruption. Depending on the relative positions of leaf_cfs_rq_list and the task group (tg) pointer within the struct, this can cause a memory fault or access garbage data. The issue arises in list_add_leaf_cfs_rq, where both cfs_rq->leaf_cfs_rq_list and rq->leaf_cfs_rq_list are added to the same leaf list. Also, rq->tmp_alone_branch can be set to rq->leaf_cfs_rq_list. This adds a check `if (prev == &rq->leaf_cfs_rq_list)` after the main conditional in child_cfs_rq_on_list. This ensures that the container_of operation will convert a correct cfs_rq struct. This check is sufficient because only cfs_rqs on the same CPU are added to the list, so verifying the 'prev' pointer against the current rq's list head is enough. Fixes a potential memory corruption issue that due to current struct layout might not be manifesting as a crash but could lead to unpredictable behavior when the layout changes.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= fdaba61ef8a268d4136d0a113d153f7a89eb9984, < 5cb300dcdd27e6a351ac02541e0231261c775852; >= fdaba61ef8a268d4136d0a113d153f7a89eb9984, < 000c9ee43928f2ce68a156dd40bab7616256f4dd; >= fdaba61ef8a268d4136d0a113d153f7a89eb9984, < 9cc7f0018609f75a349e42e3aebc3b0e905ba775; >= fdaba61ef8a268d4136d0a113d153f7a89eb9984, < b5741e4b9ef3567613b2351384f91d3f16e59986; >= fdaba61ef8a268d4136d0a113d153f7a89eb9984, < e1dd09df30ba86716cb2ffab97dc35195c01eb8f; >= fdaba61ef8a268d4136d0a113d153f7a89eb9984, < 3b4035ddbfc8e4521f85569998a7569668cccf51 | — | cvelist |
| Linux | 5.13 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-21919. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-21919.md Affected: Linux >= fdaba61ef8a268d4136d0a113d153f7a89eb9984, < 5cb300dcdd27e6a351ac02541e0231261c775852; >= fdaba61ef8a268d4136d0a113d153f7a89eb9984, < 000c9ee43928f2ce68a156dd40bab7616256f4dd; >= fdaba61ef8a268d4136d0a113d153f7a89eb9984, < 9cc7f0018609f75a349e42e3aebc3b0e905ba775; >= fdaba61ef8a268d4136d0a1… Fixed in: Linux 5cb300dcdd27e6a351ac02541e0231261c775852, Linux 000c9ee43928f2ce68a156dd40bab7616256f4dd, Linux 9cc7f0018609f75a349e42e3aebc3b0e905ba775, Linux 3b4035ddbfc8e4521f85569998a7569668cccf51 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/5cb300dcdd27e6a351ac02541e0231261c775852
- https://git.kernel.org/stable/c/000c9ee43928f2ce68a156dd40bab7616256f4dd
- https://git.kernel.org/stable/c/9cc7f0018609f75a349e42e3aebc3b0e905ba775
- https://git.kernel.org/stable/c/b5741e4b9ef3567613b2351384f91d3f16e59986
- https://git.kernel.org/stable/c/e1dd09df30ba86716cb2ffab97dc35195c01eb8f
- https://git.kernel.org/stable/c/3b4035ddbfc8e4521f85569998a7569668cccf51
FAQ
Is CVE-2025-21919 being exploited?
There is no confirmed exploitation: CVE-2025-21919 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-21919?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-21919?
Linux >= fdaba61ef8a268d4136d0a113d153f7a89eb9984, < 5cb300dcdd27e6a351ac02541e0231261c775852; >= fdaba61ef8a268d4136d0a113d153f7a89eb9984, < 000c9ee43928f2ce68a156dd40bab7616256f4dd; >= fdaba61ef8a268d4136d0a113d153f7a89eb9984, < 9cc7f0018609f75a349e42e3aebc3b0e905ba775; >= fdaba61ef8a268d4136d0a113d153f7a89eb9984, < b5741e4b9ef3567613b2351384f91d3f16e59986; >= fdaba61ef8a268d4136d0a113d153f7a89eb9984, < e1dd09df30ba86716cb2ffab97dc35195c01eb8f; >= fdaba61ef8a268d4136d0a113d153f7a89eb9984, < 3b4035ddbfc8e4521f85569998a7569668cccf51; Linux 5.13.
Is there a fix for CVE-2025-21919?
Yes. Fixed in Linux 5cb300dcdd27e6a351ac02541e0231261c775852, Linux 000c9ee43928f2ce68a156dd40bab7616256f4dd, Linux 9cc7f0018609f75a349e42e3aebc3b0e905ba775, Linux 3b4035ddbfc8e4521f85569998a7569668cccf51. Upgrade Linux to 3b4035ddbfc8e4521f85569998a7569668cccf51 or later.
How do I check if I'm affected by CVE-2025-21919?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.