{
  "id": "CVE-2026-64300",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64300",
  "published_at": "2026-07-25T08:49:36.372Z",
  "title": "perf/aux: Fix page UAF in map_range()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nperf/aux: Fix page UAF in map_range()\n\nmap_range() reads rb-\u003eaux_pages[], rb-\u003eaux_nr_pages and rb-\u003eaux_pgoff via\nperf_mmap_to_page() while holding only event-\u003emmap_mutex. Those fields are\nserialized by rb-\u003eaux_mutex, and mmap_mutex is per event.\n\nThus, two events sharing one rb via PERF_EVENT_IOC_SET_OUTPUT can race\nrb_alloc_aux() with map_range(), leading to a page-UAF scenario as follows:\n\n  CPU 0                           CPU 1\n  =====                           =====\n  rb_alloc_aux()                  map_range()\n  [1]: allocate rb-\u003eaux_pages[0]\n  [2]: rb-\u003eaux_nr_pages++\n                                  [3]: perf_mmap_to_page()\n                                         returns rb-\u003eaux_pages[0]\n                                  [4]: map it as VM_PFNMAP\n  [5]: rb-\u003eaux_pgoff = 1\n\n  munmap the page\n  [6]: free rb-\u003eaux_pages[0]\n\nPages mapped as VM_PFNMAP have no refcount protection, so CPU 1 holds a\nmapping to a freed physical frame.\n\nFix this by taking rb-\u003eaux_mutex across the page walk in map_range().",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.2:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.2:rc2:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= b709eb872e19a19607bbb6d2975bc264d59735cf, \u003c c8b7e113f7b61eef2f017e6329c27c2331058c5a",
          "\u003e= b709eb872e19a19607bbb6d2975bc264d59735cf, \u003c 0cff05bd2186020f8706233e261016d149cc24db",
          "\u003e= b709eb872e19a19607bbb6d2975bc264d59735cf, \u003c 5948aaf64f81f217a25dcc2bf6c0779bca19566c"
        ],
        "fixed_in": [
          "c8b7e113f7b61eef2f017e6329c27c2331058c5a",
          "0cff05bd2186020f8706233e261016d149cc24db",
          "5948aaf64f81f217a25dcc2bf6c0779bca19566c"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.14"
        ],
        "fixed_in": [
          "0",
          "6.18.39",
          "7.1.4",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to c8b7e113f7b61eef2f017e6329c27c2331058c5a or 0cff05bd2186020f8706233e261016d149cc24db or 5948aaf64f81f217a25dcc2bf6c0779bca19566c or later.",
      "Upgrade Linux to 0 or 6.18.39 or 7.1.4 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
