Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacyยฉ 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
RK35xx-CopyFail-Hotfix โ€” Provides a pre-compiled kernel patch for CVE-2026-31431 (Copy Fail) on RK35xx SBCs running Ubuntu 24.04, with installation instructions and build transparency. | Kitploit
Tools/GitHubGitHub/qengineering/rk35xx-copyfail-hotfix
Embedded Systems SecurityVulnerability AnalysisHardware & IoT Security
GitHubqengineering/rk35xx-copyfail-hotfix

RK35xx-CopyFail-Hotfix

Provides a pre-compiled kernel patch for CVE-2026-31431 (Copy Fail) on RK35xx SBCs running Ubuntu 24.04, with installation instructions and build transparency.

View Repository
Share
Website
22496 months agoNot yet reviewed

RK35xx Kernel Patch: CVE-2026-31431 ("Copy Fail")

RK35xx CopyFail Hotfix: CVE-2026-31431 Patch for Joshua Riek's Ubuntu 24.04

fix
A community-provided, pre-compiled kernel patch for all RK35xx single-board computers (Rock 5, Orange Pi 5, NanoPC, etc.) running Joshua Riek's Ubuntu 24.04 (Kernel 6.1.0-1025-rockchip).

๐Ÿšจ The Vulnerability

On April 29, 2026, a high-severity local privilege escalation (LPE) vulnerability known as "Copy Fail" (CVE-2026-31431) was disclosed.
The flaw resides in the kernel's cryptographic subsystem (crypto/algif_aead.c). By chaining an AF_ALG socket operation with the splice() system call, an unprivileged local user can force a zero-copy write directly into the kernel's page cache, allowing them to overwrite setuid-root binaries in memory and gain instant root access.

Due to the kernel configuration (CONFIG_CRYPTO_USER_API_AEAD=y), standard modprobe mitigation strategies do not work on this build.
A source-level kernel patch is required.

๐Ÿ›  Why This Repository?

With the upstream Joshua Riek repository currently inactive, users are left stranded on a vulnerable kernel.
As long-time supporters of the SBC and edge AI community, Qengineering has manually backported the mainline Linux fix (commit a664bf3d603d), recompiled the kernel from the exact Ubuntu-rockchip-6.1.0-1025.25 source tag, and packaged it here for immediate deployment.

All original NPU, VPU, and networking hardware acceleration features are 100% preserved.

๐Ÿ“ฆ Installation Instructions

Joshua Riek's Ubuntu images use a strictly customised U-Boot environment that requires raw (uncompressed) kernel images and specific device tree mapping. We have handled the compilation; you just need to run the following commands to install the patch.

1. Download the required files: Download these three files to your board:

  • linux-image-6.1.75-copyfail-patched_*.deb
  • linux-headers-6.1.75-copyfail-patched_*.deb
  • Image (The raw, uncompressed kernel)
git clone https://github.com/Qengineering/RK35xx-CopyFail-Hotfix.git

2. Open a terminal in the folder containing your downloads and run this command block:

cd RK35xx-CopyFail-Hotfix

# 1. Install the Debian packages (This configures modules and initramfs)
sudo dpkg -i linux-image-6.1.75-copyfail-patched_*.deb
sudo dpkg -i linux-headers-6.1.75-copyfail-patched_*.deb

# 2. Overwrite the compressed kernel with the raw, uncompressed Image required by U-Boot
sudo cp Image /boot/vmlinuz-6.1.75-copyfail-patched

# 3. Port over your existing hardware device trees
sudo mkdir -p /lib/firmware/6.1.75-copyfail-patched/
sudo cp -r /lib/firmware/6.1.0-1025-rockchip/device-tree /lib/firmware/6.1.75-copyfail-patched/

# 4. Regenerate the bootloader configuration
sudo u-boot-update

# 5. Reboot your system
sudo reboot

๐Ÿ” Transparency: Build It Yourself

For users who prefer not to install pre-compiled binaries, you can reproduce this exact build on your own board.
Due to Rockchip SDK modifications, the upstream mainline patch does not apply cleanly via git. It requires a manual code edit.

# 1. Clone the repository and checkout the specific tag
git clone [https://github.com/Joshua-Riek/linux-rockchip.git](https://github.com/Joshua-Riek/linux-rockchip.git)
cd linux-rockchip
git checkout Ubuntu-rockchip-6.1.0-1025.25
git switch -c copyfail-patch-build

# 2. Manually patch the vulnerability
wget "[https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/?id=a664bf3d603dc3bdcf9ae47cc21e0daec706d7a5](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/?id=a664bf3d603dc3bdcf9ae47cc21e0daec706d7a5)" -O copy-fail.patch
# Open copy-fail.patch, and carefully implement the code alterations.

# 3. Copy your live hardware configuration
cp /boot/config-6.1.0-1025-rockchip .config
make olddefconfig

# 4. Compile the packages (Takes ~45-60 minutes on the Rock 5C)
make -j$(nproc) bindeb-pkg LOCALVERSION=-copyfail-patched

# 5. Follow the Installation Instructions above, using your newly compiled .deb files
#    and the uncompressed Image found in arch/arm64/boot/Image.
Download Tool

Most Popular

View all โ†’

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    ๐ŸŽฏ The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    524
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    478
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    357
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    317
  • 5

    estorides

    grisuno/estorides

    Aggregates 99+ free OSINT sources in parallel, resolves entities into a knowledge graph, and exports STIX 2.1, MISP, or GraphML with LLM-assisted analysis.

    305
  • 6

    opencti

    opencti-platform/opencti

    Open Cyber Threat Intelligence Platform

    275

Explore all tools

Browse our collection of tools

View all tools โ†’