
Реализация средств повышения привилегий в Linux
Exploit for CVE-2022-0995. Uses a heap out-of-bounds write in the watch_queue component of the Linux kernel.
A similar technique is described in this research https://google.github.io/security-research/pocs/linux/cve-2021-22555/writeup.html.
The exploit has been tested on Ubuntu 21.10 (kernel 5.13.0-37).
The exploit does not always reproduce reliably; it may require several runs to achieve success.
make
./exploit