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
The exploit targets Ubuntu 21.10 with kernel
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.
The CVE-2022-0995 is a github repository by Bonfee