$ modprobe -r algif_aead 2>/dev/null || true
echo "-weight: 500;">install algif_aead /bin/false" > /etc/modprobe.d/-weight: 500;">disable-algif-aead.conf
modprobe -r algif_aead 2>/dev/null || true
echo "-weight: 500;">install algif_aead /bin/false" > /etc/modprobe.d/-weight: 500;">disable-algif-aead.conf
modprobe -r algif_aead 2>/dev/null || true
echo "-weight: 500;">install algif_aead /bin/false" > /etc/modprobe.d/-weight: 500;">disable-algif-aead.conf
helm -weight: 500;">upgrade ---weight: 500;">install cve-2026-31431-mitigation \ https://github.com/csepulveda/kernel-mitigations/archive/refs/heads/main.tar.gz \ --namespace kube-system
helm -weight: 500;">upgrade ---weight: 500;">install cve-2026-31431-mitigation \ https://github.com/csepulveda/kernel-mitigations/archive/refs/heads/main.tar.gz \ --namespace kube-system
helm -weight: 500;">upgrade ---weight: 500;">install cve-2026-31431-mitigation \ https://github.com/csepulveda/kernel-mitigations/archive/refs/heads/main.tar.gz \ --namespace kube-system
-weight: 500;">kubectl get pods -n kube-system -l app=cve-2026-31431-mitigation -o wide
-weight: 500;">kubectl logs -n kube-system <pod-name> -c mitigate
-weight: 500;">kubectl get pods -n kube-system -l app=cve-2026-31431-mitigation -o wide
-weight: 500;">kubectl logs -n kube-system <pod-name> -c mitigate
-weight: 500;">kubectl get pods -n kube-system -l app=cve-2026-31431-mitigation -o wide
-weight: 500;">kubectl logs -n kube-system <pod-name> -c mitigate
[mitigation] node=ip-x.x.x.x OS=Amazon Linux — proceeding
[mitigation] algif_aead is not loaded on node=ip-x.x.x.x
[mitigation] blacklist written: /host-modprobe-d/-weight: 500;">disable-algif-aead.conf on node=ip-x.x.x.x
[mitigation] done on node=ip-x.x.x.x
[mitigation] node=ip-x.x.x.x OS=Amazon Linux — proceeding
[mitigation] algif_aead is not loaded on node=ip-x.x.x.x
[mitigation] blacklist written: /host-modprobe-d/-weight: 500;">disable-algif-aead.conf on node=ip-x.x.x.x
[mitigation] done on node=ip-x.x.x.x
[mitigation] node=ip-x.x.x.x OS=Amazon Linux — proceeding
[mitigation] algif_aead is not loaded on node=ip-x.x.x.x
[mitigation] blacklist written: /host-modprobe-d/-weight: 500;">disable-algif-aead.conf on node=ip-x.x.x.x
[mitigation] done on node=ip-x.x.x.x
helm uninstall cve-2026-31431-mitigation -n kube-system
helm uninstall cve-2026-31431-mitigation -n kube-system
helm uninstall cve-2026-31431-mitigation -n kube-system - Unload algif_aead if it's currently loaded
- Blacklist it so it cannot be reloaded - Verifies it's running on Amazon Linux (exits safely otherwise)
- Unloads algif_aead if present and logs an ALERT if it was loaded
- Writes the modprobe blacklist to the host filesystem