CVE-2025-40081Published Oct 28, 2025 · Oct 28Updated Oct 28
perf: arm_spe: Prevent overflow in PERF_IDX2OFF()
Linux
High7.8
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d5d9696b03808bc6be723cc85288c912c3a05606 · < 1a19ba8e1f4ff24ece8ca69b79df8442c431db90| No fix yet |
| Linux Linux |
|
|
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).
From the CVE record · Linux
The Linux kernel's perf arm_spe component can overflow in PERF_IDX2OFF() when handling AUX buffers of 2 GiB or larger. The input does not specify what an attacker could achieve or whether access or user interaction is required.
Engineers running Linux kernels with the perf arm_spe component should check their versions; affected versions are not specified.