
Local privilege escalation exploit for CVE-2022-2586 targeting Linux kernel 5.15.0-25 on Ubuntu 22.04, written in C and compiled with gcc.
This exploit is tested on Ubuntu 22.04 version 5.15.0-25 generic
Compiling:
gcc exploit.c -no-pie -o exp -lmnl -lnftnl