Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2022-2588 — Educational exploit for CVE-2022-2588, a Linux kernel race condition leading to privilege escalation. Includes Vagrant setup for a vulnerable machine and instructions to compile and run the exploit. | Kitploit
Tools/GitHubGitHub/bassamgraini/cve-2022-2588
Privilege EscalationVulnerability AnalysisExploitationLearning & EducationBinary ExploitationLabs & Practice
GitHubbassamgraini/cve-2022-2588

CVE-2022-2588

Educational exploit for CVE-2022-2588, a Linux kernel race condition leading to privilege escalation. Includes Vagrant setup for a vulnerable machine and instructions to compile and run the exploit.

View Repository
12423 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2022-2588

Code adapted for one cpu, and with a vagrant file provided to boot up a vulnerable machine used for educational purposes.

To create a vulnerable machine, you need to have Vagrant installed on your machine, then execute on the repository root:

root@kitploit:~
Vagrant up

Wait for installation and booting then :

root@kitploit:~
Vagrant ssh

Inside the Vm:

root@kitploit:~
cd CVE-2022-2588/ && gcc ./exploit.c -o exploit -lpthread 
./exploit

then:

root@kitploit:~
su ensimag
password:  #ensimag
#

The original exploit code : here

To prevent the exploit try to uncomment the line 15 and 18 and restart the process.

Download Tool