# CVE-2022-34918 LPE PoC
LPE exploit for CVE-2022-34918.
This exploit has been written for the kernel `Linux ubuntu 5.15.0-39-generic`
You can find the associated write-up on our [blog](https://randorisec.fr/crack-linux-firewall/)
## Usage
`get_root` should be in the current folder
```
$ ls
get_root poc
$ ./poc
```
[4.0K] /data/pocs/ff428273a2be54dd17c6c0259c798849c69d9f59
├── [4.0K] get_root_src
│ └── [ 227] get_root.c
├── [4.0K] inc
│ ├── [1.2K] keyring.h
│ ├── [ 158] log.h
│ ├── [ 163] modprobe.h
│ ├── [1020] netlink.h
│ ├── [ 599] nf_tables.h
│ ├── [ 587] simple_xattr.h
│ ├── [ 700] uring.h
│ └── [ 209] util.h
├── [ 444] Makefile
├── [ 322] README.md
└── [4.0K] src
├── [3.5K] keyring.c
├── [4.0K] main.c
├── [2.6K] modprobe.c
├── [3.5K] netlink.c
├── [ 12K] nf_tables.c
├── [1.4K] simple_xattr.c
├── [1.3K] uring.c
└── [1.8K] util.c
3 directories, 19 files