Kernel memory corruption via signed AUX-buffer shift
Published Oct 28, 2025 · Updated Oct 28, 2025
Integer overflow in Linux kernel Arm SPE perf support allows local users to corrupt kernel memory through a 2 GiB AUX buffer. PERF_IDX2OFF shifts the signed nr_pages value before widening it, so the offset wraps and drives CPU or memset writes beyond the vmalloc buffer. The path requires Arm SPE hardware and local perf_event_open access; exploitation can disclose or overwrite kernel memory or trigger an oops or panic.
Summary
What happened
Integer overflow in Linux kernel Arm SPE perf support allows local users to corrupt kernel memory through a 2 GiB AUX buffer. PERF_IDX2OFF shifts the signed nr_pages value before widening it, so the offset wraps and drives CPU or memset writes beyond the vmalloc buffer. The path requires Arm SPE hardware and local perf_event_open access; exploitation can disclose or overwrite kernel memory or trigger an oops or panic.
The record
- CVE
- CVE-2025-40081
- Published
- Oct 28, 2025
- Updated
- Oct 28, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 28, 2025CVE publishedPublication date reported by the CVE source.
- Oct 28, 2025Record 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=4.15
- Affected versionversion=d5d9696b03808bc6be723cc85288c912c3a05606 <1a19ba8e1f4ff24ece8ca69b79df8442c431db90
- Affected versionversion=d5d9696b03808bc6be723cc85288c912c3a05606 <379cae2cb982f571cda9493ac573ab71125fd299
- Affected versionversion=d5d9696b03808bc6be723cc85288c912c3a05606 <5d01f2b81568289443d22f1e13a363f829de6343
- Affected versionversion=d5d9696b03808bc6be723cc85288c912c3a05606 <7500384d3c9587593d75ded3b006835e7aa73ef8
- Affected versionversion=d5d9696b03808bc6be723cc85288c912c3a05606 <a29fea30dd93da16652930162b177941abd8c75e
- Affected versionversion=d5d9696b03808bc6be723cc85288c912c3a05606 <e516cfd19b0f4c774a57b17fb43a7f41991f0735
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