PT-2024-7061 · Linux+6 · Linux Kernel+6
Junhao He
·
Published
2024-04-28
·
Updated
2025-09-29
·
CVE-2024-38568
CVSS v3.1
7.8
High
| Vector | AV: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 is related to an out-of-bound access in the
hns3 pmu validate event group() function in the Linux kernel. This occurs when the perf tool is used to create event groups, and the driver does not check if the array index is out of bounds when writing data to the event group array. If the number of events in an event group exceeds HNS3 PMU MAX HW EVENTS, a memory write overflow of the event group array can happen. The vulnerability can be exploited to impact the confidentiality, integrity, and availability of protected information. The perf stat command with the -e option can be used to create event groups, for example, perf stat -e '{pmu/event1/, ... ,pmu/event9/}'.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Improper Validation of Array Index
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu