Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2025-37936 — debian-linux

🟠 CVSS 8.7 — High ✅ No Known Exploit NVD
8.7
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

perf/x86/intel: KVM: Mask PEBS_ENABLE loaded for guest with vCPU's value.

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

perf/x86/intel: KVM: Mask PEBS_ENABLE loaded for guest with vCPU's value.

When generating the MSR_IA32_PEBS_ENABLE value that will be loaded on

VM-Entry to a KVM guest, mask the value with the vCPU's desired PEBS_ENABLE

value. Consulting only the host kernel's host vs. guest masks results in

running the guest with PEBS enabled even when the guest doesn't want to use

PEBS. Because KVM uses perf events to proxy the guest virtual PMU, simply

looking at exclude_host can't differentiate between events created by host

userspace, and events created by KVM on behalf of the guest.

Running the guest with PEBS unexpectedly enabled typically manifests as

crashes due to a near-infinite stream of #PFs. E.g. if the guest hasn't

written MSR_IA32_DS_AREA, the CPU will hit page faults on address '0' when

trying to record PEBS events.

The issue is most easily reproduced by running perf kvm top from before

commit 7b100989b4f6 ("perf evlist: Remove __evlist__add_default") (after

which, perf kvm top effectively stopped using PEBS). The userspace side

of perf creates a guest-only PEBS event, which intel_guest_get_msrs()

misconstrues a guest-*owned* PEBS event.

Arguably, this is a userspace bug, as enabling PEBS on guest-only events

simply cannot work, and userspace can kill VMs in many other ways (there

is no danger to the host). However, even if this is considered to be bad

userspace behavior, there's zero downside to perf/KVM restricting PEBS to

guest-owned events.

Note, commit 854250329c02 ("KVM: x86/pmu: Disable guest PEBS temporarily

in two rare situations") fixed the case where host userspace is profiling

KVM *and* userspace, but missed the case where userspace is profiling only

KVM.

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality low, integrity high, availability high.

Affected software

CVE-2025-37936 is recorded against 3 packages.

  • debian-linux
  • kernel (from 6.13.0 up to 6.14.6)
  • linux-kernel

Timeline and source

Published on 20 May 2025 and last revised on 30 July 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
lists.debian.org

CVE-2025-37936 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity HIGH
CVSS Score 8.7
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H
CWE N/A
Public Exploit ✅ No
Source NVD
Published 2025-05-20
Updated 2026-08-20
Modified 2026-07-30

Affected Packages

Software From version Fixed in
debian-linux
kernel 6.13.0 6.14.6
linux-kernel

Similar Threats

Site Security Check

Is debian-linux part of your stack?

CVE-2025-37936 is rated CVSS 8.7 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.