Skip to content

Update mitigation guidance and tools for CVE-2026-31431#73

Merged
SergeyKanzhelev merged 9 commits intoGoogleCloudPlatform:masterfrom
timberlakeis:add-cve-mitigations
May 1, 2026
Merged

Update mitigation guidance and tools for CVE-2026-31431#73
SergeyKanzhelev merged 9 commits intoGoogleCloudPlatform:masterfrom
timberlakeis:add-cve-mitigations

Conversation

@timberlakeis
Copy link
Copy Markdown
Collaborator

This PR introduces immediate mitigation strategies and deployment instructions for CVE-2026-31431 (Copy Fail), a Linux kernel vulnerability that allows for container escapes and local privilege escalation via the AF_ALG socket family.

It updates two directories with respective mitigation methods:

  1. spo-seccomp-mitigation/: Contains a custom Seccomp profile and binding to be deployed via the Security Profiles Operator (SPO). This profile blocks AF_ALG socket creation at the workload level and is the recommended mitigation for GKE Autopilot clusters or environments where privileged DaemonSets are prohibited.
  2. disable-algif-aead/: Contains a privileged DaemonSet that edits the node's /etc/modprobe.d configuration to blacklist the vulnerable algif_aead module. The README includes important caveats regarding Secure Boot and Spot (Preemptible VM) nodes.

These mitigations are intended to protect clusters while upstream kernel patches are being absorbed and rolled out.

Comment thread disable-algif-aead/README.md Outdated
Comment thread disable-algif-aead/README.md Outdated
Comment thread disable-algif-aead/README.md Outdated
Comment thread disable-algif-aead/README.md Outdated
Comment thread disable-algif-aead/README.md Outdated
@destijl
Copy link
Copy Markdown

destijl commented Apr 30, 2026

You should also add in the initcall_blacklist=algif_aead_init advice here, not just the daemonset.

Comment thread disable-algif-aead/README.md Outdated
@timberlakeis timberlakeis marked this pull request as draft April 30, 2026 23:51
@timberlakeis timberlakeis marked this pull request as ready for review May 1, 2026 00:01
@timberlakeis
Copy link
Copy Markdown
Collaborator Author

Approver please squash-merge.

@SergeyKanzhelev SergeyKanzhelev merged commit e6bfba3 into GoogleCloudPlatform:master May 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants