Pedit COW Exploit Enables Linux Root Access
Score: 8/10

Pedit COW Exploit Enables Linux Root Access

A flaw in the Linux kernel's act_pedit traffic-control action allows unprivileged users to gain root access by poisoning cached setuid binaries in memory.

Executive Summary

CVE-2026-46331, nicknamed 'pedit COW', is a critical out-of-bounds write vulnerability in the Linux kernel's traffic-control subsystem (act_pedit). The flaw allows an unprivileged local user with CAP_NET_ADMIN capabilities—often available by default in user namespaces—to corrupt the shared page cache. This enables attackers to modify in-memory copies of sensitive binaries, such as /bin/su, to execute arbitrary shellcode as root.

The vulnerability stems from an incorrect copy-on-write (COW) calculation that fails to account for runtime header offsets, leading to the modification of shared memory instead of private copies. A weaponized proof-of-concept named 'PACKET_EDIT_MEME' has been publicly released and verified to achieve root on RHEL 10, Debian 13, and Ubuntu 24.04 (via AppArmor bypass).

This flaw is part of a growing class of page-cache corruption vulnerabilities like Dirty Pipe and Copy Fail. It poses a significant risk to multi-tenant environments, container hosts, and CI/CD runners where local user isolation is critical for security.

Key Details

Threat Name

pedit COW (CVE-2026-46331)

Affects

Linux kernel, RHEL 8, RHEL 9, RHEL 10, Debian 13 (trixie), Linux kernel 4.19.244, Linux kernel 5.4.195, Linux kernel 5.10.117, Linux kernel 5.15.41, Linux Kernel v5.18 through v7.1-rc7, RHEL 10.0, Debian 13 trixie, Ubuntu 24.04.4, Linux kernel 4.19.244 before 4.20, Linux kernel 5.4.195 before 5.5, Linux kernel 5.10.117 before 5.11, Linux kernel 5.15.41 before 5.16, Linux kernel 5.17.9 before 5.18, AMD Linux Display drivers, Azure Linux 3.0

Adversary

—

MITRE Techniques

Malware/Tools

Dirty Pipe, Copy Fail, DirtyClone, Dirty Frag, PACKET_EDIT_MEME, Fragnesia, Dirty COW

Report Score

8out of 10
Quality Score
Good
IOC Quality6
TTP Details9
Detection Guidance7
Enterprise Relevance9
Clarity & Structure10
Technical Depth9

Sources