diff options
author | Kim Phillips <kim.phillips@amd.com> | 2022-02-28 20:23:15 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-03-11 14:22:32 +0300 |
commit | a56566d7a957c34811384d6300a53a97be94cd20 (patch) | |
tree | f8892c48d1dc2cc08d78fb44862cc85d04a4054a /Documentation | |
parent | 316e4a16524a2d2ce321f57c1abe4df9ef90f950 (diff) | |
download | linux-a56566d7a957c34811384d6300a53a97be94cd20.tar.xz |
x86/speculation: Use generic retpoline by default on AMD
commit 244d00b5dd4755f8df892c86cab35fb2cfd4f14b upstream.
AMD retpoline may be susceptible to speculation. The speculation
execution window for an incorrect indirect branch prediction using
LFENCE/JMP sequence may potentially be large enough to allow
exploitation using Spectre V2.
By default, don't use retpoline,lfence on AMD. Instead, use the
generic retpoline.
Signed-off-by: Kim Phillips <kim.phillips@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions