CVE-2025-38563

Updated: 2026-02-27 03:44:04.756167

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.


Links NIST CIRCL RHEL Ubuntu

Severity

Severity Score
CVSS Version 2.x 0.0
CVSS Version 3.x HIGH 7.8

Status

OS name Project name Version Score Severity Status Errata Last updated

Statement

AlmaLinux 9.2 ESU kernel 5.14.0 7.8 HIGH In Progress 2026-02-17 16:29:02
CentOS 8.4 ELS kernel 4.18.0 7.8 HIGH In Testing 2026-02-21 12:59:28
CentOS 8.5 ELS kernel 4.18.0 7.8 HIGH In Testing 2026-02-19 12:14:40
CentOS Stream 8 ELS kernel 4.18.0 7.8 HIGH Needs Triage 2026-02-06 08:08:29
Oracle Linux 7 ELS kernel 3.10.0 7.8 HIGH Not Vulnerable 2026-02-21 21:17:31 Not affected: this CVE targets a bug in perf’s mmap handling where splitting VMAs of perf ring/AUX...
Oracle Linux 7 ELS kernel-uek 5.4.17 7.8 HIGH Already Fixed 2026-02-06 09:09:44 Not affected: this CVE targets a bug in perf’s mmap handling where splitting VMAs of perf ring/AUX...
TuxCare 9.6 ESU kernel 5.14.0 7.8 HIGH Needs Triage 2026-02-06 08:08:25
Ubuntu 16.04 ELS linux-hwe 4.15.0 7.8 HIGH Needs Triage 2026-02-04 08:58:48
Ubuntu 16.04 ELS linux 4.4.0 7.8 HIGH Needs Triage 2026-02-04 09:22:03
Ubuntu 18.04 ELS linux 4.15.0 7.8 HIGH Needs Triage 2026-02-04 09:21:58
Total: 11