VDB

CVE-2025-40081

CVE-2025-40081 PUBLISHED CVSS 7.8 HIGH

perf: arm_spe: Prevent overflow in PERF_IDX2OFF()

Reported by linux · Published October 28, 2025

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12Amazon Linux1:6.12.53-69.119.amzn2023

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxd5d9696b03808bc6be723cc85288c912c3a05606, d5d9696b03808bc6be723cc85288c912c3a05606, d5d9696b03808bc6be723cc85288c912c3a05606
LinuxLinux4.15, 0, 5.4.301
amazon:2023kernel6.120
linuxlinux_kernel4.15, 4.15, 4.15
amazon:2023perf0
amazon:2023perf6.120
amazon:2023kernel-devel0
amazon:2023kernel6.12-libbpf-devel0
amazon:2023kernel-livepatch-6.12.53-69.1190
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-modules-extra-common0
amazon:2023bpftool0
amazon:2023kernel-livepatch-6.1.156-177.2860
amazon:2023kernel-modules-extra0
amazon:2023kernel-libbpf-static0
amazon:2023kernel6.12-libbpf-static0
amazon:2023python3-perf6.120
amazon:2023kernel0
amazon:2023kernel-tools-devel0
LinuxLinux5.15.195, *, 4.15

…and 12 more

Timeline

  • Oct 27, 2025 CVE Published
  • Oct 28, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 28, 2025 Coalition ESS Score (9 in total, the first dated here)
  • Dec 15, 2025 Security Advisory (192 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (134 in total, the first dated here)
  • Jul 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-40081
vulnetix vdb fixes CVE-2025-40081

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40081/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›