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
CVE-2022-0847-Dirty-Pipe- — this is a repo who is facing a escalation issue in their linux system and a news regarding problem of "Dirty pipeline" | Kitploit
Tools/GitHubGitHub/gaganhm3018-art/cve-2022-0847-dirty-pipe-
Privilege EscalationVulnerability AnalysisExploitationLearning & EducationBinary Exploitation
GitHubgaganhm3018-art/cve-2022-0847-dirty-pipe-

CVE-2022-0847-Dirty-Pipe-

this is a repo who is facing a escalation issue in their linux system and a news regarding problem of "Dirty pipeline"

View Repository

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
55 months agoNot yet reviewed

CVE-2022-0847-Dirty-Pipe-

this is a repo who is facing a escalation issue in their linux system and a news regarding problem of "Dirty pipeline"

Max Kellermann, a developer at CM4all (a German web hosting company), found it in early 2022 but not by checking for vulnerability. He was debugging when he knows that the customer was dissatified with the that logs on their server were corrupting spontaneously. Kellermann spent months tracing it. His work eventually led him to a condition deep in how the Linux kernel handles pipes and page cache. He realized the bug he found to explain the log corruption was actually something far more serious — a full privilege escalation vulnerability (A full privilege escalation vulnerability is a critical security flaw that allows an attacker with low-level access—such as a standard user, guest, or unprivileged application—to gain administrative, superuser, or root-level control over a system. This means the attacker bypasses all intended security boundaries, granting them complete control to modify system files, install software, steal data, or delete files) . He responsibly disclosed it to the Linux kernel team and Linus Torvalds himself. It was patched within days The real problem is -- when splice() transferred data into a pipe, it forgot to clear this flag on the destination buffer. So the splice'd page (which points directly into the read-only page cache of a file) still had CAN_MERGE set. Now if you write to that pipe, the kernel sees CAN_MERGE, assumes the page is writable, and merges your data directly into the page cache — which is the file's in-memory content —> without any permission check. Result: you can overwrite the contents of any file readable by you, including SUID (set user ID) root binaries like su, passwd, sudo. Why was the bug so important A few reasons:

  1. It bypassed DAC entirely — Discretionary Access Control (file permissions, ownership) was completely out of chart. The kernel never even asked "does this user have write permission?"
  2. SUID binaries are the perfect target — files like /usr/bin/passwd run as root regardless of who calls them. Patch them → instant root. allowing exploiters to gain root like control
  3. Any file in the page cache, not just binaries. You could corrupt logs, configuration files,etc.
Download Tool