CVE-2025-37936

5.5 MEDIUM

📋 TL;DR

A Linux kernel vulnerability in KVM's handling of PEBS (Precise Event Based Sampling) performance monitoring allows a guest VM to crash when PEBS is unexpectedly enabled. This occurs when the kernel incorrectly enables PEBS for guest-only events, causing page faults. Affects Linux systems running KVM virtualization with Intel CPUs.

💻 Affected Systems

Products:
  • Linux kernel
Versions: Specific affected versions not explicitly stated in CVE, but references indicate stable kernel patches from 160153cf9e4a to 86aa62895fc2
Operating Systems: Linux distributions using affected kernel versions with KVM and Intel CPUs
Default Config Vulnerable: ✅ No
Notes: Requires KVM virtualization with Intel CPUs and use of PEBS performance monitoring. Not vulnerable on AMD systems or without KVM.

📦 What is this software?

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

⚠️ Risk & Real-World Impact

🔴

Worst Case

Guest VM crashes due to infinite page faults, causing denial of service to virtualized workloads.

🟠

Likely Case

Guest VM instability or crashes when using performance monitoring tools like 'perf kvm top' with older versions.

🟢

If Mitigated

No impact if PEBS is not used in guest VMs or if proper patching is applied.

🌐 Internet-Facing: LOW - Requires local access to the host system and KVM guest configuration.
🏢 Internal Only: MEDIUM - Can affect internal virtualization infrastructure and cause VM downtime.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: NO
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM - Requires access to configure guest VMs and trigger PEBS events

Exploitation requires local access to the host system and ability to configure guest VM performance monitoring. Primarily a denial of service issue.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Kernel versions with commits 160153cf9e4aa875ad086cc094ce34aac8e13d63 through 86aa62895fc2fb7ab09d7ca40fae8ad09841f66b

Vendor Advisory: https://git.kernel.org/stable/c/160153cf9e4aa875ad086cc094ce34aac8e13d63

Restart Required: Yes

Instructions:

1. Update Linux kernel to patched version. 2. Check distribution-specific security advisories. 3. Reboot system after kernel update.

🔧 Temporary Workarounds

Disable PEBS in guest VMs

linux

Prevent guest VMs from using PEBS performance monitoring

echo 0 > /sys/module/kvm_intel/parameters/enable_pebs

Avoid perf kvm commands

linux

Do not use 'perf kvm' commands that trigger PEBS events in guests

🧯 If You Can't Patch

  • Disable PEBS entirely on KVM hosts by setting kernel parameter 'enable_pebs=0'
  • Monitor guest VM stability and avoid performance monitoring tools that use PEBS

🔍 How to Verify

Check if Vulnerable:

Check if running affected kernel version and if KVM with Intel CPU is enabled: 'uname -r' and 'lsmod | grep kvm'

Check Version:

uname -r

Verify Fix Applied:

Verify kernel version includes fix commits: 'uname -r' and check kernel changelog for PEBS fixes

📡 Detection & Monitoring

Log Indicators:

  • Guest VM crashes with page fault errors
  • Kernel logs showing PEBS-related errors
  • Performance monitoring tool failures

Network Indicators:

  • None - local system issue only

SIEM Query:

Search for: 'page fault' AND 'PEBS' OR 'kvm' AND 'crash' in system logs

🔗 References

📤 Share & Export