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-2602-Kernel-Exploit — C exploit for CVE-2022-2602, a use-after-free in the Linux kernel's io_uring subsystem, enabling local privilege escalation through file descriptor manipulation and race condition exploitation. | Kitploit
Tools/GitHubGitHub/kiks7/cve-2022-2602-kernel-exploit
Privilege EscalationVulnerability AnalysisExploitationBinary Exploitation
GitHubkiks7/cve-2022-2602-kernel-exploit

CVE-2022-2602-Kernel-Exploit

C exploit for CVE-2022-2602, a use-after-free in the Linux kernel's io_uring subsystem, enabling local privilege escalation through file descriptor manipulation and race condition exploitation.

View Repository

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
862423 years agoReviewed by Kitploit

CVE-2022-2602-Kernel-Exploit

Details

https://blog.hacktivesecurity.com/index.php/2022/12/21/cve-2022-2602-dirtycred-file-exploitation-applied-on-an-io_uring-uaf/

TL;DR

The vulnerability is an Use-After-Free that impacts the registered file descriptor functionality in the io_uring subsystem. It's possible to register a file in the io_uring context, free it from the Unix Garbage Collector and re-use it with the requested io_uring operation (for example, a writev operation). To exploit the bug, it was a matter of replace the freed file structure with a read-only file (e.g. /etc/passwd), in order to write into it, and achieve a good timing with a small race window.

Download Tool