CVE-2025-40081: Linux kernel · perf: arm_spe: Prevent overflow in PERF_IDX2OFF()
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 5.15.0-1110.119~20.04.1 : patch Linux kernel soon.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.15.0-1110.119~20.04.1, 5.15.0-1100.109~20.04.1, 5.15.0-1100.107~20.04.2 +2
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 28 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| linux-azure | Affected
| Fixed in
|
AI-suggested
The vulnerability has been resolved by a code change that casts nr_pages to unsigned long to prevent overflow. Although no explicit patch link is provided, the issue is marked as resolved. Users should update their Linux kernel to a version that includes this fix once available.
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).
References
- nvd.nist.gov/vuln/detail/CVE-2025-40081 (opens in a new tab)
- git.kernel.org/stable/c/1a19ba8e1f4ff24ece8ca69b79df8442c431db90 (opens in a new tab)
- git.kernel.org/stable/c/379cae2cb982f571cda9493ac573ab71125fd299 (opens in a new tab)
- git.kernel.org/stable/c/5d01f2b81568289443d22f1e13a363f829de6343 (opens in a new tab)
- git.kernel.org/stable/c/656e9a5d69acdd1b20462f4a33378b90ddcb9626 (opens in a new tab)
- git.kernel.org/stable/c/7500384d3c9587593d75ded3b006835e7aa73ef8 (opens in a new tab)
- git.kernel.org/stable/c/9c045d4501f7f70724a3bbb561f4f22d292bbfe6 (opens in a new tab)
- git.kernel.org/stable/c/a29fea30dd93da16652930162b177941abd8c75e (opens in a new tab)
- git.kernel.org/stable/c/e516cfd19b0f4c774a57b17fb43a7f41991f0735 (opens in a new tab)
- ubuntu.com/security/CVE-2025-40081 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-40081 (opens in a new tab)
- git.kernel.org/linus/a29fea30dd93da16652930162b177941abd8c75e (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8030-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8033-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8033-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8033-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8034-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8033-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8033-5 (opens in a new tab)
- ubuntu.com/security/notices/USN-8034-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8048-1 (opens in a new tab)