CVE-2025-40081

published 28 Oct 2025 · updated 15 Oct 2026

perf: arm_spe: Prevent overflow in PERF_IDX2OFF()

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1a19ba8e1f4ff24ece8ca69b79df8442c431db90, Kernel 379cae2cb982f571cda9493ac573ab71125fd299, Kernel 5d01f2b81568289443d22f1e13a363f829de6343 and 5 more.

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).

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.15, >=d5d9696b03808bc6be723cc85288c912c3a05606 <1a19ba8e1f4ff24ece8ca69b79df8442c431db90, >=d5d9696b03808bc6be723cc85288c912c3a05606 <379cae2cb982f571cda9493ac573ab71125fd299, >=d5d9696b03808bc6be723cc85288c912c3a05606 <5d01f2b81568289443d22f1e13a363f829de6343, >=d5d9696b03808bc6be723cc85288c912c3a05606 <656e9a5d69acdd1b20462f4a33378b90ddcb9626, >=d5d9696b03808bc6be723cc85288c912c3a05606 <7500384d3c9587593d75ded3b006835e7aa73ef8, >=d5d9696b03808bc6be723cc85288c912c3a05606 <9c045d4501f7f70724a3bbb561f4f22d292bbfe6, >=d5d9696b03808bc6be723cc85288c912c3a05606 <a29fea30dd93da16652930162b177941abd8c75e, >=d5d9696b03808bc6be723cc85288c912c3a05606 <e516cfd19b0f4c774a57b17fb43a7f41991f07351a19ba8e1f4ff24ece8ca69b79df8442c431db90, 379cae2cb982f571cda9493ac573ab71125fd299, 5d01f2b81568289443d22f1e13a363f829de6343, 656e9a5d69acdd1b20462f4a33378b90ddcb9626, 7500384d3c9587593d75ded3b006835e7aa73ef8, 9c045d4501f7f70724a3bbb561f4f22d292bbfe6, a29fea30dd93da16652930162b177941abd8c75e, e516cfd19b0f4c774a57b17fb43a7f41991f0735

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-40081 severity on Zeptric[![CVE-2025-40081](https://zeptric.io/badge/cve/CVE-2025-40081.svg)](https://zeptric.io/cve/CVE-2025-40081)