In the Linux kernel, the following vulnerability has been resolved: perf/aux: Fix page UAF in map_range() map_range() reads rb->aux_pages[],… (CVE-2026-64300)
A use-after-free (UAF) vulnerability in the Linux kernel's perf subsystem was resolved. The issue occurs in the map_range() function, which reads certain fields without proper synchronization, leading to a race condition between two events sharing a ring buffer. This race can cause a page to be freed while still mapped, resulting in a UAF scenario. The vulnerability was fixed by adding proper locking with rb->aux_mutex during the page walk in map_range().
AI Analysis
Technical Summary
The Linux kernel perf subsystem had a race condition in map_range() where rb->aux_pages[], rb->aux_nr_pages, and rb->aux_pgoff were accessed under event->mmap_mutex but not under rb->aux_mutex, which serializes these fields. Two events sharing a ring buffer via PERF_EVENT_IOC_SET_OUTPUT could race between rb_alloc_aux() and map_range(), causing a page to be freed while still mapped as VM_PFNMAP. Since VM_PFNMAP pages lack reference count protection, this leads to a use-after-free of a physical page. The fix involves taking rb->aux_mutex during the page walk in map_range() to prevent this race.
Potential Impact
This vulnerability allows a use-after-free condition on a physical page mapped in user space, which can lead to memory corruption or potential privilege escalation if exploited. However, no known exploits are reported in the wild at this time.
Mitigation Recommendations
A fix has been applied to the Linux kernel by introducing proper locking with rb->aux_mutex in map_range(). Users should update to a kernel version that includes this fix once available. Patch status is not yet confirmed from the vendor advisory; check the official Linux kernel advisories or distribution updates for the fixed versions.
In the Linux kernel, the following vulnerability has been resolved: perf/aux: Fix page UAF in map_range() map_range() reads rb->aux_pages[],… (CVE-2026-64300)
Description
A use-after-free (UAF) vulnerability in the Linux kernel's perf subsystem was resolved. The issue occurs in the map_range() function, which reads certain fields without proper synchronization, leading to a race condition between two events sharing a ring buffer. This race can cause a page to be freed while still mapped, resulting in a UAF scenario. The vulnerability was fixed by adding proper locking with rb->aux_mutex during the page walk in map_range().
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel perf subsystem had a race condition in map_range() where rb->aux_pages[], rb->aux_nr_pages, and rb->aux_pgoff were accessed under event->mmap_mutex but not under rb->aux_mutex, which serializes these fields. Two events sharing a ring buffer via PERF_EVENT_IOC_SET_OUTPUT could race between rb_alloc_aux() and map_range(), causing a page to be freed while still mapped as VM_PFNMAP. Since VM_PFNMAP pages lack reference count protection, this leads to a use-after-free of a physical page. The fix involves taking rb->aux_mutex during the page walk in map_range() to prevent this race.
Potential Impact
This vulnerability allows a use-after-free condition on a physical page mapped in user space, which can lead to memory corruption or potential privilege escalation if exploited. However, no known exploits are reported in the wild at this time.
Mitigation Recommendations
A fix has been applied to the Linux kernel by introducing proper locking with rb->aux_mutex in map_range(). Users should update to a kernel version that includes this fix once available. Patch status is not yet confirmed from the vendor advisory; check the official Linux kernel advisories or distribution updates for the fixed versions.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-643v-c574-jxr9
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64300"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a65420e9c2644c7f8086034
Added to database: 07/25/2026, 23:09:02 UTC
Last enriched: 07/25/2026, 23:37:36 UTC
Last updated: 07/26/2026, 05:10:41 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.