Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-38563

HIGH 7.8EPSS 18%

perf/core: Prevent VMA split of buffer mappings

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < e4346ffec2c44d6b0be834d59b20632b5bb5729e; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < d52451a9210f2e5a079ba052918c93563518a9ff; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < 3bd518cc7ea61076bcd725e36ff0e690754977c0; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < 7b84cb58d1f0aa07656802eae24689566e5f5b1b; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < 6757a31a8e295ae4f01717a954afda173f25a121; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < e529888b7e8092912dd8789bdfc76685ccd2ff5f; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < ff668930871e0198c7f4e325058b8b7c286787bd; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < 65311aad4c808bedad0c05d9bb8b06c47dae73eb; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < b024d7b56c77191cde544f838debb7f8451cd0d6
  • Anyone running Linux 4.1

Vulnerability facts

Affected
Linux >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < e4346ffec2c44d6b0be834d59b20632b5bb5729e; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < d52451a9210f2e5a079ba052918c93563518a9ff; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < 3bd518cc7ea61076bcd725e36ff0e690754977c0; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < 7b84cb58d1f0aa07656802eae24689566e5f5b1b; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < 6757a31a8e295ae4f01717a954afda173f25a121; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < e529888b7e8092912dd8789bdfc76685ccd2ff5f; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < ff668930871e0198c7f4e325058b8b7c286787bd; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < 65311aad4c808bedad0c05d9bb8b06c47dae73eb; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < b024d7b56c77191cde544f838debb7f8451cd0d6; Linux 4.1
Fixed in
Linux 3bd518cc7ea61076bcd725e36ff0e690754977c0, Linux 7b84cb58d1f0aa07656802eae24689566e5f5b1b, Linux 6757a31a8e295ae4f01717a954afda173f25a121, Linux 65311aad4c808bedad0c05d9bb8b06c47dae73eb
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.32% chance of exploitation in 30 days (percentile 18, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: perf/core: Prevent VMA split of buffer mappings The perf mmap code is careful about mmap()'ing the user page with the ringbuffer and additionally the auxiliary buffer, when the event supports it. Once the first mapping is established, subsequent mapping have to use the same offset and the same size in both cases. The reference counting for the ringbuffer and the auxiliary buffer depends on this being correct. Though perf does not prevent that a related mapping is split via mmap(2), munmap(2) or mremap(2). A split of a VMA results in perf_mmap_open() calls, which take reference counts, but then the subsequent perf_mmap_close() calls are not longer fulfilling the offset and size checks. This leads to reference count leaks. As perf already has the requirement for subsequent mappings to match the initial mapping, the obvious consequence is that VMA splits, caused by resizing of a mapping or partial unmapping, have to be prevented. Implement the vm_operations_struct::may_split() callback and return unconditionally -EINVAL. That ensures that the mapping offsets and sizes cannot be changed after the fact. Remapping to a different fixed address with the same size is still possible as it takes the references for the new mapping and drops those of the old mapping.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < e4346ffec2c44d6b0be834d59b20632b5bb5729e; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < d52451a9210f2e5a079ba052918c93563518a9ff; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < 3bd518cc7ea61076bcd725e36ff0e690754977c0; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < 7b84cb58d1f0aa07656802eae24689566e5f5b1b; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < 6757a31a8e295ae4f01717a954afda173f25a121; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < e529888b7e8092912dd8789bdfc76685ccd2ff5f; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < ff668930871e0198c7f4e325058b8b7c286787bd; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < 65311aad4c808bedad0c05d9bb8b06c47dae73eb; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < b024d7b56c77191cde544f838debb7f8451cd0d6—cvelist
Linux4.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-38563. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38563.md
Affected: Linux >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < e4346ffec2c44d6b0be834d59b20632b5bb5729e; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < d52451a9210f2e5a079ba052918c93563518a9ff; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < 3bd518cc7ea61076bcd725e36ff0e690754977c0; >= 45bfb2e50471abbbfd83d40…
Fixed in: Linux 3bd518cc7ea61076bcd725e36ff0e690754977c0, Linux 7b84cb58d1f0aa07656802eae24689566e5f5b1b, Linux 6757a31a8e295ae4f01717a954afda173f25a121, Linux 65311aad4c808bedad0c05d9bb8b06c47dae73eb

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-38563 being exploited?

There is no confirmed exploitation: CVE-2025-38563 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-38563?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-38563?

Linux >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < e4346ffec2c44d6b0be834d59b20632b5bb5729e; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < d52451a9210f2e5a079ba052918c93563518a9ff; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < 3bd518cc7ea61076bcd725e36ff0e690754977c0; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < 7b84cb58d1f0aa07656802eae24689566e5f5b1b; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < 6757a31a8e295ae4f01717a954afda173f25a121; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < e529888b7e8092912dd8789bdfc76685ccd2ff5f; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < ff668930871e0198c7f4e325058b8b7c286787bd; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < 65311aad4c808bedad0c05d9bb8b06c47dae73eb; >= 45bfb2e50471abbbfd83d40d28c986078b0d24ff, < b024d7b56c77191cde544f838debb7f8451cd0d6; Linux 4.1.

Is there a fix for CVE-2025-38563?

Yes. Fixed in Linux 3bd518cc7ea61076bcd725e36ff0e690754977c0, Linux 7b84cb58d1f0aa07656802eae24689566e5f5b1b, Linux 6757a31a8e295ae4f01717a954afda173f25a121, Linux 65311aad4c808bedad0c05d9bb8b06c47dae73eb. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-38563?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors