kernel_samsung_a53x/Documentation/admin-guide/hw-vuln
Kim Phillips 8abcca4816 x86/cpu: Enable STIBP on AMD if Automatic IBRS is enabled
commit fd470a8beed88440b160d690344fbae05a0b9b1b upstream.

Unlike Intel's Enhanced IBRS feature, AMD's Automatic IBRS does not
provide protection to processes running at CPL3/user mode, see section
"Extended Feature Enable Register (EFER)" in the APM v2 at
https://bugzilla.kernel.org/attachment.cgi?id=304652

Explicitly enable STIBP to protect against cross-thread CPL3
branch target injections on systems with Automatic IBRS enabled.

Also update the relevant documentation.

Fixes: e7862eda309e ("x86/cpu: Support AMD Automatic IBRS")
Reported-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Kim Phillips <kim.phillips@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230720194727.67022-1-kim.phillips@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-19 09:22:43 +01:00
..
gather_data_sampling.rst Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
index.rst Documentation/hw-vuln: Add documentation for RFDS 2024-11-19 09:22:40 +01:00
l1tf.rst Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mds.rst Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
multihit.rst Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
processor_mmio_stale_data.rst Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
reg-file-data-sampling.rst Documentation/hw-vuln: Add documentation for RFDS 2024-11-19 09:22:40 +01:00
special-register-buffer-data-sampling.rst Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectre.rst x86/cpu: Enable STIBP on AMD if Automatic IBRS is enabled 2024-11-19 09:22:43 +01:00
srso.rst Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tsx_async_abort.rst Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00