Last active
April 30, 2026 07:09
-
-
Save mschmitt/d2b0a19034e3247428d5c31091ba7bef to your computer and use it in GitHub Desktop.
deploy-copyfail-mitigation.playbook.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ansible-playbook | |
| # | |
| # Mitigation for https://copy.fail CVE-2026-31431 | |
| --- | |
| - hosts: all | |
| gather_facts: false | |
| remote_user: root | |
| tasks: | |
| - name: Deploy /etc/modprobe.d/disable-algif.conf | |
| copy: | |
| dest: /etc/modprobe.d/disable-algif.conf | |
| content: | | |
| # Mitigation for https://copy.fail CVE-2026-31431 | |
| install algif_aead /bin/false | |
| - name: reboot | |
| shell: | | |
| shutdown -r +5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment