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-2026-89791

published high CVSS 3.1 · 7.8

perf: Fix use-after-free when perf mmap() revival races with the last munmap()

Published
16 Sep 2026, 08:48:27 UTC
Updated
19 Oct 2026, 08:52:45 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux59741451b49ce9964a9758c19d6f7df2a1255c75 to < 929cb3b9dc818dd9fa89d510d4ff2b255e42badd · 59741451b49ce9964a9758c19d6f7df2a1255c75 to < 0c739f54f1c77f3a4643160cd2e031b6c2f2aab6 · 59741451b49ce9964a9758c19d6f7df2a1255c75 to < 58a8108bc73de0740d5b88150465d6690ea5f85f · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.18 (affected) · 0 to < 6.18 (unaffected · semver) · 6.18.52 through 6.18.* (unaffected · semver) · 7.2.5 through 7.2.* (unaffected · semver) · 7.3 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3192 Fixed Not stated Amazon Linux assessment
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-211.68.1.el10_2 ALSA-2026:88477
Oracle Linux 10 kernelx86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Red Hat Enterprise Linux RHEL-10 kernelaarch64 Advisory build 6.12.0-211.68.1.el10_2 RHSA-2026:88477
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 10 kernel-doc Advisory build 6.12.0-211.68.1.el10_2 ALSA-2026:88477
Oracle Linux 10 kernelx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-abi-stablelistsx86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-abi-stablelistsx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-corex86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-corex86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-cross-headersaarch64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-cross-headersaarch64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-cross-headersx86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-cross-headersx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-debugx86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-debugx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-debug-corex86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-debug-corex86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-debug-develx86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-debug-develx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-debug-devel-matchedx86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-debug-devel-matchedx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-debug-modulesx86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-debug-modulesx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-debug-modules-corex86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-debug-modules-corex86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-debug-modules-extrax86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-debug-modules-extrax86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-debug-uki-virtx86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-debug-uki-virtx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-develx86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-develx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-devel-matchedx86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-devel-matchedx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-docx86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-docx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-headersaarch64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-headersaarch64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-headersx86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-headersx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-modulesx86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-modulesx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-modules-corex86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-modules-corex86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-modules-extrax86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-modules-extrax86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-modules-extra-matchedx86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-modules-extra-matchedx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-toolsaarch64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-toolsaarch64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-toolsx86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-toolsx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-tools-libsaarch64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-tools-libsaarch64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-tools-libsx86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-tools-libsx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-tools-libs-develaarch64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-tools-libs-develaarch64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-tools-libs-develx86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-tools-libs-develx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-uki-virtx86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-uki-virtx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-uki-virt-addonsx86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 kernel-uki-virt-addonsx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 libperfaarch64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 libperfaarch64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 libperfx86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 libperfx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 perfaarch64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 perfaarch64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 perfx86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 perfx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 python3-perfaarch64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 python3-perfaarch64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 python3-perfx86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 python3-perfx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 rtlaaarch64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 rtlaaarch64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 rtlax86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 rtlax86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 rvaarch64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 rvaarch64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 rvx86_64 Advisory build 0:6.12.0-211.68.1.el10_2 ELSA-2026-88477
Oracle Linux 10 rvx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Red Hat Enterprise Linux RHEL-10 kernelaarch64 Advisory build 6.12.0-264.14.1.el10_3 RHSA-2026:98608
Red Hat Enterprise Linux RHEL-10 kernelppc64le Advisory build 6.12.0-211.68.1.el10_2 RHSA-2026:88477
Red Hat Enterprise Linux RHEL-10 kernelppc64le Advisory build 6.12.0-264.14.1.el10_3 RHSA-2026:98608
Red Hat Enterprise Linux RHEL-10 kernels390x Advisory build 6.12.0-211.68.1.el10_2 RHSA-2026:88477
Red Hat Enterprise Linux RHEL-10 kernels390x Advisory build 6.12.0-264.14.1.el10_3 RHSA-2026:98608
Red Hat Enterprise Linux RHEL-10 kernelsrc Advisory build 6.12.0-211.68.1.el10_2 RHSA-2026:88477
Red Hat Enterprise Linux RHEL-10 kernelsrc Advisory build 6.12.0-264.14.1.el10_3 RHSA-2026:98608
Red Hat Enterprise Linux RHEL-10 kernelx86_64 Advisory build 6.12.0-211.68.1.el10_2 RHSA-2026:88477
Red Hat Enterprise Linux RHEL-10 kernelx86_64 Advisory build 6.12.0-264.14.1.el10_3 RHSA-2026:98608
Red Hat Enterprise Linux RHEL-10 kernel-64kaarch64 Advisory build 6.12.0-211.68.1.el10_2 RHSA-2026:88477
Red Hat Enterprise Linux RHEL-10 kernel-64kaarch64 Advisory build 6.12.0-264.14.1.el10_3 RHSA-2026:98608
Red Hat Enterprise Linux RHEL-10 kernel-64k-coreaarch64 Advisory build 6.12.0-211.68.1.el10_2 RHSA-2026:88477
Red Hat Enterprise Linux RHEL-10 kernel-64k-coreaarch64 Advisory build 6.12.0-264.14.1.el10_3 RHSA-2026:98608
Red Hat Enterprise Linux RHEL-10 kernel-64k-debugaarch64 Advisory build 6.12.0-211.68.1.el10_2 RHSA-2026:88477
Red Hat Enterprise Linux RHEL-10 kernel-64k-debugaarch64 Advisory build 6.12.0-264.14.1.el10_3 RHSA-2026:98608
Red Hat Enterprise Linux RHEL-10 kernel-64k-debug-coreaarch64 Advisory build 6.12.0-211.68.1.el10_2 RHSA-2026:88477
Red Hat Enterprise Linux RHEL-10 kernel-64k-debug-coreaarch64 Advisory build 6.12.0-264.14.1.el10_3 RHSA-2026:98608

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 use-after-free when perf mmap() revival races with the last munmap() perf_mmap_close() drops rb->mmap_count *without* holding event->mmap_mutex (the refcount_dec_and_test() right before the refcount_dec_and_mutex_lock() of event->mmap_count). A concurrent perf_mmap_rb() can slot its entire "revival" path into that window (perf_mmap holds event->mmap_mutex for its whole duration, including rb_alloc): munmap side (perf_mmap_close) mmap side (perf_mmap_rb) ----------------------------------- -------------------------------- rb->mmap_count 1 -> 0 (no lock) (holds event->mmap_mutex) inc_not_zero(rb->mmap_count) fails ring_buffer_attach(event, NULL) rb_alloc() + attach new rb refcount_set(&event->mmap_count, 1) lock; event->mmap_count 1 -> 0 ring_buffer_attach(event, NULL) ring_buffer_put() -> frees the *new* rb The revival's refcount_set(&event->mmap_count, 1) is an invisible 1 -> 1 write: the close frees the just-revived buffer although the other process still has it mapped -- a page-level use-after-free allowing local privilege escalation to root by any unprivileged user (default kernel.perf_event_paranoid=2). Swap the order of the two counter updates: event->mmap_count is dropped first via refcount_dec_and_mutex_lock(), so its 1 -> 0 transition and the ring_buffer_attach() stay serialized with perf_mmap(). rb->mmap_count == 0 then implies every event using the buffer is detached already, so the result of the rb->mmap_count drop can gate the remaining teardown directly and detach_rest is no longer needed. An earlier fix for this race from Kyle Zeng and David Lee takes event->mmap_mutex around both counter updates [0]; here the not-last close stays lockless.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

