{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-38565","id":"CVE-2025-38565","title":"perf/core: Exit early on perf_mmap() fail","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf/core: Exit early on perf_mmap() fail\n\nWhen perf_mmap() fails to allocate a buffer, it still invokes the\nevent_mapped() callback of the related event. On X86 this might increase\nthe perf_rdpmc_allowed reference counter. But nothing undoes this as\nperf_mmap_close() is never called in this case, which causes another\nreference c","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf/core: Exit early on perf_mmap() fail\n\nWhen perf_mmap() fails to allocate a buffer, it still invokes the\nevent_mapped() callback of the related event. On X86 this might increase\nthe perf_rdpmc_allowed reference counter. But nothing undoes this as\nperf_mmap_close() is never called in this case, which causes another\nreference count leak.\n\nReturn early on failure to prevent that.","published":"2025-08-19T17:02:41.700Z","updated":"2026-11-07T02:30:35.369951942Z","reserved":"2025-04-16T04:51:24.025Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1e0fb9ec679c9273a641f1d6f3d25ea47baef2bb","lessThan":"5ffda7f3ed76ec8defc19d985e33b3b82ba07839","status":"affected","versionType":"git"},{"version":"1e0fb9ec679c9273a641f1d6f3d25ea47baef2bb","lessThan":"9b90a48c7de828a15c7a4fc565d46999c6e22d6b","status":"affected","versionType":"git"},{"version":"1e0fb9ec679c9273a641f1d6f3d25ea47baef2bb","lessThan":"de85e72598d89880a02170a1cbc27b35a7d978a9","status":"affected","versionType":"git"},{"version":"1e0fb9ec679c9273a641f1d6f3d25ea47baef2bb","lessThan":"27d44145bd576bbef9bf6165bcd78128ec3e6cbd","status":"affected","versionType":"git"},{"version":"1e0fb9ec679c9273a641f1d6f3d25ea47baef2bb","lessThan":"f41e9eba77bf97626e04296dc5677d02816d2432","status":"affected","versionType":"git"},{"version":"1e0fb9ec679c9273a641f1d6f3d25ea47baef2bb","lessThan":"92043120a2e992800580855498ab8507e1b22db9","status":"affected","versionType":"git"},{"version":"1e0fb9ec679c9273a641f1d6f3d25ea47baef2bb","lessThan":"163b0d1a209fe0df5476c1df2330ca12b55abf92","status":"affected","versionType":"git"},{"version":"1e0fb9ec679c9273a641f1d6f3d25ea47baef2bb","lessThan":"7ff8521f30c4c2fcd4e88bd7640486602bf8a650","status":"affected","versionType":"git"},{"version":"1e0fb9ec679c9273a641f1d6f3d25ea47baef2bb","lessThan":"07091aade394f690e7b655578140ef84d0e8d7b0","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.0","status":"affected"},{"version":"0","lessThan":"4.0","status":"unaffected","versionType":"semver"},{"version":"5.4.297","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.241","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.190","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.148","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.102","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.42","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.15.10","lessThanOrEqual":"6.15.*","status":"unaffected","versionType":"semver"},{"version":"6.16.1","lessThanOrEqual":"6.16.*","status":"unaffected","versionType":"semver"},{"version":"6.17","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/5ffda7f3ed76ec8defc19d985e33b3b82ba07839","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9b90a48c7de828a15c7a4fc565d46999c6e22d6b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/de85e72598d89880a02170a1cbc27b35a7d978a9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/27d44145bd576bbef9bf6165bcd78128ec3e6cbd","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f41e9eba77bf97626e04296dc5677d02816d2432","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/92043120a2e992800580855498ab8507e1b22db9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/163b0d1a209fe0df5476c1df2330ca12b55abf92","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/7ff8521f30c4c2fcd4e88bd7640486602bf8a650","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/07091aade394f690e7b655578140ef84d0e8d7b0","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38565.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38565","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00202,"epssPercentile":0.10324,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-38565","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38565","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-38565","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-38565","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}