CVE-2026-64300

Source
https://cve.org/CVERecord?id=CVE-2026-64300
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64300.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64300
Downstream
Published
2026-07-25T08:49:36.372Z
Modified
2026-07-27T04:03:21.429257620Z
Summary
perf/aux: Fix page UAF in map_range()
Details

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

perf/aux: Fix page UAF in map_range()

maprange() reads rb->auxpages[], rb->auxnrpages and rb->auxpgoff via perfmmaptopage() while holding only event->mmapmutex. Those fields are serialized by rb->auxmutex, and mmap_mutex is per event.

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

CPU 0 CPU 1 ===== ===== rballocaux() maprange() [3]: perfmmaptopage() returns rb->auxpages[0] [4]: map it as VMPFNMAP munmap the page 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->auxmutex across the page walk in maprange().

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64300.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b709eb872e19a19607bbb6d2975bc264d59735cf
Fixed
c8b7e113f7b61eef2f017e6329c27c2331058c5a
Fixed
0cff05bd2186020f8706233e261016d149cc24db
Fixed
5948aaf64f81f217a25dcc2bf6c0779bca19566c

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64300.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.14.0
Fixed
6.18.39
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64300.json"