PT-2024-29802 · Linux+7 · Linux Kernel+7
Published
2024-07-01
·
Updated
2025-09-29
·
CVE-2024-42245
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is related to a vulnerability in the Linux kernel's fair scheduling component, which can cause hard lockups due to an O(n) iteration in detach tasks(). This occurs when the load balance code is done with the rq lock held and often in softirq context. The problem was introduced by a patch that changed the load balancing logic to ignore env.max loop if all tasks examined were pinned, aiming to detach a task buried in a long list of pinned tasks. However, this patch has been reverted as it seems likely no one was actually getting hit by the original issue. Hard lockups were observed with a user who affined O(10k) threads to a single CPU.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Improper Locking
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Linuxmint
Linux Kernel
Red Hat
Red Os
Suse
Ubuntu