KVM Guest Escape - CVE-2026-99312 - AMD only

AnthonySmithAnthonySmith AdministratorProviderOG

https://www.cve.org/CVERecord?id=CVE-2026-99312

Description

In the Linux kernel, the following vulnerability has been resolved: KVM: x86: Unconditionally reset MMU context when emulating INIT Force an MMU reset when emulating an INIT even if paging was already disabled, as the MMU page role includes guest_mode (L2), i.e. an INIT while L2 is running with CR0.PG=0 will result in KVM running L1 with a stale MMU context. Alternatively, the reset could be scoped strictly to paging being enabled or L2 being active, but SMM is also encoded in the page role. Even though it should be impossible for the vCPU to be INIT'd while SMM is active, there's zero value in not handling SMM. At that point, the only scenario where KVM doesn't need to reset the MMU context is on an INIT with the vCPU running in Real Mode or Unpaged Protect Mode, and while INIT in those modes is somewhat common, it's far from a hot path and re-initializing the MMU is not expensive, especially when the role isn't changing (KVM elides most of the re-configuration in that case). Note, like the Fixes commit, this bug only affects nested SVM as INIT is an unconditional intercept on VMX, i.e. it's impossible to emulate INIT while L2 is active. Temporarily keep the guest TLB flush when CR0.PG is being cleared even though it is fully redundant with the flush that is emitted on all INIT events (KVM itself only does RESET when a vCPU is being created, i.e. when CR0.PG must be '0').

Debian: https://security-tracker.debian.org/tracker/CVE-2026-99312

Waiting for patching, Ubuntu users..... good luck.

TierHive - Hourly VPS - NAT Native - /24 per customer - DE, UK, SG, CA x2, USA x5, FR x3, AU, PL, NL, JP, BR, ZA
FREE tokens on sign up, try before you buy. | Static Hosting Free for life: https://tierhive.com/static-hosting/

Comments

  • @AnthonySmith said:
    https://www.cve.org/CVERecord?id=CVE-2026-99312

    Description

    In the Linux kernel, the following vulnerability has been resolved: KVM: x86: Unconditionally reset MMU context when emulating INIT Force an MMU reset when emulating an INIT even if paging was already disabled, as the MMU page role includes guest_mode (L2), i.e. an INIT while L2 is running with CR0.PG=0 will result in KVM running L1 with a stale MMU context. Alternatively, the reset could be scoped strictly to paging being enabled or L2 being active, but SMM is also encoded in the page role. Even though it should be impossible for the vCPU to be INIT'd while SMM is active, there's zero value in not handling SMM. At that point, the only scenario where KVM doesn't need to reset the MMU context is on an INIT with the vCPU running in Real Mode or Unpaged Protect Mode, and while INIT in those modes is somewhat common, it's far from a hot path and re-initializing the MMU is not expensive, especially when the role isn't changing (KVM elides most of the re-configuration in that case). Note, like the Fixes commit, this bug only affects nested SVM as INIT is an unconditional intercept on VMX, i.e. it's impossible to emulate INIT while L2 is active. Temporarily keep the guest TLB flush when CR0.PG is being cleared even though it is fully redundant with the flush that is emitted on all INIT events (KVM itself only does RESET when a vCPU is being created, i.e. when CR0.PG must be '0').

    Debian: https://security-tracker.debian.org/tracker/CVE-2026-99312

    Waiting for patching, Ubuntu users..... good luck.

    Not again.

  • xxxxxx
    edited November 18
    The following package was automatically installed and is no longer required:
      linux-image-6.12.38+deb13-amd64
    Use 'apt autoremove' to remove it.
    
    Upgrading:
      linux-image-amd64
    
    Installing dependencies:
      linux-image-6.12.117+deb13-amd64
    
    Suggested packages:
      firmware-linux-free  linux-doc-6.12  debian-kernel-handbook
    
    Summary:
      Upgrading: 1, Installing: 1, Removing: 0, Not Upgrading: 8
      Download size: 108 MB
      Space needed: 153 MB / 17.2 GB available
    
    Continue? [Y/n] y
    Get:1 http://security.debian.org/debian-security trixie-security/main amd64 linux-image-6.12.117+deb13-amd64 amd64 6.12.117-1 [108 MB]
    Get:2 http://security.debian.org/debian-security trixie-security/main amd64 linux-image-amd64 amd64 6.12.117-1 [1,476 B]
    Fetched 108 MB in 1s (99.0 MB/s)
    Selecting previously unselected package linux-image-6.12.117+deb13-amd64.
    (Reading database ... 46277 files and directories currently installed.)
    Preparing to unpack .../linux-image-6.12.117+deb13-amd64_6.12.117-1_amd64.deb ...
    Unpacking linux-image-6.12.117+deb13-amd64 (6.12.117-1) ...
    Preparing to unpack .../linux-image-amd64_6.12.117-1_amd64.deb ...
    Unpacking linux-image-amd64 (6.12.117-1) over (6.12.116-1) ...
    Setting up linux-image-6.12.117+deb13-amd64 (6.12.117-1) ...
    I: /vmlinuz.old is now a symlink to boot/vmlinuz-6.12.116+deb13-amd64
    I: /initrd.img.old is now a symlink to boot/initrd.img-6.12.116+deb13-amd64
    I: /vmlinuz is now a symlink to boot/vmlinuz-6.12.117+deb13-amd64
    I: /initrd.img is now a symlink to boot/initrd.img-6.12.117+deb13-amd64
    /etc/kernel/postinst.d/initramfs-tools:
    update-initramfs: Generating /boot/initrd.img-6.12.117+deb13-amd64
    /etc/kernel/postinst.d/zz-update-grub:
    Generating grub configuration file ...
    Found linux image: /boot/vmlinuz-6.12.117+deb13-amd64
    Found initrd image: /boot/initrd.img-6.12.117+deb13-amd64
    Found linux image: /boot/vmlinuz-6.12.116+deb13-amd64
    Found initrd image: /boot/initrd.img-6.12.116+deb13-amd64
    Found linux image: /boot/vmlinuz-6.12.113+deb13-amd64
    Found initrd image: /boot/initrd.img-6.12.113+deb13-amd64
    Found linux image: /boot/vmlinuz-6.12.38+deb13-amd64
    Found initrd image: /boot/initrd.img-6.12.38+deb13-amd64
    Warning: os-prober will not be executed to detect other bootable partitions.
    Systems on them will not be added to the GRUB boot configuration.
    Check GRUB_DISABLE_OS_PROBER documentation entry.
    Adding boot menu entry for UEFI Firmware Settings ...
    done
    Setting up linux-image-amd64 (6.12.117-1) ...
    
    apt update
    apt install --only-upgrade linux-image-amd64
    reboot
    

    There have been many updates recently.

    It looks like my current kernel version hasn't been patched yet.

  • AnthonySmithAnthonySmith AdministratorProviderOG

    Just check the Debian link when it changes it will be available

    TierHive - Hourly VPS - NAT Native - /24 per customer - DE, UK, SG, CA x2, USA x5, FR x3, AU, PL, NL, JP, BR, ZA
    FREE tokens on sign up, try before you buy. | Static Hosting Free for life: https://tierhive.com/static-hosting/

Sign In or Register to comment.