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
| 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 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 👾
Related Identifiers
Affected Products
Almalinux
Astra Linux
Centos
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu