CVE-2024-38568
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2024
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
drivers/perf: hisi: hns3: Fix out-of-bound access when valid event group
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/}
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 66637ab137b44914356a9dc7a9b3f8ebcf0b0695 | affected | git | 3669baf308308385a2ab391324abdde5682af5aa | Unavailable | None listed |
| 66637ab137b44914356a9dc7a9b3f8ebcf0b0695 | affected | git | be1fa711e59c874d049f592aef1d4685bdd22bdf | Unavailable | None listed |
| 66637ab137b44914356a9dc7a9b3f8ebcf0b0695 | affected | git | b5120d322763c15c978bc47beb3b6dff45624304 | Unavailable | None listed |
| 66637ab137b44914356a9dc7a9b3f8ebcf0b0695 | affected | git | aa2d3d678895c8eedd003f1473f87d3f06fe6ec7 | Unavailable | None listed |
| 66637ab137b44914356a9dc7a9b3f8ebcf0b0695 | affected | git | 81bdd60a3d1d3b05e6cc6674845afb1694dd3a0e | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 6.0 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 6.0 | Unavailable | None listed |
| 6.1.93 | unaffected | semver | Unavailable | 6.1.* | None listed |
| 6.6.33 | unaffected | semver | Unavailable | 6.6.* | None listed |
| 6.8.12 | unaffected | semver | Unavailable | 6.8.* | None listed |
| 6.9.3 | unaffected | semver | Unavailable | 6.9.* | None listed |
| 6.10 | unaffected | original_commit_for_fix | Unavailable | * | None listed |