CVE-2026-31528
kernel: perf: Make sure to use pmu_ctx->pmu for groups
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · April 22, 2026
Updated · July 3, 2026
Description
A flaw was found in the Linux kernel's performance monitoring unit (PMU) subsystem. This vulnerability occurs when handling performance event groups, specifically during the rollback of group_sched_in() operations. An issue with how inherited contexts use event pointers can lead to an out-of-bounds memory access. This could allow a local attacker to cause a denial of service or potentially escalate privileges.
Statement
Upstream ensures inherited and grouped perf events consistently use pmu_ctx->pmu, preventing rollback paths from touching the wrong PMU's transaction state when the group leader is software-defined. Red Hat recommends patched kernels for perf-heavy workloads. Unloading kvm_intel/kvm_amd is unrelated; perf is core.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-787 · Out-of-bounds Write