PT-2025-3642 · Linux+5 · Linux Kernel+5

Li Huafei

·

Published

2024-11-14

·

Updated

2025-10-16

·

CVE-2024-57917

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 versions prior to 6.6.74
Description A vulnerability has been resolved in the Linux kernel related to the topology subsystem, specifically when printing cpumap. During fuzz testing, a warning was discovered due to different return values from vsnprintf. The issue arises from the modification of core cpumask between the calculation of the formatted string length and the actual string formatting, leading to inconsistent lengths. This occurs when cpu hotplugging is performed during printing. The kvasprintf() function reports this warning during the printing of core siblings list. The function has several steps, including calculating the length of the resulting formatted string, allocating a buffer, performing the actual string formatting, and checking the consistency of the lengths.
Recommendations To resolve this issue, update to Linux kernel version 6.6.74 or later. As a temporary workaround, consider restricting cpu hotplugging during critical printing processes to minimize the risk of exploitation.

Exploit

Fix

Race Condition

RCE

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

Weakness Enumeration

Related Identifiers

BDU:2025-06457
CVE-2024-57917
DLA-4076-1
DSA-5860-1
MGASA-2025-0030
MGASA-2025-0032
OESA-2025-1093
OESA-2025-1097
OPENSUSE-SU-2025_0428-1
OPENSUSE-SU-2025_0499-1
OPENSUSE-SU-2025_0557-1
SUSE-SU-2025:0428-1
SUSE-SU-2025:0499-1
SUSE-SU-2025:0557-1
SUSE-SU-2025:0564-1
SUSE-SU-2025:20165-1
SUSE-SU-2025:20166-1
SUSE-SU-2025:20248-1
SUSE-SU-2025:20249-1
SUSE-SU-2025_0428-1
SUSE-SU-2025_0499-1
SUSE-SU-2025_0557-1
USN-7379-1
USN-7379-2
USN-7380-1
USN-7381-1
USN-7382-1
USN-7387-1
USN-7387-2
USN-7387-3
USN-7388-1
USN-7389-1
USN-7390-1
USN-7407-1
USN-7421-1
USN-7458-1
USN-7459-1
USN-7459-2
USN-7513-1
USN-7513-2
USN-7513-3
USN-7513-4
USN-7513-5
USN-7514-1
USN-7515-1
USN-7515-2
USN-7522-1
USN-7523-1
USN-7524-1

Affected Products

Astra Linux
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu