<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Pedit COW on HackingPassion.com : root@HackingPassion.com-[~]</title><link>https://hackingpassion.com/tags/pedit-cow/</link><description>Recent content in Pedit COW on HackingPassion.com : root@HackingPassion.com-[~]</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 27 Jun 2026 09:56:35 +0200</lastBuildDate><atom:link href="https://hackingpassion.com/tags/pedit-cow/index.xml" rel="self" type="application/rss+xml"/><item><title>Pedit COW Turns a Normal Linux User Into Root While the Disk Stays Clean</title><link>https://hackingpassion.com/pedit-cow-linux-root/</link><pubDate>Sat, 27 Jun 2026 09:56:35 +0200</pubDate><guid>https://hackingpassion.com/pedit-cow-linux-root/</guid><description>&lt;p>A flaw in the Linux kernel called &lt;strong>pedit COW&lt;/strong> lets a regular, unprivileged user rewrite &lt;code>/bin/su&lt;/code> in memory and become root, while the copy on disk never changes and a file integrity check comes back clean. It is tracked as &lt;strong>CVE-2026-46331&lt;/strong>, Red Hat already rates it Important, and a working exploit is public. The flawed code has been in Linux kernels since 2022.&lt;/p>
&lt;p>Linux comes with a tool for reshaping and rewriting network traffic as it flows through the machine. It is called &lt;code>tc&lt;/code>, short for &lt;strong>traffic control&lt;/strong>. One thing it can do is reach into a packet and change bytes in the header while the packet is still moving. That job is called &lt;code>pedit&lt;/code>, and the kernel loads it as a small module named &lt;code>act_pedit&lt;/code>. Useful for admins, and the way into this bug.&lt;/p></description></item></channel></rss>