diff options
author | 2019-08-07 18:53:28 +0000 | |
---|---|---|
committer | 2019-08-07 18:53:28 +0000 | |
commit | 5c3fa5a3cf0f4823ae1dce174ce77d5435e353bc (patch) | |
tree | 6a72cb8e836ea8768152bfadc33924bf4e383095 /sys/dev/softraid.c | |
parent | Add codepatch_jmp(), like codepath_call() but inserting a jmp instead of a call. (diff) | |
download | wireguard-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