lists.openwall.net   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  linux-cve-announce  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:	Thu,  7 May 2015 16:20:14 +0800
From:	Xiao Guangrong <guangrong.xiao@...ux.intel.com>
To:	pbonzini@...hat.com
Cc:	gleb@...nel.org, mtosatti@...hat.com, kvm@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Xiao Guangrong <guangrong.xiao@...ux.intel.com>
Subject: [PATCH 0/3] KVM: MMU: fix SMAP virtualization

There are some bugs in current code:
- the PFEC.RSVD is not always true and KVM reuses this bit to cache
  CPL and flags.AC bit

- the shadow page will be resued for SMAP enabled and SMAP disabled,
  however, user page will be turned to kernel page under some cases
  so that SMAP check is missed on that entry

This patchset fixes these bugs and a test case will be posted out soon

Xiao Guangrong (3):
  KVM: MMU: fix smap permission check
  KVM: MMU: fix SMAP virtualization
  KVM: MMU: document smap_andnot_wp

 Documentation/virtual/kvm/mmu.txt | 18 ++++++++++++++----
 arch/x86/include/asm/kvm_host.h   |  1 +
 arch/x86/kvm/mmu.c                |  7 +++++--
 arch/x86/kvm/mmu.h                |  4 ++--
 arch/x86/kvm/paging_tmpl.h        |  7 +++++++
 arch/x86/kvm/x86.c                |  8 +++-----
 6 files changed, 32 insertions(+), 13 deletions(-)

-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