What’s Vulnerable › Vulnerabilities

CVE-2025-40081: perf: arm_spe: Prevent overflow in PERF_IDX2OFF()

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

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.18. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-40081 or the next vulnerability affects your stack