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-38424

published high CVSS 3.1 · 7.8

perf: Fix sample vs do_exit()

Published
25 Jul 2025, 14:16:44 UTC
Updated
15 Oct 2026, 21:52:15 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxc5ebcedb566ef17bda7b02686e0d658a7bb42ee7 to < 7b8f3c72175c6a63a95cf2e219f8b78e2baad34e · c5ebcedb566ef17bda7b02686e0d658a7bb42ee7 to < 507c9a595bad3abd107c6a8857d7fd125d89f386 · c5ebcedb566ef17bda7b02686e0d658a7bb42ee7 to < a9f6aab7910a0ef2895797f15c947f6d1053160f · c5ebcedb566ef17bda7b02686e0d658a7bb42ee7 to < 975ffddfa2e19823c719459d2364fcaa17673964 · c5ebcedb566ef17bda7b02686e0d658a7bb42ee7 to < 2ee6044a693735396bb47eeaba1ac3ae26c1c99b · c5ebcedb566ef17bda7b02686e0d658a7bb42ee7 to < 456019adaa2f5366b89c868dea9b483179bece54 · c5ebcedb566ef17bda7b02686e0d658a7bb42ee7 to < 7311970d07c4606362081250da95f2c7901fc0db · c5ebcedb566ef17bda7b02686e0d658a7bb42ee7 to < 4f6fc782128355931527cefe3eb45338abd8ab39 · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.7 (affected) · 0 to < 3.7 (unaffected · semver) · 5.4.295 through 5.4.* (unaffected · semver) · 5.10.239 through 5.10.* (unaffected · semver) · 5.15.186 through 5.15.* (unaffected · semver) · 6.1.142 through 6.1.* (unaffected · semver) · 6.6.95 through 6.6.* (unaffected · semver) · 6.12.35 through 6.12.* (unaffected · semver) · 6.15.4 through 6.15.* (unaffected · semver) · 6.16 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-2025-098 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2025-082 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2025-104 Fixed Not stated Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.147-1 DSA-5973-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Show 100 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2025-1080 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-1111 Fixed Not stated Amazon Linux assessment
Debian bullseye linux Advisory build 5.10.244-1 DLA-4327-1
Debian bullseye linux-6.1 Advisory build 6.1.153-1~deb11u1 DLA-4328-1
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 7 kernel-uekx86_64 Advisory build 0:5.4.17-2136.347.6.el7uek ELSA-2025-20553
Oracle Linux 7 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.347.6.el7uek ELSA-2025-20553
Oracle Linux 7 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.347.6.el7uek ELSA-2025-20553
Oracle Linux 7 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.347.6.el7uek ELSA-2025-20553
Oracle Linux 7 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.347.6.el7uek ELSA-2025-20553
Oracle Linux 7 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.347.6.el7uek ELSA-2025-20553
Oracle Linux 7 kernel-uek-docx86_64 Advisory build 0:5.4.17-2136.347.6.el7uek ELSA-2025-20553
Oracle Linux 7 kernel-uek-toolsx86_64 Advisory build 0:5.4.17-2136.347.6.el7uek ELSA-2025-20553
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.4.17-2136.347.6.el8uek ELSA-2025-20553
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.4.17-2136.347.6.el8uek ELSA-2025-20553
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.347.6.el8uek ELSA-2025-20553
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.347.6.el8uek ELSA-2025-20553
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.4.17-2136.347.6.el8uek ELSA-2025-20553
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.347.6.el8uek ELSA-2025-20553
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.4.17-2136.347.6.el8uek ELSA-2025-20553
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.347.6.el8uek ELSA-2025-20553
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.4.17-2136.347.6.el8uek ELSA-2025-20553
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552

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: Fix sample vs do_exit() Baisheng Gao reported an ARM64 crash, which Mark decoded as being a synchronous external abort -- most likely due to trying to access MMIO in bad ways. The crash further shows perf trying to do a user stack sample while in exit_mmap()'s tlb_finish_mmu() -- i.e. while tearing down the address space it is trying to access. It turns out that we stop perf after we tear down the userspace mm; a receipie for disaster, since perf likes to access userspace for various reasons. Flip this order by moving up where we stop perf in do_exit(). Additionally, harden PERF_SAMPLE_CALLCHAIN and PERF_SAMPLE_STACK_USER to abort when the current task does not have an mm (exit_mm() makes sure to set current->mm = NULL; before commencing with the actual teardown). Such that CPU wide events don't trip on this same problem.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

