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
copy-fail-CVE-2026-31431 — Proof-of-concept exploit for CVE-2026-31431, a Linux kernel privilege escalation, with x86_64, AArch64, and C payloads to obtain root on affected distributions. | Kitploit
Tools/GitHubGitHub/morton-li/copy-fail-cve-2026-31431
Privilege EscalationVulnerability AnalysisExploitationPayload DevelopmentBinary Exploitation
GitHubmorton-li/copy-fail-cve-2026-31431

copy-fail-CVE-2026-31431

Proof-of-concept exploit for CVE-2026-31431, a Linux kernel privilege escalation, with x86_64, AArch64, and C payloads to obtain root on affected distributions.

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
104 months agoNot yet reviewed

Copy Fail - CVE-2026-31431

Copy Fail (CVE-2026-31431) PoC and payload examples.

  • Technical Writeup: https://xint.io/blog/copy-fail-linux-distributions

Affected Linux Distributions

DistroKernel Version
Ubuntu 24.04 LTS6.17.0-1007-aws
Amazon Linux 20236.18.8-9.213.amzn2023
RHEL 10.16.12.0-124.45.1.el10_1
SUSE 166.12.0-160000.9-default

Quick Usage

Run copy_fail_exp.py on an affected Linux distribution to obtain root privileges.

Payload Compilation Guide

The following steps are used to regenerate the payload files locally for debugging and verification.

1) x86_64 Assembly Version (payloads/x86_64.asm)

Install dependencies:

root@kitploit:~
apt install -y nasm

Compile:

root@kitploit:~
nasm -f bin x86_64.asm -o payload.bin

Inspect the output:

root@kitploit:~
wc -c payload.bin
xxd payload.bin

2) AArch64 Assembly Version (payloads/aarch64.s)

Install dependencies:

root@kitploit:~
apt install -y binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu

Compile:

root@kitploit:~
aarch64-linux-gnu-as aarch64.s -o aarch64.o
aarch64-linux-gnu-objcopy -O binary -j .text aarch64.o aarch64.bin

Inspect the output:

root@kitploit:~
wc -c payload.bin
file payload.bin
xxd payload.bin

3) Cross-Platform C Version (payloads/payload.c)

Compile:

root@kitploit:~
gcc -Os -s payload.c -o payload.bin

Inspect the output:

root@kitploit:~
wc -c payload.bin
file payload.bin
Download Tool