PT-2024-10445 · Linux+9 · Linux Kernel+9

Published

2024-07-29

·

Updated

2025-09-29

·

CVE-2024-42096

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 the profile pc() function used for timer-based profiling in the Linux kernel. This function makes assumptions about the stack layout that are not necessarily valid, leading to potential issues. The code tries to account for time spent in spinlocks, but its complexity and the resulting KASAN warnings make it more of a problem than a solution, especially since serious profiling is not commonly done using timers anymore. The function's dependence on a specific stack layout, which may not always be true, especially in cases where lock debugging is involved, complicates the code and can cause stack frames. This has led to KASAN unhappiness reported by syzkaller and others over the years. Given the lack of practical reason for this code anymore, the solution is to remove it.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

DoS

Use of Uninitialized Resource

Improper Locking

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

Weakness Enumeration

Related Identifiers

ALSA-2024:6567
ALSA-2024:7000
ALSA-2024:7001
ALSA-2025_16880
BDU:2025-00985
CESA-2024_7000
CESA-2024_7001
CVE-2024-42096
DLA-4008-1
INFSA-2024_6567
INFSA-2024_7000
INFSA-2024_7001
OESA-2024-1992
OESA-2024-1994
OESA-2024-1995
OESA-2024-1996
OESA-2025-1078
OPENSUSE-SU-2024_2947-1
RHSA-2024:6567
RHSA-2024:7000
RHSA-2024:7001
RHSA-2024_6567
RHSA-2024_7000
RHSA-2024_7001
RLSA-2024:6567
RLSA-2024:7001
RXSA-2024:6567
SUSE-SU-2024:2892-1
SUSE-SU-2024:2894-1
SUSE-SU-2024:2901-1
SUSE-SU-2024:2939-1
SUSE-SU-2024:2940-1
SUSE-SU-2024:2947-1
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-7003-1
USN-7003-2
USN-7003-3
USN-7003-4
USN-7003-5
USN-7006-1
USN-7007-1
USN-7007-2
USN-7007-3
USN-7009-1
USN-7009-2
USN-7019-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

Almalinux
Astra Linux
Centos
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu