Skip to main content

Linux Kernel CVE-2026-64300

| EUVDEUVD-2026-49012 HIGH
Use After Free (CWE-416)
2026-07-25 Linux GHSA-643v-c574-jxr9
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain local shell access
  2. Delivery
    Open two perf events via perf_event_open()
  3. Exploit
    Link events to share ring buffer via PERF_EVENT_IOC_SET_OUTPUT
  4. Install
    Race rb_alloc_aux() against map_range() across two threads
  5. C2
    VM_PFNMAP entry points to freed physical frame
  6. Execute
    Read/write freed kernel memory
  7. Impact
    Escalate to root

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires local interactive or shell access on the target system. The attacker must be able to call perf_event_open(), which is controlled by /proc/sys/kernel/perf_event_paranoid: values ≤1 permit unprivileged access on many desktop and CI distributions; value 2 requires CAP_PERFMON or CAP_SYS_ADMIN; value 3 denies all unprivileged access. The attacker must create two perf events, link them with PERF_EVENT_IOC_SET_OUTPUT to share a single ring buffer, and then allocate an AUX ring buffer (mmap with PROT_READ for the AUX region). Exploitation requires winning a CPU-level race between rb_alloc_aux() on one thread and map_range() on another - a narrow window that limits reliability. Remote exploitation is not possible. Systems with perf_event_paranoid=3 or CAP_PERFMON withheld from all non-root users are not reachable.

Impact

The provided CVSS 3.1 score of 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) is broadly correct in attack vector and privilege requirements but rates AC:L, which understates the race-condition complexity - triggering a reliable inter-CPU race between rb_alloc_aux() and map_range() across two events sharing a ring buffer is non-trivial, making AC:H more representative of real-world exploitation difficulty. EPSS at 0.21% (11th percentile) corroborates low near-term exploitation probability. No KEV listing and no public POC have been identified. The combination of local-only access, required perf_event privileges (governed by /proc/sys/kernel/perf_event_paranoid or CAP_PERFMON), and a narrow race window makes this a low-immediacy issue despite the high theoretical C/I/A impact of a kernel UAF. Patches are available; systems where perf_event_paranoid is set permissively (≤1) or where CAP_PERFMON is broadly granted face the most realistic exposure.

Exploit ScenarioDerived

A local user with perf_event_open() access opens two perf events on the same CPU, links them via PERF_EVENT_IOC_SET_OUTPUT to share a single ring buffer, and then from two threads concurrently triggers AUX buffer allocation (rb_alloc_aux) on one event while mapping the AUX region (map_range) on the other. If the race is won, the mapping thread installs a VM_PFNMAP entry pointing to a page that the allocation thread subsequently frees, giving the attacker a writable mapping to a recycled physical frame - a primitive that can be leveraged for kernel heap corruption and local privilege escalation. No public POC has been identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 16, 2026

Page use-after-free in the Linux kernel perf/aux subsystem allows a local authenticated attacker to read or write freed kernel memory, potentially achieving privilege escalation. The flaw arises because map_range() accesses rb->aux_pages[], rb->aux_nr_pages, and rb->aux_pgoff while holding only the per-event mmap_mutex, whereas those fields are serialised by the ring-buffer-level rb->aux_mutex; two events sharing one ring buffer via PERF_EVENT_IOC_SET_OUTPUT can therefore race rb_alloc_aux() against map_range(), leaving a VM_PFNMAP mapping pointing to a freed physical frame. No public exploit has been identified at time of analysis, and EPSS exploitation probability is very low at 0.21% (11th percentile).

RemediationAI

