Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-42245

MEDIUM 5.5EPSS 9%

Revert "sched/fair: Make sure to try to detach at least one movable task"

Mitigation

  • Upgrade Linux to 2feab2492deb2f14f9675dd6388e9e2bf669c27a or later.

Who should check

  • Anyone running Linux >= b0defa7ae03ecf91b8bfd10ede430cff12fcbd06, < d467194018dd536fe6c65a2fd3aedfcdb1424903; >= b0defa7ae03ecf91b8bfd10ede430cff12fcbd06, < 1e116c18e32b035a2d1bd460800072c8bf96bc44; >= b0defa7ae03ecf91b8bfd10ede430cff12fcbd06, < 0fa6dcbfa2e2b97c1e6febbea561badf0931a38b; >= b0defa7ae03ecf91b8bfd10ede430cff12fcbd06, < 2feab2492deb2f14f9675dd6388e9e2bf669c27a
  • Anyone running Linux 6.1

Vulnerability facts

Affected
Linux >= b0defa7ae03ecf91b8bfd10ede430cff12fcbd06, < d467194018dd536fe6c65a2fd3aedfcdb1424903; >= b0defa7ae03ecf91b8bfd10ede430cff12fcbd06, < 1e116c18e32b035a2d1bd460800072c8bf96bc44; >= b0defa7ae03ecf91b8bfd10ede430cff12fcbd06, < 0fa6dcbfa2e2b97c1e6febbea561badf0931a38b; >= b0defa7ae03ecf91b8bfd10ede430cff12fcbd06, < 2feab2492deb2f14f9675dd6388e9e2bf669c27a; Linux 6.1
Fixed in
Linux 1e116c18e32b035a2d1bd460800072c8bf96bc44, Linux 0fa6dcbfa2e2b97c1e6febbea561badf0931a38b, Linux 2feab2492deb2f14f9675dd6388e9e2bf669c27a
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.23% chance of exploitation in 30 days (percentile 9, 2026-11-26)
CWE
CWE-667
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: Revert "sched/fair: Make sure to try to detach at least one movable task" This reverts commit b0defa7ae03ecf91b8bfd10ede430cff12fcbd06. b0defa7ae03ec changed the load balancing logic to ignore env.max_loop if all tasks examined to that point were pinned. The goal of the patch was to make it more likely to be able to detach a task buried in a long list of pinned tasks. However, this has the unfortunate side effect of creating an O(n) iteration in detach_tasks(), as we now must fully iterate every task on a cpu if all or most are pinned. Since this load balance code is done with rq lock held, and often in softirq context, it is very easy to trigger hard lockups. We observed such hard lockups with a user who affined O(10k) threads to a single cpu. When I discussed this with Vincent he initially suggested that we keep the limit on the number of tasks to detach, but increase the number of tasks we can search. However, after some back and forth on the mailing list, he recommended we instead revert the original patch, as it seems likely no one was actually getting hit by the original issue.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= b0defa7ae03ecf91b8bfd10ede430cff12fcbd06, < d467194018dd536fe6c65a2fd3aedfcdb1424903; >= b0defa7ae03ecf91b8bfd10ede430cff12fcbd06, < 1e116c18e32b035a2d1bd460800072c8bf96bc44; >= b0defa7ae03ecf91b8bfd10ede430cff12fcbd06, < 0fa6dcbfa2e2b97c1e6febbea561badf0931a38b; >= b0defa7ae03ecf91b8bfd10ede430cff12fcbd06, < 2feab2492deb2f14f9675dd6388e9e2bf669c27a—cvelist
Linux6.1—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-2024-42245. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-42245.md
Affected: Linux >= b0defa7ae03ecf91b8bfd10ede430cff12fcbd06, < d467194018dd536fe6c65a2fd3aedfcdb1424903; >= b0defa7ae03ecf91b8bfd10ede430cff12fcbd06, < 1e116c18e32b035a2d1bd460800072c8bf96bc44; >= b0defa7ae03ecf91b8bfd10ede430cff12fcbd06, < 0fa6dcbfa2e2b97c1e6febbea561badf0931a38b; >= b0defa7ae03ecf91b8bfd10…
Fixed in: Linux 1e116c18e32b035a2d1bd460800072c8bf96bc44, Linux 0fa6dcbfa2e2b97c1e6febbea561badf0931a38b, Linux 2feab2492deb2f14f9675dd6388e9e2bf669c27a

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

FAQ

Is CVE-2024-42245 being exploited?

There is no confirmed exploitation: CVE-2024-42245 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-42245?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-42245?

Linux >= b0defa7ae03ecf91b8bfd10ede430cff12fcbd06, < d467194018dd536fe6c65a2fd3aedfcdb1424903; >= b0defa7ae03ecf91b8bfd10ede430cff12fcbd06, < 1e116c18e32b035a2d1bd460800072c8bf96bc44; >= b0defa7ae03ecf91b8bfd10ede430cff12fcbd06, < 0fa6dcbfa2e2b97c1e6febbea561badf0931a38b; >= b0defa7ae03ecf91b8bfd10ede430cff12fcbd06, < 2feab2492deb2f14f9675dd6388e9e2bf669c27a; Linux 6.1.

Is there a fix for CVE-2024-42245?

Yes. Fixed in Linux 1e116c18e32b035a2d1bd460800072c8bf96bc44, Linux 0fa6dcbfa2e2b97c1e6febbea561badf0931a38b, Linux 2feab2492deb2f14f9675dd6388e9e2bf669c27a. Upgrade Linux to 2feab2492deb2f14f9675dd6388e9e2bf669c27a or later.

How do I check if I'm affected by CVE-2024-42245?

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.

Sponsors