New Linux Kernel Vulnerability "pedit COW" Enables Stealthy Root Access via Memory Corruption
A critical Linux kernel vulnerability, tracked as CVE-2026-46331 and dubbed pedit COW, allows attackers to escalate privileges to root by silently corrupting cached system binaries in memory without altering files on disk. Disclosed in June 2026, the flaw has quickly become one of the most closely monitored local privilege escalation threats of the year, with a working proof-of-concept exploit released within 24 hours of public disclosure.
The vulnerability resides in the Linux kernel’s traffic control (tc) subsystem, specifically the pedit (packet editor) module, which enables administrators to modify packet headers in transit. The issue stems from a memory corruption bug in the tcf_pedit_act() function, where a miscalculation in writable memory ranges allows attackers to bypass copy-on-write (COW) protections. Instead of writing to isolated memory, malicious modifications spill into shared page-cache memory, enabling the corruption of cached privileged binaries (e.g., /bin/su) while leaving the original files untouched.
This stealthy attack method evades traditional file integrity monitoring (FIM) tools, as checksums and disk-based scans fail to detect tampering. Once exploited, the compromised cached binary grants root access, though flushing the page cache removes the corrupted image without terminating any already-established malicious processes.
Exploitation and Impact
The flaw requires two key conditions for successful exploitation:
- The act_pedit kernel module must be available or loadable.
- The system must permit unprivileged user namespaces, granting attackers
CAP_NET_ADMINprivileges within a namespace.
These prerequisites are common in containerized environments, rootless runtimes, and shared Linux infrastructure, making systems like Red Hat Enterprise Linux 10, Debian 13 (Trixie), and Ubuntu 24.04 (under certain AppArmor configurations) particularly vulnerable. Ubuntu 26.04’s default AppArmor restrictions block the exploit path, though the underlying kernel flaw remains unpatched until updated.
Vendor Response and Mitigations
Major Linux distributions, including Red Hat, Debian, and Ubuntu, have released security advisories and patches. Red Hat classified the issue as Important, affecting RHEL 8, 9, and 10, while Debian and Ubuntu issued updates for supported releases. The vulnerability has also been added to the National Vulnerability Database (NVD).
Temporary mitigations include:
- Disabling the act_pedit module on systems not using packet-editing rules.
- Restricting unprivileged user namespaces, though this may disrupt containerized workloads.
Broader Implications
pedit COW joins a growing family of Linux page-cache corruption vulnerabilities, including Dirty COW (CVE-2016-5195) and Dirty Pipe, which exploit flaws in memory management to escalate privileges. The rapid weaponization of this flaw underscores the challenge of kernel patch transparency, where routine fixes can inadvertently reveal exploitable conditions before organizations deploy updates.
Systems with multi-user access, Kubernetes clusters, CI/CD pipelines, and cloud infrastructure are at heightened risk, as the vulnerability enables full system compromise from a standard user account. Defenders are advised to prioritize kernel updates and monitor upstream patches to reduce exposure before exploits proliferate.
Source: https://www.linkedin.com/pulse/new-critical-linux-vulnerability-enables-root-privilege-gh1ue
Debian TPRM report: https://www.rankiteo.com/company/debian
Ubuntu TPRM report: https://www.rankiteo.com/company/canonical
"id": "debcan1782614110",
"linkid": "debian, canonical",
"type": "Vulnerability",
"date": "6/2026",
"severity": "85",
"impact": "4",
"explanation": "Attack with significant impact with customers data leaks"
{'affected_entities': [{'industry': 'Technology',
'name': 'Red Hat Enterprise Linux',
'type': 'Operating System'},
{'industry': 'Technology',
'name': 'Debian',
'type': 'Operating System'},
{'industry': 'Technology',
'name': 'Ubuntu',
'type': 'Operating System'}],
'attack_vector': 'Local',
'date_publicly_disclosed': '2026-06',
'description': 'A critical Linux kernel vulnerability, tracked as '
'CVE-2026-46331 and dubbed *pedit COW*, allows attackers to '
'escalate privileges to root by silently corrupting cached '
'system binaries in memory without altering files on disk. The '
'flaw resides in the Linux kernel’s traffic control (tc) '
'subsystem, specifically the pedit (packet editor) module, '
'where a memory corruption bug in the `tcf_pedit_act()` '
'function bypasses copy-on-write (COW) protections, enabling '
'corruption of cached privileged binaries while leaving '
'original files untouched.',
'impact': {'operational_impact': 'Full system compromise from a standard user '
'account',
'systems_affected': 'Linux systems with act_pedit module and '
'unprivileged user namespaces enabled'},
'lessons_learned': 'The rapid weaponization of this flaw underscores the '
'challenge of kernel patch transparency, where routine '
'fixes can inadvertently reveal exploitable conditions '
'before organizations deploy updates.',
'post_incident_analysis': {'corrective_actions': 'Kernel patches and updates '
'from Linux distributions',
'root_causes': 'Memory corruption bug in '
'`tcf_pedit_act()` function leading '
'to bypass of copy-on-write (COW) '
'protections'},
'recommendations': ['Prioritize kernel updates and monitor upstream patches',
'Disable act_pedit module if not in use',
'Restrict unprivileged user namespaces where possible'],
'references': [{'source': 'National Vulnerability Database (NVD)'}],
'regulatory_compliance': {'regulatory_notifications': 'Added to National '
'Vulnerability Database '
'(NVD)'},
'response': {'containment_measures': ['Disabling the act_pedit module on '
'systems not using packet-editing rules',
'Restricting unprivileged user '
'namespaces'],
'remediation_measures': 'Kernel updates and patches from Red '
'Hat, Debian, and Ubuntu'},
'title': "New Linux Kernel Vulnerability 'pedit COW' Enables Stealthy Root "
'Access via Memory Corruption',
'type': 'Privilege Escalation',
'vulnerability_exploited': 'CVE-2026-46331 (pedit COW)'}