62

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 - The vulnerability is reached through the `perf_event_open(2)` syscall creating a sampling event with `PERF_SAMPLE_STACK_USER`/`PERF_SAMPLE_CALLCHAIN`, plus a normal task exit. No network or physical component is involved. AC:L - The attacker controls both sides of the race — it creates the sampling event, chooses when the task calls `exit_group()`, and can widen the `exit_mmap()` window arbitrarily by mapping a large address space with many VMAs; failed attempts are free and can be repeated thousands of times per second via forked children with `attr.inherit=1`. PR:L - An ordinary unprivileged user can do this at the upstream default `perf_event_paranoid=2` — `PERF_SAMPLE_STACK_USER`/`PERF_SAMPLE_CALLCHAIN` have no capability gate, per-task events on one's own tasks need only `ptrace_may_access`, and `exclude_kernel=1` samples that skid into kernel mode are deliberately not dropped (revert 6a8a75f32357; `sample_is_allowed()` only guards `sigtrap`). On the widely deployed `perf_event_paranoid<=1` systems it is fully deterministic with software clock events. UI:N - The attacker triggers everything from its own processes — open the event, exit the task. No victim action, no privileged profiler, and no administrator involvement is required. S:U - The unsafe access and its consequences are contained within the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - `__copy_from_user_inatomic()`/`__get_user()` read through an mm whose data pages and page-table pages have already been freed and can be reallocated, and the harvested bytes are written verbatim into the attacker-readable perf ring buffer — a use-after-free read that can disclose freed/reused memory or, via a walk through a recycled page-table page, effectively arbitrary physical memory. I:H - The use-after-free on the page tables makes the CPU issue accesses to attacker-groomable, arbitrary physical addresses; per UAF scoring guidance this is High, and it is concretely damaging because the reported case lands on MMIO, where reads carry side effects (read-to-clear status, FIFO pops) that corrupt device and system state. A:H - The reported failure is a fatal kernel abort — on arm64 `do_sea()` routes the synchronous external abort to `arm64_notify_die()` with `SIGKILL/SI_KERNEL`, which in kernel mode is an unrecoverable oops/panic; the attacker can trigger it repeatedly, giving a reliable full system DoS.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux c5ebcedb566ef17bda7b02686e0d658a7bb42ee7 to < 7b8f3c72175c6a63a95cf2e219f8b78e2baad34e (affected · git)c5ebcedb566ef17bda7b02686e0d658a7bb42ee7 to < 507c9a595bad3abd107c6a8857d7fd125d89f386 (affected · git)c5ebcedb566ef17bda7b02686e0d658a7bb42ee7 to < a9f6aab7910a0ef2895797f15c947f6d1053160f (affected · git)c5ebcedb566ef17bda7b02686e0d658a7bb42ee7 to < 975ffddfa2e19823c719459d2364fcaa17673964 (affected · git)c5ebcedb566ef17bda7b02686e0d658a7bb42ee7 to < 2ee6044a693735396bb47eeaba1ac3ae26c1c99b (affected · git)c5ebcedb566ef17bda7b02686e0d658a7bb42ee7 to < 456019adaa2f5366b89c868dea9b483179bece54 (affected · git)c5ebcedb566ef17bda7b02686e0d658a7bb42ee7 to < 7311970d07c4606362081250da95f2c7901fc0db (affected · git)c5ebcedb566ef17bda7b02686e0d658a7bb42ee7 to < 4f6fc782128355931527cefe3eb45338abd8ab39 (affected · git)Default: unaffected Linux · cna
Linux Linux 3.7 (affected)0 to < 3.7 (unaffected · semver)5.4.295 through 5.4.* (unaffected · semver)5.10.239 through 5.10.* (unaffected · semver)5.15.186 through 5.15.* (unaffected · semver)6.1.142 through 6.1.* (unaffected · semver)6.6.95 through 6.6.* (unaffected · semver)6.12.35 through 6.12.* (unaffected · semver)6.15.4 through 6.15.* (unaffected · semver)6.16 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

10

Provider assertions

3

Linux · cna

perf: Fix sample vs do_exit()

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
8e9818ae9a6f052fe491f1b22ab38cd2e0a33343a5743b28f62f03b7b6dd6865
Ingested
15 Oct 2026, 23:26:24 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