
Scanner: verificador de vulnerabilidade CVE-2026-31431 do kernel Linux algif_aead Copy Fail — PoC em Python para o caminho de heap overflow
Verificador de vulnerabilidades do kernel Linux para o caminho de ataque Copy Fail baseado em algif_aead. Detecta se o seu sistema está vulnerável e fornece etapas de mitigação.
git clone https://github.com/ridhinva/copyfail-checker.git
cd copyfail-checker
python3 copyfail_checker.py # Verificação padrão
python3 copyfail_checker.py --json # Saída JSON para automação
python3 copyfail_checker.py --fix # Aplicar mitigações (root)
$ python3 copyfail_checker.py
[*] Checking kernel version...
[*] Checking AF_ALG module...
[*] Checking protections...
==================================================
RESULTS:
[!!] kernel_version: Running kernel 6.5.0 - vulnerable range
[!!] AF_ALG: AF_ALG crypto module enabled
[OK] apparmor: AppArmor installed
==============================
Potential issues: 2
[!] RUNNING VULNERABLE KERNEL:
1. apt update && apt upgrade linux-image
2. echo 'blacklist algif_aead' > /etc/modprobe.d/algif.conf
3. reboot
@c_y_p_h3r