CVE-2025-40081
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 versions
Linux kernel versions
4.15
and later are affected. Fixed in
5.4.301,
5.10.246,
5.15.195,
6.1.156,
6.6.112,
6.12.53,
6.17.3,
6.18
and their respective stable series.
References
The following references provide additional information about CVE-2025-40081 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/1a19ba8e1f4ff24ece8ca69b79df8442c431db90
-
PatchKernel patch commithttps://git.kernel.org/stable/c/379cae2cb982f571cda9493ac573ab71125fd299
-
PatchKernel patch commithttps://git.kernel.org/stable/c/5d01f2b81568289443d22f1e13a363f829de6343
Frequently asked questions
-
What is CVE-2025-40081?
CVE-2025-40081 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 4.15 onward and has been patched in 5.4.301, 5.10.246, 5.15.195 and others. CVE-2025-40081 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2025-40081?
Yes — CVE-2025-40081 has been patched. Fixed versions include 5.4.301, 5.10.246, 5.15.195 and others. If you are running Linux kernel 4.15 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-40081 actively exploited?
No — CVE-2025-40081 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.