Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-40081

published high CVSS 3.1 · 7.8

perf: arm_spe: Prevent overflow in PERF_IDX2OFF()

Published
28 Oct 2025, 11:48:45 UTC
Updated
15 Oct 2026, 22:02:37 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxd5d9696b03808bc6be723cc85288c912c3a05606 to < 656e9a5d69acdd1b20462f4a33378b90ddcb9626 · d5d9696b03808bc6be723cc85288c912c3a05606 to < 9c045d4501f7f70724a3bbb561f4f22d292bbfe6 · d5d9696b03808bc6be723cc85288c912c3a05606 to < 5d01f2b81568289443d22f1e13a363f829de6343 · d5d9696b03808bc6be723cc85288c912c3a05606 to < 7500384d3c9587593d75ded3b006835e7aa73ef8 · d5d9696b03808bc6be723cc85288c912c3a05606 to < 379cae2cb982f571cda9493ac573ab71125fd299 · d5d9696b03808bc6be723cc85288c912c3a05606 to < 1a19ba8e1f4ff24ece8ca69b79df8442c431db90 · d5d9696b03808bc6be723cc85288c912c3a05606 to < e516cfd19b0f4c774a57b17fb43a7f41991f0735 · d5d9696b03808bc6be723cc85288c912c3a05606 to < a29fea30dd93da16652930162b177941abd8c75e · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.15 (affected) · 0 to < 4.15 (unaffected · semver) · 5.4.301 through 5.4.* (unaffected · semver) · 5.10.246 through 5.10.* (unaffected · semver) · 5.15.195 through 5.15.* (unaffected · semver) · 6.1.156 through 6.1.* (unaffected · semver) · 6.6.112 through 6.6.* (unaffected · semver) · 6.12.53 through 6.12.* (unaffected · semver) · 6.17.3 through 6.17.* (unaffected · semver) · 6.18 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2026-112 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2025-095 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2025-114 Fixed Not stated Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.158-1 DSA-6053-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Show 100 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2025-1253 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-1254 Fixed Not stated Amazon Linux assessment
Debian bullseye linux Advisory build 5.10.247-1 DLA-4404-1
Debian bullseye linux-6.1 Advisory build 6.1.158-1~deb11u1 DLA-4379-1
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 7 kernel-uekx86_64 Advisory build 0:5.4.17-2136.350.3.1.el7uek ELSA-2025-28049
Oracle Linux 7 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.350.3.1.el7uek ELSA-2025-28049
Oracle Linux 7 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.350.3.1.el7uek ELSA-2025-28049
Oracle Linux 7 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.350.3.1.el7uek ELSA-2025-28049
Oracle Linux 7 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.350.3.1.el7uek ELSA-2025-28049
Oracle Linux 7 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.350.3.1.el7uek ELSA-2025-28049
Oracle Linux 7 kernel-uek-docx86_64 Advisory build 0:5.4.17-2136.350.3.1.el7uek ELSA-2025-28049
Oracle Linux 7 kernel-uek-toolsx86_64 Advisory build 0:5.4.17-2136.350.3.1.el7uek ELSA-2025-28049
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.4.17-2136.350.3.1.el8uek ELSA-2025-28049
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.4.17-2136.350.3.1.el8uek ELSA-2025-28049
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.350.3.1.el8uek ELSA-2025-28049
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.350.3.1.el8uek ELSA-2025-28049
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.4.17-2136.350.3.1.el8uek ELSA-2025-28049
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.350.3.1.el8uek ELSA-2025-28049
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.4.17-2136.350.3.1.el8uek ELSA-2025-28049
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.350.3.1.el8uek ELSA-2025-28049
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.4.17-2136.350.3.1.el8uek ELSA-2025-28049
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-315.196.5.1.el8uek ELSA-2025-28048

Package entries are limited to the first 100 builds and 100 linked advisories.

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

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

