CVE-2025-40081
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-10-28

Last updated on: 2025-10-30

Assigner: kernel.org

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).
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-10-28
Last Modified
2025-10-30
Generated
2026-05-06
AI Q&A
2025-10-28
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is in the Linux kernel's perf subsystem, specifically in the arm_spe component. It involves an overflow issue in the PERF_IDX2OFF() function. The problem occurs because the number of pages (nr_pages) was not properly cast to an unsigned long, which can cause an overflow when handling large AUX buffer sizes of 2 GiB or more. The fix involves casting nr_pages to unsigned long to prevent this overflow.


How can this vulnerability impact me? :

If exploited, this vulnerability could cause incorrect handling of large AUX buffer sizes in the perf subsystem, potentially leading to memory corruption or crashes in the Linux kernel on affected systems. This could impact system stability or security, especially on systems using ARM SPE features with large AUX buffers.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart