Add grubby with copy fail mitigations#952
Closed
sjpb wants to merge 1 commit into
Closed
Conversation
Contributor
|
There is also https://github.com/stackhpc/ansible-collection-linux/tree/main/roles/grubcmdline to tweak the cmdline. I found it difficult to use because it removed everything from the cmdline except what was specified, so I had to include default entries in the config. |
Collaborator
Author
|
Replaced by #956, now kernels available. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
grubbyrole to modify kernel command line, with defaults to mitigate CVE-2026-31431 ("Copy Fail") via disabling AF_ALG functions built into the kernel. Role is enabled by default forfatimagebuilds.TODO: decide if we actually need any reboot logic. Not very obvious what right thing is here TBH:
TODO: tidy up dev comments and convert test notes to comments here
TODO: actually build image