Skip to content
Heist/ feed
High

KVM: SVM: Forcibly leave SMM mode on SHUTDOWN interception

Type: advisorySource: Official CVE List1 source record

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: 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/x8

Announced Group revision 1
Original source ↗

CVE-2025-37957

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2025-37957

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "ed129ec9057f89d615ba0c81a4984a90345a1684",
        "lessThan": "ec24e62a1dd3540ee696314422040180040c1e4a",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "ed129ec9057f89d615ba0c81a4984a90345a1684",
        "lessThan": "d362b21fefcef7eda8f1cd78a5925735d2b3287c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "ed129ec9057f89d615ba0c81a4984a90345a1684",
        "lessThan": "e9b28bc65fd3a56755ba503258024608292b4ab1",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "ed129ec9057f89d615ba0c81a4984a90345a1684",
        "lessThan": "a2620f8932fa9fdabc3d78ed6efb004ca409019f",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6425c590d0cc6914658a630a40b7f8226aa028c3",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d40ef0a511676bd65ca9acb295430c07af59ab85",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5.15.81",
        "lessThan": "5.16",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "6.0.11",
        "lessThan": "6.1",
        "versionType": "semver"
      }
    ],
    "programFiles": [
      "arch/x86/kvm/smm.c",
      "arch/x86/kvm/svm/svm.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.1"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.1",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.92",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.29",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.14.7",
        "versionType": "semver",
        "lessThanOrEqual": "6.14.*"
      },
      {
        "status": "unaffected",
        "version": "6.15",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "arch/x86/kvm/smm.c",
      "arch/x86/kvm/svm/svm.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2025-37957

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#30500 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement