Use-after-free in Linux kernel - CVE-2026-64300
Published: July 27, 2026
Vulnerability details
The vulnerability allows a local user to cause a use-after-free condition.
The vulnerability exists due to a use-after-free in map_range() in the perf subsystem when mapping auxiliary buffer pages shared between events. A local user can trigger a race between buffer allocation and page mapping to cause a use-after-free condition.
The issue arises when multiple events share one ring buffer via PERF_EVENT_IOC_SET_OUTPUT, and pages mapped as VM_PFNMAP lack refcount protection.