Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/prabeershakya/cve-2022-0185-poc
Privilege EscalationVulnerability AnalysisExploitationLearning & EducationContainer EscapeBinary ExploitationLabs & Practice
GitHub
Share
prabeershakya/cve-2022-0185-poc

CVE-2022-0185-POC

Proof-of-concept exploit for CVE-2022-0185, a Linux kernel heap buffer overflow enabling local privilege escalation and container escape via FUSE and ROP chains.

View Repository
498 months agoNot yet reviewed

CVE-2022-0185 — Proof of Concept

A proof-of-concept exploit for CVE-2022-0185, a heap-based buffer overflow in the Linux kernel's legacy_parse_param function (fs/fs_context.c). This allows a local unprivileged user to escalate privileges to root.

Original exploit by Crusaders of Rust. Full writeup: https://www.willsroot.io/2022/01/cve-2022-0185.html


Vulnerability

The bug is an integer underflow in the bounds check inside legacy_parse_param(). When the internal buffer size reaches 4095 bytes, the unsigned subtraction wraps around and bypasses the check, enabling an unbounded heap overflow in the kmalloc-4k slab.

Affected kernels: Linux 5.1 – 5.15 Patched in: Linux 5.16+


Files

FileDescription
exploit_fuse.cUbuntu LPE exploit using FUSE + SYSVIPC
exploit_kctf.ckCTF container escape using pipes + ROP chain
fakefuse.c / .hCustom FUSE filesystem for race condition
util.c / .hShared utilities
libfuse/, libfuse3.aStatically compiled libfuse (no dl_open)
MakefileBuild script

Build

make

Usage

Local Privilege Escalation (Ubuntu)

# Enter a user namespace to get CAP_SYS_ADMIN
unshare -Urm

# Run the exploit — makes /bin/bash SUID
./exploit_fuse

# Get a root shell
bash -p

Works on Ubuntu kernels ≥ 5.7. Adjust single_start and modprobe_path offsets in exploit_fuse.c for your kernel version.

kCTF Container Escape

./exploit_kctf

~50% reliability, targeted at Kubernetes 1.22 (kernel 5.10).


Disclaimer

For educational and research purposes only. Do not use against systems you do not own or have explicit permission to test.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    795
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    520
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    439
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    346
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    267
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    264

Explore all tools

Browse our collection of tools

View all tools →