diff options
author | Kim Phillips <kim.phillips@amd.com> | 2022-02-28 11:23:15 -0600 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-02-28 18:37:08 +0100 |
commit | 244d00b5dd4755f8df892c86cab35fb2cfd4f14b (patch) | |
tree | 72eb087e1e58cc99734ce51e1fb022717eb3a129 /kernel/uid16.h | |
parent | 44a3918c8245ab10c6c9719dd12e7a8d291980d8 (diff) | |
download | linux-244d00b5dd4755f8df892c86cab35fb2cfd4f14b.tar.bz2 |
x86/speculation: Use generic retpoline by default on AMD
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>
Diffstat (limited to 'kernel/uid16.h')
0 files changed, 0 insertions, 0 deletions