
# Script de test et d'atténuation pour CVE-2026-31431, fournissant un PoC et des solutions de contournement au niveau du noyau pour les systèmes AlmaLinux et Debian/Ubuntu.
python3 test_CVE-2026-31431.py
sudo grubby --update-kernel ALL --args="initcall_blacklist=algif_aead_init"
sudo reboot
# en tant que root
echo "install algif_aead /bin/false" > /etc/modprobe.d/disable-algif-aead.conf
rmmod algif_aead 2>/dev/null
reboot