PT-2025-6759 · Linux+7 · Linux Kernel+7

Published

2024-12-20

·

Updated

2025-11-25

·

CVE-2024-57951

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue arises when a CPU transitions from an online state to a hotunplug state and back, without properly handling the CPU state. Specifically, hrtimers prepare cpu() does not run, causing cpu base.hres active to remain set, and the tick and clockevents are shut down during the unplug operation. Upon returning to the online state, the system incorrectly assumes the hrtick is active, and the clockevent device's chance to transition to oneshot mode is lost. Additionally, the per CPU state is not reset, resulting in dangling pointers. The estimated number of potentially affected devices worldwide is not available. There is no information about real-world incidents where this issue was exploited.
Recommendations To resolve the issue, a corresponding startup() callback should be added, which resets the stale per CPU state and sets the online flag. As a temporary workaround, consider disabling the hrtimers prepare cpu() function until a patch is available. Restrict access to the vulnerable cpu base module to minimize the risk of exploitation. Avoid using the cpu base.hres active variable in the affected API endpoint until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2025-12647
ALT-PU-2025-3122
ALT-PU-2025-3467
ALT-PU-2025-3500
ALT-PU-2025-5437
AZL-56803
AZL-56842
BDU:2025-12104
CVE-2024-57951
DLA-4075-1
DLA-4076-1
OESA-2025-1371
OESA-2025-1372
OESA-2025-1409
OESA-2025-1410
OPENSUSE-SU-2025:20081-1
SUSE-SU-2025:21074-1
SUSE-SU-2025:21139-1
SUSE-SU-2025:21179-1
USN-7387-1
USN-7387-2
USN-7387-3
USN-7388-1
USN-7389-1
USN-7390-1
USN-7391-1
USN-7392-1
USN-7392-2
USN-7392-3
USN-7392-4
USN-7393-1
USN-7401-1
USN-7407-1
USN-7413-1
USN-7421-1
USN-7445-1
USN-7448-1
USN-7458-1
USN-7459-1
USN-7459-2
USN-7463-1
USN-7539-1
USN-7540-1
USN-7595-1
USN-7595-2
USN-7595-3
USN-7595-4
USN-7595-5
USN-7596-1
USN-7596-2
USN-7653-1

Affected Products

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