CVE-2025-38565

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-38565
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38565.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38565
Downstream
Published
2025-08-19T17:15:33Z
Modified
2025-09-06T13:01:25Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

perf/core: Exit early on perf_mmap() fail

When perfmmap() fails to allocate a buffer, it still invokes the eventmapped() callback of the related event. On X86 this might increase the perfrdpmcallowed reference counter. But nothing undoes this as perfmmapclose() is never called in this case, which causes another reference count leak.

Return early on failure to prevent that.

References

Affected packages