22

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 UAF is reached only via local syscalls: perf_event_open(2) then mmap(2)/munmap(2) on the resulting perf fd (perf_fops.mmap → perf_mmap → perf_mmap_rb racing perf_mmap_close). There is no network, adjacent-radio, or physical path into the ring-buffer revival race. AC:L - The attacker drives both sides from threads or processes sharing the fd: one munmap() runs perf_mmap_close() while a concurrent mmap() holds event->mmap_mutex through rb_alloc() and map_range(). That is an attacker-controlled, freely retryable race, not an uninfluenced layout or victim-state condition. PR:L - Default kernel.perf_event_paranoid=2 still allows an unprivileged per-task software event with exclude_kernel set; perf_mmap() only calls the optional LSM security_perf_event_read hook and does not require CAP_PERFMON or CAP_SYS_ADMIN. The fix notes local privilege escalation by any unprivileged user. UI:N - The attacker opens the event and races mmap/munmap on that fd in their own process or a helper that inherited the fd. No victim action such as mounting a filesystem or opening a file is required. S:U - Impact is host-kernel page use-after-free of the perf ring buffer, i.e. standard local privilege escalation in the same OS security authority. It is not a KVM/Xen guest-to-host escape or IOMMU/DMA boundary bypass. C:H - perf_mmap_close() frees the revived ring-buffer pages (rb_free) while the concurrent mmap's VM_PFNMAP VMA still maps those PFNs. That page-level UAF lets the attacker reclaim the pages and read arbitrary kernel memory through the still-valid mapping. I:H - The same still-mapped PFNs remain writable on the user control page (perf_mmap_pfn_mkwrite), so reclaim/spray of the freed pages yields a kernel write primitive. The fix commit describes this as local privilege escalation to root, matching UAF integrity High. A:H - Use-after-free of the ring buffer while it remains mapped causes kernel oops or panic on reuse, and the reporters documented a panic reproducer. Any kernel UAF is availability High even without a completed privilege-escalation exploit.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 59741451b49ce9964a9758c19d6f7df2a1255c75 to < 929cb3b9dc818dd9fa89d510d4ff2b255e42badd (affected · git)59741451b49ce9964a9758c19d6f7df2a1255c75 to < 0c739f54f1c77f3a4643160cd2e031b6c2f2aab6 (affected · git)59741451b49ce9964a9758c19d6f7df2a1255c75 to < 58a8108bc73de0740d5b88150465d6690ea5f85f (affected · git)Default: unaffected Linux · cna
Linux Linux 6.18 (affected)0 to < 6.18 (unaffected · semver)6.18.52 through 6.18.* (unaffected · semver)7.2.5 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

perf: Fix use-after-free when perf mmap() revival races with the last munmap()

Provenance

Schema
5.2
Searchable
yes
Content hash
a8b6c4e9133ecf2479f400ebad09c38bcd4e9dce3b42be2c9de5b7f126bb6ca4
Ingested
19 Oct 2026, 08:57:57 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