KernelScan.io

HIGH Introduced in 4.16

kvm SVM MSRBitmap Bypass

CVE-2026-98716

CVSS 7.0 / 10.0 KernelScan AI

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

01

In the Linux kernel, the following vulnerability has been resolved: KVM: SVM: Use the active VMCB's MSR bitmap when checking if MSR is intercepted Use the MSR permission bitmap of the active VMCB instead of assuming that KVM is always using vmcb02's bitmap when L2 is active, as KVM uses msrpm02 if and only if L1 wants to intercept MSR accesses, i.e. if and only if KVM needs to merge msprm01 with msrpm12. Don't bother tracking the virtual address of the bitmap that's being used, as __va() is cheap on x86, and caching the virtual address would introduce yet another source of potentially stale information.

02

Engine v0.9.0

Risk summary

A malicious nested guest (L2) on AMD SVM can bypass MSR interception controls when the L1 guest does not intercept MSRs, potentially allowing unauthorized modification of critical model-specific registers such as SPEC_CTRL. This affects systems running KVM with nested virtualization on AMD hardware and could lead to host kernel compromise or security control bypass.

Affectedarch/x86/kvm/svm/svm.c (KVM SVM)

Vulnerability analysis

In AMD's nested virtualization support, KVM incorrectly assumed it should always check the L02 MSR permission bitmap (msrpm02) when an L2 guest accesses an MSR. In reality, KVM only uses the merged msrpm02 bitmap when the L1 guest requests MSR interception; otherwise the hardware uses the L1 bitmap directly. By checking the wrong bitmap, KVM could fail to intercept MSR writes that L1 intended to trap, allowing L2 to modify sensitive registers like SPEC_CTRL without hypervisor involvement. The fix makes KVM consult the active VMCB's MSR bitmap pointer, which always reflects the bitmap the hardware will actually use, eliminating the incorrect assumption.

03

BranchIntroducedFixed inPatch commit
3.163.16.573.17001c78bc6438
4.44.4.1684.5552a110c403f
5.104.165.10.2730e79ebf6f92a
5.154.165.15.22484da7a0e9220
6.14.166.1.19174836ae4785b
6.124.166.12.11355865b3ae037
6.184.166.18.569e06bbb9ade7
6.64.166.6.160318ef696fa3c
7.24.167.2.10—
mainline4.167.3—
cip/6.124.166.12.114-cip3474836ae4785b

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.114-cip34
cip/6.1Affected — no CIP fix yet (latest 6.1.190-cip62)
cip/6.1-rtAffected — no CIP fix yet (latest 6.1.189-cip61-rt32)
cip/5.10Affected — no CIP fix yet (latest 5.10.272-cip79)
cip/5.10-rtAffected — no CIP fix yet (latest 5.10.272-cip79-rt35)
cip/4.19Affected — no CIP fix yet (latest 4.19.325-cip137)
cip/4.19-rtAffected — no CIP fix yet (latest 4.19.325-cip137-rt51)
cip/4.4Affected — no CIP fix yet (latest 4.4.302-cip116)
cip/4.4-rtAffected — no CIP fix yet (latest 4.4.302-cip115-rt63)