Skip to content
ATO Pathways
Log In
Overview
Search
Catalogs
SCAP
OSCAL
Catalogs
Profiles
Documents
References
Knowledge Base
Platform Documentation
Compliance Dictionary
Platform Changelog
About
Catalogs
XCCDF
Guide to the Secure Configuration of Oracle Linux 8
System Settings
Kernel Configuration
Avoid speculative indirect branches in kernel
Avoid speculative indirect branches in kernel
An XCCDF Rule
Details
Profiles
Prose
Avoid speculative indirect branches in kernel
Medium Severity
Compile kernel with the retpoline compiler options to guard against kernel-to-user data leaks by avoiding speculative indirect branches. Requires a compiler with -mindirect-branch=thunk-extern support for full protection. The kernel may run slower. The configuration that was used to build kernel is available at
/boot/config-*
. To check the configuration value for
CONFIG_RETPOLINE
, run the following command:
grep CONFIG_RETPOLINE /boot/config-*
For each kernel installed, a line with value "y" should be returned.