
C exploit for Linux kernel nftables out-of-bounds access (CVE-2022-1015) enabling local privilege escalation on kernel 5.17.0.
target: linux kernel 5.17.0
config: .config
requirements:
apt install libmnl-dev libnftnl-dev
build:
gcc exploit.c -o exploit -lmnl -lnftnl -lpthread -no-pie