freebsd-nq/sys
Neel Natu a5045426db Fix a race in pmap_emulate_accessed_dirty() that could trigger a EPT
misconfiguration VM-exit.

An EPT misconfiguration is triggered when the processor encounters a PTE
that is writable but not readable (WR=10). On processors that require A/D
bit emulation PG_M and PG_A map to EPT_PG_WRITE and EPT_PG_READ respectively.

If the PTE is updated as in the following code snippet:
	*pte |= PG_M;
	*pte |= PG_A;
then it is possible for another processor to observe the PTE after the PG_M
(aka EPT_PG_WRITE) bit is set but before PG_A (aka EPT_PG_READ) bit is set.

This will trigger an EPT misconfiguration VM-exit on the other processor.

Reported by:	rodrigc
Reviewed by:	grehan
MFC after:	3 days
2014-10-21 01:06:58 +00:00
..
amd64 Fix a race in pmap_emulate_accessed_dirty() that could trigger a EPT 2014-10-21 01:06:58 +00:00
arm Attach the imx6 CCM driver during BUS_PASS_CPU. It controls the clocks 2014-10-20 23:34:47 +00:00
boot Fully support constructors for the purpose of code coverage analysis. 2014-10-20 17:04:03 +00:00
bsm
cam Add new quirks for the latest Samsung SSD, model 850. 2014-10-19 16:46:36 +00:00
cddl Add tunable vfs.zfs.space_map_blksz for space map's maximum block size. 2014-10-18 22:11:10 +00:00
compat Update the ULE scheduler + thread and kinfo structs to use int for cpuid 2014-10-18 19:36:11 +00:00
conf Add vxlan interface 2014-10-20 14:42:42 +00:00
contrib Update the OFED Linux compatibility layer and 2014-10-15 13:40:29 +00:00
crypto Put the aesni_cipher_setup() and aesni_cipher_process() functions into 2014-06-24 06:55:49 +00:00
ddb ddb: ANSI-fy function declarations. 2014-10-12 18:01:52 +00:00
dev vt(4): Refuse to load a font if hw.vga.textmode is selected 2014-10-20 14:25:23 +00:00
fs Provide vfs suspension support only for filesystems which need it, take 2014-10-20 18:00:50 +00:00
gdb Add support for gdb's memory searching capabilities to our in-kernel gdb 2014-09-05 16:40:47 +00:00
geom Add provider's sectorsize and stripesize to confdot output. 2014-10-17 06:58:04 +00:00
gnu reiserfs: Use signed i_nlink 2014-09-25 19:10:32 +00:00
i386 Follow up to r225617. In order to maximize the re-usability of kernel code 2014-10-16 18:04:43 +00:00
isa
kern Plug unnecessary binvp NULL initialization and test. 2014-10-20 22:52:15 +00:00
kgssapi
libkern Add a complete implementation of MurmurHash3. Tweak both implementations 2014-10-18 22:15:11 +00:00
mips Convert remaining {g,s}etenv->kern_{g,s}etenv 2014-10-17 17:34:05 +00:00
modules Add vxlan interface 2014-10-20 14:42:42 +00:00
net Add vxlan interface 2014-10-20 14:42:42 +00:00
net80211 Mechanically convert to if_inc_counter(). 2014-09-19 09:20:55 +00:00
netgraph Bump ipfw module version. 2014-10-09 16:12:01 +00:00
netinet Fix the reported streams in a SCTP_STREAM_RESET_EVENT, if a 2014-10-16 15:36:04 +00:00
netinet6 Overhaul if_gif(4): 2014-10-14 13:31:47 +00:00
netipsec Do not strip outer header when operating in transport mode. 2014-10-02 02:00:21 +00:00
netnatm
netpfil Use copyout() directly instead of updating various fields 2014-10-20 11:21:07 +00:00
netsmb
nfs Follow up to r225617. In order to maximize the re-usability of kernel code 2014-10-16 18:04:43 +00:00
nfsclient Follow up to r225617. In order to maximize the re-usability of kernel code 2014-10-16 18:04:43 +00:00
nfsserver Change NFS readdir() to only ignore cookies preceding the given offset for 2014-07-01 20:00:35 +00:00
nlm
ofed Update the OFED Linux compatibility layer and 2014-10-15 13:40:29 +00:00
opencrypto Fix build for kernels without COMPAT_FREEBSD32. 2014-09-22 17:32:27 +00:00
pc98 Merge pc98's machdep.c into i386/i386/machdep.c. 2014-10-04 06:01:30 +00:00
powerpc Follow up to r225617. In order to maximize the re-usability of kernel code 2014-10-16 18:04:43 +00:00
rpc Merge the NFSv4.1 server code in projects/nfsv4.1-server over 2014-07-01 20:47:16 +00:00
security Replace dev_clone with cdevpriv(9) KPI in audit_pipe code. 2014-08-20 16:04:30 +00:00
sparc64 Follow up to r225617. In order to maximize the re-usability of kernel code 2014-10-16 18:04:43 +00:00
sys Merge from projects/bhyve_svm all the changes outside vmm.ko or bhyve utilities: 2014-10-20 18:09:33 +00:00
teken
tools Allow the make_dtb script to work outside of a "make buildkernel" context 2014-08-30 22:39:15 +00:00
ufs Provide vfs suspension support only for filesystems which need it, take 2014-10-20 18:00:50 +00:00
vm Retire the unimplemented MAP_RENAME and MAP_NORESERVE flags to mmap(2). 2014-10-18 12:28:51 +00:00
x86 Merge from projects/bhyve_svm all the changes outside vmm.ko or bhyve utilities: 2014-10-20 18:09:33 +00:00
xdr
xen xen: convert the xenstore user-space char device to a newbus device 2014-09-30 17:31:04 +00:00
Makefile Remove "pci" from CSCOPEDIRS. 2014-09-23 06:32:19 +00:00