CVSROOT: /cvs Module name: src Changes by: guent...@cvs.openbsd.org 2019/08/07 12:53:28
Modified files: sys/arch/amd64/amd64: cpu.c locore.S vector.S sys/arch/amd64/include: codepatch.h frameasm.h Log message: Mitigate CVE-2019-1125: block speculation past conditional jump to mis-skip or mis-take swapgs in interrupt path and in trap/fault/exception path. The latter is improved to have no conditionals around this when Meltdown mitigation is in effect. Codepatch out the fences based on the description of CPU bugs in the (well written) Linux commit message. feedback from kettenis@ ok deraadt@