CVE-2025-38565
Apache Linux Kernel Reference Count Leak
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.
INFO
Published Date :
Aug. 19, 2025, 5:15 p.m.
Last Modified :
Aug. 20, 2025, 2:40 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-38565
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-38565
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-38565
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-38565
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-38565
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 19, 2025
Action Type Old Value New Value Added 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. Added Reference https://git.kernel.org/stable/c/07091aade394f690e7b655578140ef84d0e8d7b0 Added Reference https://git.kernel.org/stable/c/163b0d1a209fe0df5476c1df2330ca12b55abf92 Added Reference https://git.kernel.org/stable/c/27d44145bd576bbef9bf6165bcd78128ec3e6cbd Added Reference https://git.kernel.org/stable/c/7ff8521f30c4c2fcd4e88bd7640486602bf8a650 Added Reference https://git.kernel.org/stable/c/92043120a2e992800580855498ab8507e1b22db9 Added Reference https://git.kernel.org/stable/c/f41e9eba77bf97626e04296dc5677d02816d2432