Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2022-0847 PoC — Linux kernel 安全漏洞

Source
Associated Vulnerability
Title:Linux kernel 安全漏洞 (CVE-2022-0847)
Description:A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe and push_pipe functions in the Linux kernel and could thus contain stale values. An unprivileged local user could use this flaw to write to pages in the page cache backed by read only files and as such escalate their privileges on the system.
Readme
# CVE-2022-0847
CVE-2022-0847 POC  

Link:`https://dirtypipe.cm4all.com/`

## Reproduce the environment
```bash
The vulnerability exists in Ubuntu kernel versions starting from v5.8 all the way up to 5.15
like Linux 5.14.0-9parrot1-amd64
Linux kali 5.10.0-kali7-amd64 #1 SMP Debian 5.10.28-1kali1 (2021-04-12) x86_64 GNU/Linux
```

## depending on 

```bash
gcc
```
## Steps for usage
```bash
git clone https://github.com/imfiver/CVE-2022-0847.git
cd CVE-2022-0847
chmod +x Dirty-Pipe.sh
bash Dirty-Pipe.sh
```
 
<img src="https://user-images.githubusercontent.com/21257485/157100477-ec68c9a8-44c1-4dd4-ac4d-f70a08597359.png" style="zoom:30%" />

File Snapshot

[4.0K] /data/pocs/532c40bf8e037fe72e1d428bfbb6cb17add5b22e ├── [4.6K] Dirty-Pipe.sh ├── [7.2K] dirtypipez.c └── [ 649] README.md 0 directories, 3 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →