CVE-2025-40081 Details
Description
In the Linux kernel, the following vulnerability has been resolved: perf: arm_spe: Prevent overflow in PERF_IDX2OFF() Cast nr_pages to unsigned long to avoid overflow when handling large AUX buffer sizes (>= 2 GiB).
A vulnerability in the Linux kernel's handling of the ARMv8.2 Statistical Profiling Extension has been addressed. The issue involved a buffer overflow in the Performance Index to Offset macro, which could occur when processing large AUX buffer sizes of 2 GiB or more. This vulnerability was present in the stable branch of the Linux kernel.
Users can upgrade to the latest version of the Linux kernel stable branch, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 28, 2025CISA-ADP
Assessed Oct 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1a19ba8e1f4ff24ece8ca69b79df8442c431db90 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/379cae2cb982f571cda9493ac573ab71125fd299 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/5d01f2b81568289443d22f1e13a363f829de6343 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/656e9a5d69acdd1b20462f4a33378b90ddcb9626 | kernel.org | |
| https://git.kernel.org/stable/c/7500384d3c9587593d75ded3b006835e7aa73ef8 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/9c045d4501f7f70724a3bbb561f4f22d292bbfe6 | kernel.org | |
| https://git.kernel.org/stable/c/a29fea30dd93da16652930162b177941abd8c75e | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/e516cfd19b0f4c774a57b17fb43a7f41991f0735 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Oct 15, 2026 | CVE Modified | CISA-ADP |
| Oct 15, 2026 | CVE Modified | kernel.org |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Oct 29, 2025 | CVE Modified | kernel.org |
| Oct 28, 2025 | New CVE Received | kernel.org |
Volerion