Notselwyn/CVE-2024-1086
FreeUniversal local privilege escalation Proof-of-Concept exploit for CVE-2024-1086, working on most Linux kernels between v5.14 and v6.6, including Debian, Ubuntu, and KernelCTF. The success rate is 99.4% in KernelCTF images.
About Notselwyn/CVE-2024-1086
Universal local privilege escalation Proof-of-Concept exploit for CVE-2024-1086, targeting a use-after-free vulnerability in the Linux kernel's netfilter subsystem (nf_tables). It works on most Linux kernels from v5.14 to v6.6, including Debian, Ubuntu, and KernelCTF, with a 99.4% success rate in KernelCTF images. The exploit is configurable via src/config.h, supports fileless execution using curl and Perl for pentesting scenarios, and includes a full write-up with diagrams. Caveats include requirements for user namespaces and nf_tables, deliberate kernel panic after execution to deter malicious use, and instability with network activity or WiFi. Only tested on x64/amd64.
Key Features
Pros & Cons
- High success rate across a wide range of kernel versions
- Well-documented with a detailed write-up and diagrams
- Supports fileless execution for stealthy penetration testing
- Configurable for different environments (memory, network activity)
- Open-source and actively maintained
- Causes kernel panic after exploit execution (deliberate side-effect)
- Unstable with high network activity or WiFi surroundings
- Only tested on x64/amd64 architecture
- Requires specific kernel configurations (user namespaces, nf_tables)
- Not suitable for production or sensitive systems