
A temporary mitigation against copy_fail variant (copyfail2_electric_boogaloo) - Unprivileged Linux LPE via xfrm ESP-in-UDP MSG_SPLICE_PAGES no-COW fast path. Page-cache write into any readable file. Overwrites a nologin line in /etc/passwd with sick::0:0:…:/:/bin/bash and sus into it. Same class as Copy Fail (CVE-2026-31431), different subsystem.
Uma mitigação temporária contra a variante copy_fail (copyfail2_electric_boogaloo) - LPE Linux não privilegiada via caminho rápido no-COW MSG_SPLICE_PAGES do xfrm ESP-in-UDP. Escrita no cache de página em qualquer arquivo legível. Substitui uma linha nologin em /etc/passwd com sick::0:0:…:/:/bin/bash e entra via sus. Mesma classe que Copy Fail (CVE-2026-31431), subsistema diferente.
Tenha cuidado ao colocar módulos na lista negra em /etc/modprobe.d, isso pode quebrar seu sistema. Criei um --low-risk-fix para resolver esse problema, já que a mitigação original bloqueia muitos módulos.
sudo bash copyfail2_electric_boogaloo_fix.sh --help
[sudo] password for _0xhex:
Usage:
copyfail2_electric_boogaloo_mitigation.sh apply
copyfail2_electric_boogaloo_mitigation.sh --low-risk-fix
copyfail2_electric_boogaloo_mitigation.sh status
copyfail2_electric_boogaloo_mitigation.sh rollback
Modes:
apply Write persistent hardening files + apply live mitigation.
--low-risk-fix Apply only sysctl hardening and skip module block/unload.
status Show whether mitigations are active and whether modules are blocked.
rollback Remove mitigation files and restore saved sysctl values.
sudo bash copyfail2_electric_boogaloo_fix.sh --low-risk-fix