315 matches found
CVE-2026-31431
Copy Fail - CVE-2026-31431 This repository contains a small Linux local privilege escalation PoC for CVE-2026-31431, also known as "Copy Fail". The exploit targets the Linux kernel algifaead path in the AFALG userspace crypto API. It uses AFALG plus splice to coerce the kernel into writing into t...
copy-fail
CopyFail Mitigation CVE-2026-31431 - Multi-Distribution Guide This repository contains detailed tutorials and scripts to mitigate the CopyFail vulnerability CVE-2026-31431. This flaw affects the Linux Kernel cryptography subsystem AFALG and allows local privilege escalation LPE from a regular use...
CVE-2026-31431-Check
CVE-2026-31431 Copy Fail Vulnerability Check Script Vulnerability Overview CVE-2026-31431 Copy Fail is a Linux kernel local privilege escalation vulnerability that exploits AFALG sockets address family 38 combined with the splice zero-copy system call to bypass file write permissions and tamper...
copy-fail-mitigation-with-bpftrace
copy-fail-mitigation-with-bpftrace CVE-2026-31431, AKA Copy Fail, can be mitigated in one-line with bpftrace, no kpatch building, no cargo building English Version | 中文版本 Idea To exploit Copy Fail, you need to bind socket AFALG and use algorithm authencesn , which most applications don't use a lo...
cve-2026-31431
CVE-2026-31431 This document describes a public Python exploit related to the CVE-2026-31431 vulnerability. The code demonstrates the exploitation of the flaw using primitives from the Linux AFALG subsystem, AEAD cryptographic operations, and memory manipulation via splice, with the goal of...
CVE-2026-31431
🔐 CVE-2026-31431 - Kernel Exploitation Research Framework Modular framework for studying a Linux privilege escalation LPE vulnerability based on AFALG + Page Cache Injection techniques. 🎯 Objective This project is designed for: Research of Linux kernel vulnerabilities Teaching real exploitation...
block-copyfail
Summary CVE-2026-31431 "Copy Fail" is a Linux kernel privilege escalation vulnerability in the algifaead cryptographic interface. An attacker uses AFALG sockets with the authencesn algorithm and splice to corrupt arbitrary files in the kernel page cache — including setuid binaries like /usr/bin/s...
alg_check
⚠️ 重要免責事項: 構造的ハードニングのリスク このツールは、カーネルモジュールを物理的にリネームし、メモリからパージすることで CVE-2026-31431 を緩和する 構造的ブロッキング を実装しています。使用前に、以下のアーキテクチャ上のリスクを認識してください: カーネル更新による変動性 : ハードニングの効果は 一時的 です。カーネル更新により、新しい /lib/modules/ ディレクトリ配下に脆弱なモジュールが新規展開され、以前の妨害措置は無効になります。 機能的な副作用 :...
CVE-2026-31431
AFALG su memory‑patch exploit research A compact Python script that exploits an AFALG‑related kernel vulnerability to patch the su binary in memory and escalate privileges. This is provided for educational and research purposes only. ⚠️ Do not use this on any system you do not own or without...
CVE-2026-31431
CopyFail CVE-2026-31431 概要 CopyFail は、Linux カーネル Crypto API(AFALG)のメモリ破壊の脆弱性を標的とした CVE-2026-31431 の概念実証エクスプロイトです。このエクスプロイトは splice システムコールを利用して /usr/bin/su バイナリのページキャッシュを不正にパッチし、パスワードなしでの root への権限昇格を可能にします。 技術的分析 根本原因 この脆弱性は、splice を介した AFALG ソケットと他のファイルディスクリプタ間のゼロコピーデータ転送を処理する際の Linux...
copyfail-mitigation
CVE-2026-31431 — Copy Fail Linux Kernelalgifaead Privilege Escalation / Memory Corruption Ansible-based audit and mitigation playbooks — ready to run in production Overview Copy Fail CVE-2026-31431 is a vulnerability in the Linux kernel's algifaead module — the userspace-facing AEAD interface of...
CVE-2026-31431-mitigation-suite
AFALG Defense Framework A kernel-runtime defense framework for the Linux AFALG Address Family Algorithm, family 38 subsystem. Built for Security Operations Centers running enterprise Linux fleets where Zero Trust must extend into the kernel, not stop at the network edge. Why AFALG matters to a SO...
copy-fail-CVE-2026-31431-mitigation-ansible-playbook
CVE-2026-31431 緩和プレイブック Debian/Ubuntu および RHEL/Rocky/AlmaLinux システムに CVE-2026-31431 AFALG カーネルモジュールの緩和策を適用・ロールバックするための Ansible プレイブックです。 概要 このプレイブックは、脆弱性のある algifaead カーネルモジュールを無効化することで CVE-2026-31431 を緩和します: Debian/Ubuntu ファミリー : modprobe ブラックリストファイルを作成し、モジュールのアンロードを試みます RHEL/Rocky/AlmaLinux ファミ...
CVE-2026-31431
CVE-2026-31431 Copy Fail — C PoC Trivial unprivileged LPE by writing 4 controlled bytes into the page cache of any readable file via a logic bug in AFALG kernel 4.14 → early 2026. Corrupt /usr/bin/su in-memory, then run it → root. Build & Run 1. Generate an ELF payload reverse shell example...
copyfail
CVE-2026-31431 — "Copy Fail" Safe Detection Script A read-only detection script for the Copy Fail Linux kernel local privilege escalation vulnerability. No exploit code. No AFALG socket opened. No files written outside /etc/modprobe.d only when you apply the mitigation manually. Background Copy...
ansible-role-cve-2026-31431
ansible-role-cve-2026-31431 Ansible role to apply and later remove the modprobe.d mitigation for CVE-2026-31431 "Copy Fail" in the Linux kernel's AFALG / algifaead subsystem. Tested on Debian. Pull requests for other distributions, edge cases, or improvements are very welcome. What it does The ro...
CVE-2026-31431-live-process-code-injection
CVE-2026-31431 Copy Fail — Live Process Code Injection PoC Demonstrates arbitrary code execution in a running process via page cache. by @secinfosex What it does: 1. Compiles a test binary: check return 42; in an infinite loop 2. Launches the process 3. Waits for "check = 42" output 4. Replaces...
CVE-2026-31431-Copy-Fail---Advanced-LPE-Proof-of-Concept---C-Rewrite
CVE-2026-31431 "Copy Fail" - Advanced LPE Proof-of-Concept - C Rewrite An advanced, byte-perfect Local Privilege Escalation LPE Proof-of-Concept PoC for CVE-2026-31431 , exploiting a logic flaw in the Linux kernel's cryptography subsystem algifaead. This repository contains a highly optimized C...
afalg-check
Itsumma AFALG Check Diagnostic utility for Linux that checks: availability of AFALG / algifaead and helps assess the risk of CVE-2026-31431 copy-fail; the presence of an attack surface for the Dirty Frag vulnerability class xfrm-ESP Page-Cache Write + RxRPC Page-Cache Write chain across the esp4,...
copy-fail-CVE-2026-31431-shell
CVE-2026-31431 - copyfail shell Local privilege escalation via AFALG socket + splice page-cache overwrite. Overwrites a read-only SUID binary /usr/bin/su with a minimal ELF that calls setuid0 + execve"/bin/sh". No race condition, no per-distro offsets, single shot. $ ./copyfailexp.sh Kernel:...