{"id":"CVE-2024-38569","published":"2024-06-19T13:35:35Z","modified":"2026-08-05T11:32:50Z","title":"drivers/perf: hisi_pcie: Fix out-of-bound access when valid event group","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrivers/perf: hisi_pcie: Fix out-of-bound access when valid event group\n\nThe perf tool allows users to create event groups through following\ncmd [1], but the driver does not check whether the array index is out of\nbounds when writing data to the event_group array. If the number of events\nin an event_group is greater than HISI_PCIE_MAX_COUNTERS, the memory write\noverflow of event_group array occurs.\n\nAdd array index check to fix the possible array out of bounds violation,\nand return directly when write new events are written to array bounds.\n\nThere are 9 different events in an event_group.\n[1] perf stat -e '{pmu/event1/, ... ,pmu/event9/}'","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00234,"percentile":0.14599,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/3d1face00ebb7996842aee4214d7d0fb0c77b1e9","tags":[]},{"url":"https://git.kernel.org/stable/c/8e9aab2492178f25372f1820bfd9289fbd74efd0","tags":[]},{"url":"https://git.kernel.org/stable/c/567d34626c22b36579ec0abfdf5eda2949044220","tags":[]},{"url":"https://git.kernel.org/stable/c/ff48247144d13a3a0817127703724256008efa78","tags":[]},{"url":"https://git.kernel.org/stable/c/77fce82678ea5fd51442e62febec2004f79e041b","tags":[]}],"priority":{"score":8.4,"factors":[{"name":"EPSS percentile","points":2.92},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 8404b0fbc7fbd42e5c5d28cdedd450e70829c77a, < 3d1face00ebb7996842aee4214d7d0fb0c77b1e9",">= 8404b0fbc7fbd42e5c5d28cdedd450e70829c77a, < 8e9aab2492178f25372f1820bfd9289fbd74efd0",">= 8404b0fbc7fbd42e5c5d28cdedd450e70829c77a, < 567d34626c22b36579ec0abfdf5eda2949044220",">= 8404b0fbc7fbd42e5c5d28cdedd450e70829c77a, < ff48247144d13a3a0817127703724256008efa78",">= 8404b0fbc7fbd42e5c5d28cdedd450e70829c77a, < 77fce82678ea5fd51442e62febec2004f79e041b"]},{"vendor":"Linux","product":"Linux","versions":["5.17"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-24T18:24:22.058209Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-37432","exploited":false,"provenance":"source"}}