Linux · Linux Kernel · CVE-2024-38568
**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.