
针对copy_fail变体(copyfail2_electric_boogaloo)的临时缓解措施 - 通过xfrm ESP-in-UDP MSG_SPLICE_PAGES no-COW快速路径实现无特权Linux本地提权。将页面缓存写入任何可读文件。用sick::0:0:…:/:/bin/bash覆盖/etc/passwd中的nologin行并sus进入。与Copy Fail(CVE-2026-31431)同类,但子系统不同。
针对 copy_fail 变种(copyfail2_electric_boogaloo)的临时缓解措施——无特权 Linux LPE,通过 xfrm ESP-in-UDP MSG_SPLICE_PAGES no-COW 快速路径实现。将数据写入任意可读文件的页面缓存中。将 /etc/passwd 中的 nologin 行覆盖为 sick::0:0:…:/:/bin/bash 并 su 进去。与 Copy Fail(CVE-2026-31431)属于同一类,但子系统不同。
在 /etc/modprobe.d 中黑名单模块时请小心,这可能会破坏您的系统。 我创建了 --low-risk-fix 选项来解决此问题,因为原始缓解措施会阻止过多模块。
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