
Test and mitigation script for CVE-2026-31431, providing a PoC and kernel-level workarounds for AlmaLinux and Debian/Ubuntu systems.
python3 test_CVE-2026-31431.py
sudo grubby --update-kernel ALL --args="initcall_blacklist=algif_aead_init"
sudo reboot
# as root
echo "install algif_aead /bin/false" > /etc/modprobe.d/disable-algif-aead.conf
rmmod algif_aead 2>/dev/null
reboot