CVE-2024-38568

High

Description

In the Linux kernel, the following vulnerability has been resolved: drivers/perf: hisi: hns3: Fix out-of-bound access when valid event group The perf tool allows users to create event groups through following cmd [1], but the driver does not check whether the array index is out of bounds when writing data to the event_group array. If the number of events in an event_group is greater than HNS3_PMU_MAX_HW_EVENTS, the memory write overflow of event_group array occurs. Add array index check to fix the possible array out of bounds violation, and return directly when write new events are written to array bounds. There are 9 different events in an event_group. [1] perf stat -e '{pmu/event1/, ... ,pmu/event9/}

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux Kernel
PublishedJun 19, 2024
First seenJun 19, 2024

How to fix

Update
  • linux linux_kernel6.1.93, 6.6.33, 6.8.12, 6.9.3 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel6.0 ≤ v < 6.1.93, 6.2 ≤ v < 6.6.33, 6.7 ≤ v < 6.8.12, 6.9 ≤ v < 6.9.36.1.93, 6.6.33, 6.8.12, 6.9.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.