lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 11 May 2020 17:28:13 -0700
From:   Sean Christopherson <>
        Greg Kroah-Hartman <>,
        Ben Hutchings <>,
        Sasha Levin <>
Cc:     Paolo Bonzini <>,,
        Tobias Urdin <>
Subject: [PATCH 4.19 STABLE v2 0/2] KVM: VMX: Fix null pointer dereference

A simple fix for a null pointer dereference in vmx_vcpu_run() with an
ugly-but-safe prereq patch.

The even uglier ASM_CALL_CONSTRAINT is gone in v2 as I finally figured
out why vmx_return was undefined: GCC dropped the entire asm blob because
all outputs were deemed unused.

  - Document why there is no exact upstream commit for the fix, with
    --verbose. [Greg]
  - Tag the asm blob as volatile and drop the ASM_CALL_CONSTRAINT hack.

Sean Christopherson (2):
  KVM: VMX: Explicitly reference RCX as the vmx_vcpu pointer in asm
  KVM: VMX: Mark RCX, RDX and RSI as clobbered in vmx_vcpu_run()'s asm

 arch/x86/kvm/vmx.c | 91 +++++++++++++++++++++++++---------------------
 1 file changed, 50 insertions(+), 41 deletions(-)


Powered by blists - more mailing lists