Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2025-37957 — kernel

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

Description

KVM: SVM: Forcibly leave SMM mode on SHUTDOWN interception

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

KVM: SVM: Forcibly leave SMM mode on SHUTDOWN interception

Previously, commit ed129ec9057f ("KVM: x86: forcibly leave nested mode

on vCPU reset") addressed an issue where a triple fault occurring in

nested mode could lead to use-after-free scenarios. However, the commit

did not handle the analogous situation for System Management Mode (SMM).

This omission results in triggering a WARN when KVM forces a vCPU INIT

after SHUTDOWN interception while the vCPU is in SMM. This situation was

reprodused using Syzkaller by:

1) Creating a KVM VM and vCPU

2) Sending a KVM_SMI ioctl to explicitly enter SMM

3) Executing invalid instructions causing consecutive exceptions and

eventually a triple fault

The issue manifests as follows:

WARNING: CPU: 0 PID: 25506 at arch/x86/kvm/x86.c:12112

kvm_vcpu_reset+0x1d2/0x1530 arch/x86/kvm/x86.c:12112

Modules linked in:

CPU: 0 PID: 25506 Comm: syz-executor.0 Not tainted

6.1.130-syzkaller-00157-g164fe5dde9b6 #0

Hardware name: QEMU Standard PC (i440FX + PIIX, 1996),

BIOS 1.12.0-1 04/01/2014

RIP: 0010:kvm_vcpu_reset+0x1d2/0x1530 arch/x86/kvm/x86.c:12112

Call Trace:

<TASK>

shutdown_interception+0x66/0xb0 arch/x86/kvm/svm/svm.c:2136

svm_invoke_exit_handler+0x110/0x530 arch/x86/kvm/svm/svm.c:3395

svm_handle_exit+0x424/0x920 arch/x86/kvm/svm/svm.c:3457

vcpu_enter_guest arch/x86/kvm/x86.c:10959 [inline]

vcpu_run+0x2c43/0x5a90 arch/x86/kvm/x86.c:11062

kvm_arch_vcpu_ioctl_run+0x50f/0x1cf0 arch/x86/kvm/x86.c:11283

kvm_vcpu_ioctl+0x570/0xf00 arch/x86/kvm/../../../virt/kvm/kvm_main.c:4122

vfs_ioctl fs/ioctl.c:51 [inline]

__do_sys_ioctl fs/ioctl.c:870 [inline]

__se_sys_ioctl fs/ioctl.c:856 [inline]

__x64_sys_ioctl+0x19a/0x210 fs/ioctl.c:856

do_syscall_x64 arch/x86/entry/common.c:51 [inline]

do_syscall_64+0x35/0x80 arch/x86/entry/common.c:81

entry_SYSCALL_64_after_hwframe+0x6e/0xd8

Architecturally, INIT is blocked when the CPU is in SMM, hence KVM's WARN()

in kvm_vcpu_reset() to guard against KVM bugs, e.g. to detect improper

emulation of INIT. SHUTDOWN on SVM is a weird edge case where KVM needs to

do _something_ sane with the VMCB, since it's technically undefined, and

INIT is the least awful choice given KVM's ABI.

So, double down on stuffing INIT on SHUTDOWN, and force the vCPU out of

SMM to avoid any weirdness (and the WARN).

Found by Linux Verification Center (linuxtesting.org) with Syzkaller.

[sean: massage changelog, make it clear this isn't architectural behavior]

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 high, integrity high, availability high.

Affected software

CVE-2025-37957 is recorded against 2 packages.

  • kernel (from 6.13.0 up to 6.14.7)
  • linux-kernel

Timeline and source

Published on 20 May 2025 and last revised on 12 August 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 (Web)
git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
github.com (Advisory)
nvd.nist.gov (Advisory)
git.kernel.org (Package)

CVE-2025-37957 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.8
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CWE N/A
Public Exploit ✅ No
Source NVD
Published 2025-05-20
Updated 2026-08-20
Modified 2026-08-12

Affected Packages

Software From version Fixed in
kernel 6.13.0 6.14.7
linux-kernel

Similar Threats

Site Security Check

Is kernel part of your stack?

CVE-2025-37957 is rated CVSS 8.8 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.