Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-31431-mitigation — eBPF-based daemon to mitigate CVE-2026-31431 on systems where `algif_aead` is built into the kernel, without a reboot! | Kitploit
Tools/GitHubGitHub/dabbleam/cve-2026-31431-mitigation
Defensive ToolsVulnerability AnalysisCloud SecurityIncident Response
GitHubdabbleam/cve-2026-31431-mitigation

CVE-2026-31431-mitigation

eBPF-based daemon to mitigate CVE-2026-31431 on systems where `algif_aead` is built into the kernel, without a reboot!

View Repository

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
73 months agoNot yet reviewed

CVE-2026-31431-mitigation

This repository holds the source code for our eBPF-based mitigation against CVE-2026-31431, also known as "copy.fail". (More info available at https://copy.fail)

The motivation behind building this solution was to fulfill the need for a reboot-less mitigation for mission-critical machines where algif_aead is built directly into the kernel, which makes it impossible to just blocklist the module for a quick mitigation.

This code is distributed AS-IS, without warranty of any kind, and licensed under the terms of the GPL-v2.0 license.

While we have tried this in our production servers, and it has been effective for us, we are presenting it only as a stop-gap solution.

Building

In order to build this, you'll need to install the BPF tools and headers for your kernel version. For example, on CloudLinux:

root@kitploit:~
dnf install bpftool libbpf-devel clang llvm kernel-devel kernel-headers

YMMV on other distros.

Running

Once you have built the code in this repo, block_alg can take the following args:

  • -l <log_path>: specifies which file to log blocked calls into
  • -u <uid_list>: specifies which UIDs should be allowed to use AF_ALG. Format: 0,1000 -> allows UIDs 0 and 1000 to create AF_ALG sockets.
Download Tool