
Wazuh SCA Linux hardening policy for Copy Fail (CVE-2026-31431)
This policy file:
copy-fail-cve-2026-31431-policy.ymlis designed to detect likely exposure and mitigation status for Copy Fail / CVE-2026-31431.
algif_aead is disabled via modprobe policy.algif_aead is not currently loaded./etc/modprobe.d/disable-algif.conf).AF_ALG (container hosts).For this CVE, distribution backports make exact version matching unreliable with simple regex checks. So this SCA policy focuses on:
Copy policy to:
/var/ossec/ruleset/sca/copy-fail-cve-2026-31431-policy.ymlEnable SCA in /var/ossec/etc/ossec.conf if needed:
<sca>
<enabled>yes</enabled>
<scan_on_start>yes</scan_on_start>
<interval>14h</interval>
<policies>
<policy>/var/ossec/etc/shared/copy-fail-cve-2026-31431-policy.yml</policy>
</policies>
</sca>
Restart manager or agent:
sudo systemctl restart wazuh-agent
echo "install algif_aead /bin/false" | sudo tee /etc/modprobe.d/disable-algif.conf
sudo rmmod algif_aead 2>/dev/null || true
Then reboot after patched kernel update.
110005 may be Not applicable on non-container hosts.