Local kernel memory corruption via oversized event groups
Published Jun 19, 2024 · Updated Aug 5, 2026
Out-of-bounds write in the Linux kernel HNS3 PMU driver from 6.0 allows local users to corrupt kernel memory via oversized perf event groups. The hns3_pmu_validate_event_group function writes event_group entries without stopping when num_events reaches HNS3_PMU_MAX_HW_EVENTS. Reachability requires a local low-privileged account and compatible HiSilicon HNS3 PMU hardware; successful corruption can crash the host or alter kernel-controlled data.
Summary
What happened
Out-of-bounds write in the Linux kernel HNS3 PMU driver from 6.0 allows local users to corrupt kernel memory via oversized perf event groups. The hns3_pmu_validate_event_group function writes event_group entries without stopping when num_events reaches HNS3_PMU_MAX_HW_EVENTS. Reachability requires a local low-privileged account and compatible HiSilicon HNS3 PMU hardware; successful corruption can crash the host or alter kernel-controlled data.
The record
- CVE
- CVE-2024-38568
- Published
- Jun 19, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-129, CAPEC-100, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 19, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=6.0
- Affected versionversion=66637ab137b44914356a9dc7a9b3f8ebcf0b0695 <3669baf308308385a2ab391324abdde5682af5aa
- Affected versionversion=66637ab137b44914356a9dc7a9b3f8ebcf0b0695 <81bdd60a3d1d3b05e6cc6674845afb1694dd3a0e
- Affected versionversion=66637ab137b44914356a9dc7a9b3f8ebcf0b0695 <aa2d3d678895c8eedd003f1473f87d3f06fe6ec7
- Affected versionversion=66637ab137b44914356a9dc7a9b3f8ebcf0b0695 <b5120d322763c15c978bc47beb3b6dff45624304
- Affected versionversion=66637ab137b44914356a9dc7a9b3f8ebcf0b0695 <be1fa711e59c874d049f592aef1d4685bdd22bdf
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo