CVE-2022-0995 exploit# CVE-2022-0995
This is my exploit for `CVE-2022-0995`, an heap out-of-bounds write in the watch_queue Linux kernel component.
It uses the same technique described in https://google.github.io/security-research/pocs/linux/cve-2021-22555/writeup.html.
The exploit targets Ubuntu 21.10 with kernel `5.13.0-37`.
The exploit is not `100%` reliable, you may need to run it a couple of times. It may panic the kernel, but during my tests it happened rarely.
```sh
make
./exploit
```

[4.0K] /data/pocs/d9c7b36c349f98714298c9d97dea945d68c20548
├── [ 11K] exploit.c
├── [ 129] Makefile
├── [246K] poc.png
├── [ 501] README.md
├── [ 785] util.c
└── [1.0K] util.h
0 directories, 6 files