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-06-16
AI Q&A
2025-10-28
EPSS Evaluated
2026-06-15
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 Quick Actions
Instant insights powered by AI
Executive Summary

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.

Impact Analysis

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.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-40081. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart