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

VectorAV: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

ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALT-PU-2024-11524
ALT-PU-2024-13979
ALT-PU-2024-14046
AZL-47540
BDU:2025-01436
CVE-2024-42245
DLA-4008-1
INFSA-2024_9315
RHSA-2024:9315
RHSA-2024_9315
SUSE-SU-2024:3194-1
SUSE-SU-2024:3195-1
SUSE-SU-2024:3383-1
SUSE-SU-2025:20044-1
SUSE-SU-2025:20047-1
USN-7089-1
USN-7089-2
USN-7089-3
USN-7089-4
USN-7089-5
USN-7089-6
USN-7089-7
USN-7090-1
USN-7095-1
USN-7156-1

Affected Products

Alt Linux
Astra Linux
Linuxmint
Linux Kernel
Red Hat
Red Os
Suse
Ubuntu