CVE-2025-38565: perf/core: Exit early on perf_mmap() fail
Vulnerability summary
CVE-2025-38565 is a high (CVSS 7.8) vulnerability in debian debian_linux. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 13% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 51 · Related 47Timeline
- 19-08-2025PublishedVulnerability first disclosed.
- 05-11-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: perf/core: Exit early on perf_mmap() fail When perf_mmap() fails to allocate a buffer, it still invokes the event_mapped() callback of the related event. On X86 this might increase the perf_rdpmc_allowed reference counter. But nothing undoes this as perf_mmap_close() is never called in this case, which causes another reference count leak. Return early on failure to prevent that.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.22%
Chance of exploitation in the next 30 days
Percentile
13%
Versus all other CVEs
30-day change
Increase +0.03 pp
From 0.19% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu149 products
- linuxAll versions (No fix recorded) | < 5.15.0-163.173 | < 6.8.0-147.147
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1097.104 | < 6.8.0-1067.70
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian2 products
- linux< 6.1.148-1 | < 6.12.43-1 | < 6.16.3-1
- debian_linuxEOL11.0
Linux2 products
- linux≥ 1e0fb9ec679c9273a641f1d6f3d25ea47baef2bb, < 5ffda7f3ed76ec8defc19d985e33b3b82ba07839 | ≥ 1e0fb9ec679c9273a641f1d6f3d25ea47baef2bb, < 9b90a48c7de828a15c7a4fc565d46999c6e22d6b | ≥ 1e0fb9ec679c9273a641f1d6f3d25ea47baef2bb, < de85e72598d89880a02170a1cbc27b35a7d978a9 | ≥ 1e0fb9ec679c9273a641f1d6f3d25ea47baef2bb, < 27d44145bd576bbef9bf6165bcd78128ec3e6cbd | ≥ 1e0fb9ec679c9273a641f1d6f3d25ea47baef2bb, < f41e9eba77bf97626e04296dc5677d02816d2432 | ≥ 1e0fb9ec679c9273a641f1d6f3d25ea47baef2bb, < 92043120a2e992800580855498ab8507e1b22db9 | ≥ 1e0fb9ec679c9273a641f1d6f3d25ea47baef2bb, < 163b0d1a209fe0df5476c1df2330ca12b55abf92 | ≥ 1e0fb9ec679c9273a641f1d6f3d25ea47baef2bb, < 7ff8521f30c4c2fcd4e88bd7640486602bf8a650 | ≥ 1e0fb9ec679c9273a641f1d6f3d25ea47baef2bb, < 07091aade394f690e7b655578140ef84d0e8d7b0 | 4.0
- linux_kernel≥ 4.0, < 5.4.297 | ≥ 5.5, < 5.10.241 | ≥ 5.11, < 5.15.190 | ≥ 5.16, < 6.1.148 | ≥ 6.2, < 6.6.102 | ≥ 6.7, < 6.12.42 | ≥ 6.13, < 6.15.10 | ≥ 6.16, < 6.16.1
3 vendors · 153 products