
Automates kernel patching for CVE-2026-31431 and Dirty Frag, sets secure kernel as default in GRUB, and disables testing repo for production safety.
Updates the system to close the CVE-2026-31431 (algif_aead) and Dirty Frag [CVE-2026-43284] vulnerabilities found in the Linux kernel and automatically sets the secure kernel version as the default.
English: This script automatically mitigates the CVE-2026-31431 (algif_aead) and Dirty Frag [CVE-2026-43284]vulnerability by updating the kernel and setting the patched version as default.
wget https://raw.githubusercontent.com/OmerAti/almalinux-fix-cve-2026-31431/refs/heads/main/almalinux-fix-cve-2026-31431.sh
chmod +x almalinux-fix-cve-2026-31431.sh
sudo bash almalinux-fix-cve-2026-31431.sh