Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1545304

Summary: Require kickstart config option for certain security mitigations
Product: Red Hat Enterprise Linux 7 Reporter: Radek Vykydal <rvykydal>
Component: doc-Installation_GuideAssignee: Petr Bokoc <pbokoc>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Stodola <jstodola>
Severity: unspecified Docs Contact:
Priority: high    
Version: 7.5CC: bhsharma, dyoung, jbastian, jcm, jkurik, jstodola, mkolman, release-test-team-automation, rhel-docs, ruyang, rvykydal, salmy, sbueno, wsato
Target Milestone: rcKeywords: Documentation
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Feature: Add a spoke to the Anaconda GUI and TUI, which makes it possible to disable some security mitigations (currently KPI, IBRS, IBPB). Reason: Some of these mitigations have a noticeable performance impact and there could be situations where they might not be needed. In such case the user should have an easy way to turn the mitigations off via UI. Result: A new spoke, called "Kernel & performance" has been added to the Anaconda GUI and TUI. The spoke presents options to turn KPI, IBRS and IBPB off. All options are ON by default (unless specififed otherwise via bootloader --append in kickstart).
Story Points: ---
Clone Of: 1534833 Environment:
Last Closed: 2018-04-11 12:22:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1534833, 1546267    
Bug Blocks: 1470091    

Comment 4 Petr Bokoc 2018-03-02 16:08:03 UTC
Alright, I added the following bit to the description of "bootloader --append=" in the list of KS commands and options:

>Among other things, this option is useful for disabling mechanisms which were implemented to mitigate the Meltdown and Spectre speculative execution vulnerabilities found in most modern processors. In some cases, these mechanisms may be unnecessary, and keeping them enabled would mean needlessly decreased performance. To disable these mechanisms, add their options into your Kickstart file - for example, bootloader --append="nopti noibrs noibpb" on AMD64/Intel 64 systems.
>
>=====
>Warning
>Before disabling any of the vulnerability mitigation mechanisms, make sure your system is not at risk of attack. See the [Red Hat vulnerability response article] for information about the Meltdown and Spectre vulnerabilities. 
>=====

I didn't include a full list of available options among architectures, and I didn't go into detail about what each option does. We should cover that in another document, either the Security Guide or the Performance Tuning Guide; I'm in contact with their owners. Once we have the list published somewhere, I'll add a link from the updated section in the install guide.

Comment 6 Petr Bokoc 2018-03-02 16:39:25 UTC
Verified by peer and SME on IRC.

Comment 7 Petr Bokoc 2018-04-11 12:22:43 UTC
Released with RHEL 7.5 GA documentation.