-
Notifications
You must be signed in to change notification settings - Fork 43
Update mitigation guidance and tools for CVE-2026-31431 #73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
SergeyKanzhelev
merged 9 commits into
GoogleCloudPlatform:master
from
timberlakeis:add-cve-mitigations
May 1, 2026
Merged
Changes from 5 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
066e5c4
Update README.md
timberlakeis 098f2b8
Update README.md
timberlakeis f40c7cd
Create README.md
timberlakeis 7038246
merge patch-2 and resolve conflict
timberlakeis 9bf071c
Update mitigation guidance for CVE-2026-31431
timberlakeis 22be35f
Update README.md
timberlakeis 4a6b962
Update README.md
timberlakeis 2770bf8
Update README.md
timberlakeis 379c0fd
Rework README.md for clarity
timberlakeis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| # DaemonSet Mitigation for CVE-2026-31431 (Copy Fail) | ||
|
|
||
| This directory contains a privileged DaemonSet mitigation for CVE-2026-31431. It edits the node's `/etc/modprobe.d` configuration to blacklist the vulnerable `algif_aead` module and sets the `initcall_blacklist=algif_aead_init` kernel parameter. | ||
|
|
||
| ### ⚠️ Known Limitations & Caveats | ||
| Please be aware of the following issues before deploying this DaemonSet: | ||
| * **Secure Boot:** This mitigation does not work if Secure Boot is enabled. The DaemonSet will enter an `Init:CrashLoopBackOff` state because Secure Boot prevents changes to the kernel command line boot options. | ||
|
timberlakeis marked this conversation as resolved.
Outdated
|
||
| * **Spot Nodes:** This mitigation is currently failing on Spot (Preemptible VM) nodes due to cgroup configuration errors during container initialization. | ||
|
timberlakeis marked this conversation as resolved.
Outdated
|
||
| * **Node Reboots:** Applying this DaemonSet will immediately reboot the affected nodes. | ||
|
|
||
| ## Deployment Instructions | ||
|
|
||
| **1. Label your target nodes:** | ||
| To control the rollout, label your target nodes first: | ||
| ```bash | ||
| kubectl label nodes <node-name> cloud.google.com/gke-algif-aead-disabled=true | ||
| ``` | ||
|
|
||
| **2. Apply the DaemonSet:** | ||
| ```bash | ||
| kubectl apply -f daemonset.yaml | ||
|
timberlakeis marked this conversation as resolved.
Outdated
|
||
| ``` | ||
|
|
||
| --- | ||
|
|
||
| Note: We do not recommend relying on containers as a strict security boundary. For stronger isolation, consider using GKE Sandbox. | ||
|
timberlakeis marked this conversation as resolved.
Outdated
|
||
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
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.
Uh oh!
There was an error while loading. Please reload this page.