66

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - Triggering requires local syscalls — perf_event_open() on the arm_spe_0 PMU followed by mmap() of a 2 GiB AUX area and running the profiled workload. There is no remote or adjacent-network path to the SPE driver. AC:L - The attacker fully controls every trigger condition: the AUX buffer size is a userspace-chosen power of two (2 GiB is the maximum the allocator permits, and it is exactly the overflow point), and driving rb->aux_head past 2 GiB is just a matter of letting SPE trace run, which it does at GB/s. No race, no unknowable memory layout, and no rare kernel config — CONFIG_ARM_SPE_PMU is in arm64 defconfig. PR:L - arm_spe_pmu_event_init() performs no capability check on this path, and the driver deliberately uses perf_sw_context so per-task profiling works, bypassing perf_allow_cpu() under the default perf_event_paranoid=2. The only remaining gate on the 2 GiB AUX mapping is RLIMIT_MEMLOCK — a resource limit, not a privilege — which is routinely unlimited on the HPC/GPU/RDMA arm64 servers where SPE hardware exists, and is skipped entirely when perf_event_paranoid=-1. UI:N - The attacker profiles their own process and generates the trace data themselves; no victim action of any kind is involved. S:U - The out-of-bounds writes land in the kernel's own vmalloc region, within the same security authority as the vulnerable driver. No VM, IOMMU, or sandbox boundary is crossed. C:H - PMBPTR_EL1 is programmed with buf->base plus an unbounded offset, so the SPE hardware writes profiling records containing kernel/user addresses and data values into arbitrary kernel memory, and the corrupted size passed to perf_aux_output_end() exposes ring-buffer contents at bogus offsets to the userspace mmap. Out-of-bounds memory corruption of this scope is readily leveraged for information disclosure. I:H - arm_spe_pmu_pad_buf() memsets an attacker-influenced length starting at buf->base + head, far past the end of the 2 GiB vmap region, and the SPE hardware independently writes trace records out of bounds. On arm64 the surrounding vmalloc space contains VMAP_STACKs, module text and BPF JIT images, making this an out-of-bounds write usable for control-flow hijacking. A:H - The runaway offset overwhelmingly lands on unmapped vmalloc addresses or vmap guard pages, faulting in kernel context, and the hardware buffer writes raise SPE external aborts that the driver treats as fatal — either way an oops or panic.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux d5d9696b03808bc6be723cc85288c912c3a05606 to < 656e9a5d69acdd1b20462f4a33378b90ddcb9626 (affected · git)d5d9696b03808bc6be723cc85288c912c3a05606 to < 9c045d4501f7f70724a3bbb561f4f22d292bbfe6 (affected · git)d5d9696b03808bc6be723cc85288c912c3a05606 to < 5d01f2b81568289443d22f1e13a363f829de6343 (affected · git)d5d9696b03808bc6be723cc85288c912c3a05606 to < 7500384d3c9587593d75ded3b006835e7aa73ef8 (affected · git)d5d9696b03808bc6be723cc85288c912c3a05606 to < 379cae2cb982f571cda9493ac573ab71125fd299 (affected · git)d5d9696b03808bc6be723cc85288c912c3a05606 to < 1a19ba8e1f4ff24ece8ca69b79df8442c431db90 (affected · git)d5d9696b03808bc6be723cc85288c912c3a05606 to < e516cfd19b0f4c774a57b17fb43a7f41991f0735 (affected · git)d5d9696b03808bc6be723cc85288c912c3a05606 to < a29fea30dd93da16652930162b177941abd8c75e (affected · git)Default: unaffected Linux · cna
Linux Linux 4.15 (affected)0 to < 4.15 (unaffected · semver)5.4.301 through 5.4.* (unaffected · semver)5.10.246 through 5.10.* (unaffected · semver)5.15.195 through 5.15.* (unaffected · semver)6.1.156 through 6.1.* (unaffected · semver)6.6.112 through 6.6.* (unaffected · semver)6.12.53 through 6.12.* (unaffected · semver)6.17.3 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

2

Linux · cna

perf: arm_spe: Prevent overflow in PERF_IDX2OFF()

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
32046ca696217c3e49af5286895947aa8e757869cb63b107be47ed54243139f5
Ingested
15 Oct 2026, 23:29:36 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected