summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2019-08-07 18:53:28 +0000
committerguenther <guenther@openbsd.org>2019-08-07 18:53:28 +0000
commit5c3fa5a3cf0f4823ae1dce174ce77d5435e353bc (patch)
tree6a72cb8e836ea8768152bfadc33924bf4e383095 /sys/dev/softraid.c
parentAdd codepatch_jmp(), like codepath_call() but inserting a jmp instead of a call. (diff)
downloadwireguard-openbsd-5c3fa5a3cf0f4823ae1dce174ce77d5435e353bc.tar.xz
wireguard-openbsd-5c3fa5a3cf0f4823ae1dce174ce77d5435e353bc.zip
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@
Diffstat (limited to 'sys/dev/softraid.c')
0 files changed, 0 insertions, 0 deletions