PT-2025-22197 · Kvm+8 · Kvm+8

Published

2025-04-30

·

Updated

2026-04-20

·

CVE-2025-37936

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to the version containing the fix for the issue described, as the specific fixed version is not mentioned.
Description The issue arises when generating the MSR IA32 PEBS ENABLE value for a KVM guest, where the host kernel's masks are consulted without considering the guest's desired PEBS ENABLE value. This can lead to the guest running with PEBS enabled even when it does not intend to use PEBS, resulting in crashes due to a high volume of page faults. The problem is most easily reproduced by running perf kvm top from before a specific commit. The userspace side of perf creates a guest-only PEBS event, which is misconstrued by intel guest get msrs(). Although this could be considered a userspace bug, restricting PEBS to guest-owned events in perf/KVM has no downside.
Recommendations As a temporary workaround, consider disabling the use of PEBS for guest-only events until a patch is available. Restrict access to the perf kvm top command to minimize the risk of exploitation. Avoid using PEBS events in the affected KVM guests until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

NULL Pointer Dereference

Weakness Enumeration

Related Identifiers

BDU:2025-12130
CVE-2025-37936
DLA-4271-1
DSA-5925-1
ECHO-D363-33AE-EA23
MGASA-2025-0182
MGASA-2025-0183
OESA-2025-1572
OESA-2025-1573
SUSE-SU-2025:02249-1
SUSE-SU-2025:02254-1
SUSE-SU-2025:02307-1
SUSE-SU-2025:02333-1
SUSE-SU-2025:02335-1
SUSE-SU-2025:02538-1
SUSE-SU-2025:02923-1
SUSE-SU-2025:20413-1
SUSE-SU-2025:20421-1
SUSE-SU-2025_02249-1
SUSE-SU-2025_02254-1
SUSE-SU-2025_02307-1
SUSE-SU-2025_02333-1
SUSE-SU-2025_02335-1
SUSE-SU-2025_02538-1
USN-7649-1
USN-7649-2
USN-7650-1
USN-7665-1
USN-7665-2
USN-7721-1
USN-8028-1
USN-8028-2
USN-8028-3
USN-8028-4
USN-8028-5
USN-8028-6
USN-8028-7
USN-8028-8
USN-8031-1
USN-8031-2
USN-8031-3
USN-8052-1
USN-8052-2
USN-8074-1
USN-8074-2
USN-8126-1

Affected Products

Astra Linux
Debian
Kvm
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu
Perf