cveboard RSS feed

CVE-2024-42245

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2024
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

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

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.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
b0defa7ae03ecf91b8bfd10ede430cff12fcbd06affectedgitd467194018dd536fe6c65a2fd3aedfcdb1424903UnavailableNone listed
b0defa7ae03ecf91b8bfd10ede430cff12fcbd06affectedgit1e116c18e32b035a2d1bd460800072c8bf96bc44UnavailableNone listed
b0defa7ae03ecf91b8bfd10ede430cff12fcbd06affectedgit0fa6dcbfa2e2b97c1e6febbea561badf0931a38bUnavailableNone listed
b0defa7ae03ecf91b8bfd10ede430cff12fcbd06affectedgit2feab2492deb2f14f9675dd6388e9e2bf669c27aUnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
6.1affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver6.1UnavailableNone listed
6.1.100unaffectedsemverUnavailable6.1.*None listed
6.6.41unaffectedsemverUnavailable6.6.*None listed
6.9.10unaffectedsemverUnavailable6.9.*None listed
6.10unaffectedoriginal_commit_for_fixUnavailable*None listed