The primary fix is to upgrade to a patched kernel version: 6.18.39, 7.1.4, or 7.2-rc3 or later, incorporating upstream commits c8b7e113f7b6, 0cff05bd2186, or 5948aaf64f81 depending on the stable series. Ubuntu users should apply the updates referenced in USN-8726-1 and USN-8727-1 (https://ubuntu.com/security/notices/USN-8726-1, https://ubuntu.com/security/notices/USN-8727-1). As a compensating control on unpatched systems, set /proc/sys/kernel/perf_event_paranoid to 3 (or 2 at minimum) to restrict perf_event_open() to privileged users only - this prevents unprivileged local users from reaching the vulnerable code path, though it limits performance profiling for non-root users. Removing CAP_PERFMON from container or user namespaces where it is not required also reduces the attack surface. NVD advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-64300.

Affected VersionsENISA

Linux patch: 7.1.4
Linux b709eb872e19a19607bbb6d2975bc264d59735cf <c8b7e113f7b61eef2f017e6329c27c2331058c5a
Linux b709eb872e19a19607bbb6d2975bc264d59735cf <0cff05bd2186020f8706233e261016d149cc24db
Linux b709eb872e19a19607bbb6d2975bc264d59735cf <5948aaf64f81f217a25dcc2bf6c0779bca19566c
Linux patch: 0
Linux patch: 6.18.39
Linux patch: 7.2-rc3
Linux 6.14

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Linux kernel Performance Events subsystem (perf) supports AUX ring buffers for hardware trace data (e.g., Intel PT, ARM CoreSight). When a ring buffer is shared between two events via the PERF_EVENT_IOC_SET_OUTPUT ioctl, map_range() on one event can concurrently execute with rb_alloc_aux() on another. The ring buffer fields rb->aux_pages[], rb->aux_nr_pages, and rb->aux_pgoff are protected by rb->aux_mutex, but map_range() acquires only the per-event event->mmap_mutex, creating a TOCTOU window. Pages installed into the VMA as VM_PFNMAP carry no page-struct refcount protection, so if rb_alloc_aux() allocates and then frees a page (e.g., via munmap) while map_range() has already retrieved a pointer to that page from rb->aux_pages[], the VMA retains a dangling mapping to the freed physical frame - a classic CWE-416 Use-After-Free at the page-table level. The fix serialises the page walk in map_range() under rb->aux_mutex. Affected CPE: cpe:2.3:a:linux:linux.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Linux) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Race condition between two CPUs sharing a perf ring buffer makes AC:H realistic; PR:L reflects perf_event_open() privilege gate; UAF yields full C/I/A impact.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 7.0 HIGH

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Jul 27, 2026 - 05:22 NVD
7.8 (HIGH)
Patch available
Jul 25, 2026 - 11:18 EUVD
CVE Published
Jul 25, 2026 - 08:49 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 25, 2026 - 08:49 cve.org
HIGH 7.8

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

perf/aux: Fix page UAF in map_range()

map_range() reads rb->aux_pages[], rb->aux_nr_pages and rb->aux_pgoff via perf_mmap_to_page() while holding only event->mmap_mutex. Those fields are serialized by rb->aux_mutex, and mmap_mutex is per event.

Thus, two events sharing one rb via PERF_EVENT_IOC_SET_OUTPUT can race rb_alloc_aux() with map_range(), leading to a page-UAF scenario as follows:

CPU 0 CPU 1 = = rb_alloc_aux() map_range() [1]: allocate rb->aux_pages[0] [2]: rb->aux_nr_pages++ [3]: perf_mmap_to_page() returns rb->aux_pages[0] [4]: map it as VM_PFNMAP [5]: rb->aux_pgoff = 1

munmap the page [6]: free rb->aux_pages[0]

Pages mapped as VM_PFNMAP have no refcount protection, so CPU 1 holds a mapping to a freed physical frame.

Fix this by taking rb->aux_mutex across the page walk in map_range().

Executive ViewAI

Why It Matters

Linux systems face a privilege escalation risk through the kernel performance monitoring subsystem, enabling authenticated users to gain elevated system access and compromise system integrity. Organizations must prioritize kernel updates on systems with multiple user accounts to prevent credential theft and lateral movement.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Ubiquitous
Linux kernel runs the vast majority of servers and embedded systems globally.
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy