CVE-2025-38565
BaseFortify
Publication date: 2025-08-19
Last updated on: 2025-11-03
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | 5.10.244 |
| linux | linux_kernel | 6.1.153 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability occurs in the Linux kernel's perf subsystem. When the function perf_mmap() fails to allocate a buffer, it still calls the event_mapped() callback, which on X86 systems can increase a reference counter (perf_rdpmc_allowed). However, because perf_mmap_close() is never called in this failure case, the reference counter is not decremented, causing a reference count leak. The fix involves returning early on failure to prevent this leak.
How can this vulnerability impact me? :
The vulnerability can lead to a reference count leak in the Linux kernel's perf subsystem. Over time, this leak could cause resource exhaustion or instability in the kernel, potentially affecting system performance or reliability.