Skip to main content
Mallory
HighExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2024-1086: Local privilege escalation in Linux kernel Netfilter nf_tables

Published Jan 31, 2024 · Updated 3 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days5 mentions · peak 2 in a dayToday
CVSS7.8High · v3.1
EPSS2.4%85th percentile
CISA KEVYesAdded May 30, 2024
In the wildActivePer CISA KEV
Vendors
NetAppDebian ProjectRed HatFedora ProjectLinux
IdentifiersCVE-2024-1086CWE-416 · Use After Free

CVE-2024-1086 is a use-after-free and double-free vulnerability in the Linux kernel's Netfilter nf_tables subsystem. The nft_verdict_init() function accepts positive drop-error values in hook verdicts. When an NF_DROP verdict carries an error value resembling NF_ACCEPT, inconsistent verdict handling in nf_hook_slow() can cause a packet to be freed and subsequently processed again, resulting in memory corruption. A local attacker with access to nf_tables can exploit the flaw to obtain root privileges. The vulnerability has a CVSS v3.1 score of 7.8 and is known to have been exploited.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows a low-privileged local attacker to escalate to root, compromising system confidentiality, integrity, and availability. A demonstrated public exploit bypasses kernel address-space layout randomization and modifies a kernel helper configuration variable to obtain a root shell. Exploitation can also destabilize the kernel and cause denial of service; testing observed eventual system crashes after closing the exploit-created root shell.

Mitigation

If you can’t patch tonight, do this now.

Where operationally feasible, prevent the nf_tables kernel module from loading. If nf_tables cannot be disabled, non-containerized RHEL deployments can disable user namespaces by setting user.max_user_namespaces=0. Do not apply that workaround to containerized deployments such as OpenShift, which require user namespaces. Disabling nf_tables in containerized environments is appropriate only when Netfilter is not required. For affected F5OS systems, remove access for users who are not completely trusted and restrict management CLI access to secure networks and trusted users.

Remediation

Patch, then assume compromise.

Install the Linux distribution's security update incorporating upstream fix f342de4e2f33e0e39165d8639387aa6c19dff660 or its vendor backport. Reboot into the corrected kernel unless an applicable vendor-supported live patch has been successfully loaded. Use distribution-specific advisories to determine fixed package versions because supported older kernel branches receive backported fixes. For affected appliances, install the relevant vendor release: Extreme Networks Switch Engine fixes include 31.7.3.3-patch1-54 or later, 32.7.1.9-patch1-68 or later, and 33.2.1 or later. F5 fixes include F5OS-A 1.7.0 or 1.8.0 and F5OS-C 1.6.0, 1.6.2, or 1.8.0, depending on the release branch.

Public exploits

Exploits

7 exploits validated by Mallory's analysis. Hidden: 10 rejected by Mallory's analysis as not a working exploit.

View more in app →
wp2shell-scannerRepository contains a compact exploit toolkit with 3 files: a large standalone Python script (wp2shell.py), a Nuclei exposure template (wp2shell-exposure.yaml), and a README documenting usage and attack flow. The Python script is the main artifact and implements several modes: non-destructive scanning, blind SQLi validation, blind SQL data extraction, authenticated RCE using recovered admin credentials, credential-less pre-auth RCE by forging an administrator and deploying a self-cleaning webshell/plugin, root-prerequisite diagnostics, and a full Linux LPE chain. The Nuclei template is limited to detection/fingerprinting and checks the homepage, RSS feed, and REST batch route for vulnerable WordPress versions and exposed /batch/v1 behavior. The exploit targets WordPress core vulnerabilities CVE-2026-60137 (pre-auth blind SQLi via REST batch route confusion / author__not_in path) and CVE-2026-63030 (unauthenticated RCE via admin forge + webshell upload). README and script also describe optional post-exploitation privilege escalation attempts against Linux using CVE-2023-2640/CVE-2023-32629, CVE-2023-4911, and CVE-2024-1086, plus SUID/sudo fallback. Overall, this is not just a detector: it is a multi-stage operational exploit chain with customizable command execution and optional interactive shell behavior.bahartanir · Disclosed Jul 19, 2026 · Framework: nuclei · python · yaml · web · network · localWeaponizedCVE-2024-1086This repository provides a working local privilege escalation exploit for CVE-2024-1086, a double-free vulnerability in the Linux kernel's netfilter/nftables subsystem (notably affecting kernel 6.3.x). The main exploit is implemented in 'exp.c', which orchestrates namespace setup, network configuration, and a series of memory and netfilter manipulations to achieve kernel memory corruption. The exploit ultimately overwrites the modprobe_path or usermodehelper_path, allowing execution of a shell as root. Supporting files in the 'tests/' directory include C programs for page table spraying and overlap testing, as well as a kernel patch for debugging page table allocations. The exploit requires specific kernel configuration options and is intended for educational or research use. Key fingerprintable endpoints include '/sbin/modprobe', '/sbin/usermode-helper', and several /proc/self/* files used for namespace manipulation. The exploit is operational, providing a real privilege escalation payload, and is not a detection script or a fake exploit.LLfam · Disclosed Dec 16, 2024 · c · patch · localOperationalCVE-2024-1086This repository is a real local privilege escalation exploit for CVE-2024-1086 in the Linux kernel nf_tables subsystem. It is not part of a larger exploit framework; it is a standalone C project that builds a static binary named ./exploit using musl-gcc. The Makefile shows the main codebase is split across src/main.c, src/env.c, src/net.c, src/nftnl.c, and src/file.c, indicating a modular design with an entry point, environment preparation, networking/netlink handling, nftables object/message construction, and file/helper routines. The repository structure is dominated by vendored headers for libmnl, libnftnl, and Linux UAPI headers pinned to specific versions for build compatibility. This strongly suggests the exploit directly crafts and sends netlink messages to the kernel netfilter/nf_tables subsystem rather than relying on shell commands or external tools. The included static libraries ./lib/libmnl.a and ./lib/libnftnl.a are referenced by the Makefile for fully static linking. The README describes the exploit as a universal PoC for vulnerable Linux kernels, especially Debian, Ubuntu, and KernelCTF images, with a high success rate in KernelCTF. Capability-wise, the exploit performs local kernel exploitation to obtain root privileges and a working root shell. It requires a local foothold on the target machine and depends on specific kernel features being enabled: unprivileged user namespaces and nf_tables. The README explicitly states the exploit is intentionally unstable and may crash/panic the kernel after successful exploitation, which the author frames as a deliberate limitation to reduce malicious operational use. This means the exploit is operational and weapon-capable in the sense that it achieves privilege escalation, but it is still presented as a PoC with deliberate instability. No remote C2, hardcoded IPs, or external service URLs used for exploitation are visible in the provided content. The meaningful fingerprintable targets are local/kernel-facing: the exploit binary path, source/config paths, the sysctl kernel.unprivileged_userns_clone, and the kernel subsystems/features it depends on, especially nf_tables over netlink. Overall, the repository’s purpose is to provide a portable, statically linked Linux local privilege escalation PoC for CVE-2024-1086 using direct netfilter/netlink interactions.vettrivel007 · Disclosed Mar 30, 2026 · c · makefile · local · networkOperationalCVE-2024-1086This repository is a real local privilege escalation exploit for CVE-2024-1086 in the Linux kernel nf_tables subsystem. It is not part of a common exploit framework; it is a standalone C project that builds a static binary named ./exploit using musl-gcc. The README states it targets vulnerable Linux kernels primarily in the v5.14-v6.6 range, with prerequisites including unprivileged user namespaces and nf_tables support, and it aims to provide a root shell after successful exploitation. Repository structure indicates the core exploit lives in src/main.c with supporting modules src/env.c, src/net.c, src/nftnl.c, and src/file.c, though those source contents were not included in the provided material. The Makefile shows the exploit is compiled statically and linked against bundled libmnl and libnftnl archives, strongly indicating the exploit interacts directly with Linux netlink/nf_tables interfaces to trigger the vulnerability. The repository also vendors a large set of fixed-version headers for libmnl, libnftnl, and Linux UAPI headers to ensure build compatibility across environments. Capabilities inferred from the README and build layout: local kernel exploitation, nftables/netlink manipulation, privilege escalation to root, and optional fileless execution of the compiled binary via memfd_create and /proc/self/fd. The README explicitly notes the exploit is intentionally unstable and may crash/panic the kernel after exploitation, which aligns with a proof-of-concept/operational LPE rather than a stealthy post-exploitation tool. Fingerprintable endpoints are mostly local file paths and build artifacts rather than remote C2 infrastructure. The only network-like observables in the provided content are documentation/reference URLs and an example placeholder download URL used in the README's fileless execution example. Based on the included headers and libraries, the actual exploit likely communicates with the kernel over local netlink sockets rather than external network services.b1nhack · Disclosed May 31, 2026 · c · makefile · local · networkOperationalCVE-2024-1086This repository is a Proof-of-Concept (PoC) local privilege escalation exploit for CVE-2024-1086, targeting the Linux kernel's nftables subsystem. The exploit is written in C and is designed to work on most Linux kernels from v5.14 to v6.6 (excluding patched branches), with the underlying vulnerability present from v3.15 to v6.8-rc1. The repository includes a Makefile for building the exploit statically using musl-gcc, with custom header and library files for compatibility. The main output is a binary named 'exploit', which, when executed on a vulnerable system, spawns a root shell. The README provides detailed usage instructions, configuration caveats, and a Perl-based fileless execution method for stealthy exploitation. The exploit requires specific kernel configurations (user namespaces, nf_tables) and is primarily tested on x64/amd64 platforms. The repository structure includes source code, build scripts, and bundled headers for libmnl, libnftnl, and Linux kernel UAPI, but the core exploit logic resides in the C source files under 'src/'. No network or remote attack vector is present; exploitation is strictly local. The exploit is operational as a PoC and does not include weaponized features such as payload customization or remote delivery.Notselwyn · Disclosed Mar 20, 2024 · c · makefile · localPoCdocker-POC_CVE-2024-1086This repository provides a Docker-based environment to build and test a local privilege escalation exploit for CVE-2024-1086, a Linux kernel vulnerability. The repository itself does not contain the exploit code, but instead clones it from https://github.com/Notselwyn/CVE-2024-1086. The Dockerfile sets up a Rocky Linux 9.3 container, installs necessary build tools, compiles musl, and builds the exploit. The container is run with elevated privileges (privileged mode, SYS_ADMIN capability, seccomp disabled) to allow the exploit to function. The README demonstrates usage, showing that running the exploit binary inside the container can result in a root shell, and in some cases, may cause the container to reboot. The main attack vector is local privilege escalation within a Linux environment. The only fingerprintable endpoints are the external GitHub repository for the exploit code and the /etc/shadow file used to demonstrate privilege escalation. The repository structure is minimal, containing only a Dockerfile, a README, and a Docker Compose file to orchestrate the environment.Alicey0719 · Disclosed Apr 3, 2024 · localPoCCVE-2024-1086This repository is a C-based exploit targeting the Linux kernel's nftables/netfilter subsystem, likely for privilege escalation or firewall bypass. The project is structured with a Makefile that compiles several C source files (main.c, env.c, net.c, nftnl.c, file.c) into a statically linked binary named 'exploit'. The repository includes custom versions of libmnl and libnftnl headers and static libraries, as well as Linux kernel headers (6.1.72), to ensure compatibility and portability. The exploit interacts with netlink sockets and manipulates nftables rules, indicating a local attack vector. No hardcoded network endpoints, IPs, or domains are present; all endpoints are local files or system interfaces. The code is operational and not a detection script or fake exploit, but the actual payload and exploit details are not visible in the provided content. The exploit is a proof-of-concept (POC) and requires local access to a Linux system with nftables/netfilter support.ndt2111200203 · Disclosed Dec 9, 2025 · c · localPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Debian ProjectDebian Linuxoperating_system
Fedora ProjectFedoraoperating_system
LinuxLinux Kerneloperating_system
NetApp500f Firmwareoperating_system
NetAppA250 Firmwareoperating_system
NetAppBootstrap Osoperating_system
NetAppC250 Firmwareoperating_system
NetAppH300s Firmwareoperating_system
NetAppH410c Firmwareoperating_system
NetAppH410s Firmwareoperating_system
NetAppH500s Firmwareoperating_system
NetAppH700s Firmwareoperating_system
Red HatEnterprise Linux Desktopoperating_system
Red HatEnterprise Linux For Ibm Z Systemsoperating_system
Red HatEnterprise Linux For Power Big Endianoperating_system
Red HatEnterprise Linux For Power Little Endianoperating_system
Red HatEnterprise Linux Serveroperating_system
Red HatEnterprise Linux Workstationoperating_system
FAQ

Frequently asked questions

Is CVE-2024-1086 exploited in the wild?
Yes. As of Nov 24, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on May 30, 2024.
Is there a public exploit for CVE-2024-1086?
Yes. Mallory tracks 7 public exploits or proofs of concept for CVE-2024-1086, the earliest disclosed Mar 20, 2024.
Is there a patch for CVE-2024-1086?
Install the Linux distribution's security update incorporating upstream fix f342de4e2f33e0e39165d8639387aa6c19dff660 or its vendor backport. Reboot into the corrected kernel unless an applicable vendor-supported live patch has been successfully loaded.
What products are affected by CVE-2024-1086?
Linux Kernel, NetApp 500f Firmware, NetApp A250 Firmware, NetApp Bootstrap Os, NetApp C250 Firmware, and 13 more.
How severe is CVE-2024-1086?
CVE-2024-1086 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 2.4% (85th percentile) as of Nov 24, 2026.
Activity feed

Recent activity

107 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
palo alto networks unit 42 blogNews · Nov 24, 2026Recent Trends and Tactics of Agentic AI AttacksA privilege-escalation vulnerability targeted using a publicly available precompiled exploit after a PwnKit binary failed. After exhausting both public binaries, the agent attempted custom C code and then a Python implementation. Successful exploitation is not established.Read more ↗tenable nessus pluginsNews · Oct 23, 2026Rocky Linux 9.2 [CIQ] Security Update: bpftool / kernel / kern... | Tenable®A vulnerability affecting kernel packages in Rocky Linux 9.2, addressed by CIQ advisory ciqsa-2026_1665. The reference does not describe its technical mechanism. Exploit availability and a CISA Known Exploited Vulnerability due date are reported at the combined plugin level, without identifying the applicable CVE or CVEs.Read more ↗tenable nessus pluginsNews · Oct 23, 2026Rocky Linux 8.10 [CIQ] Security Update: bpftool / kernel / ker... | Tenable®A vulnerability addressed by the advisory's kernel package updates. No vulnerability-specific technical details are supplied.Read more ↗tenable nessus pluginsNews · Oct 18, 2026CentOS Linux 8.4 [TuxCare] Security Update: bpftool / kernel /... | Tenable®Listed among the vulnerabilities addressed by the CentOS Linux 8.4 TuxCare advisory and identified as the source of the plugin's CVSS v3 score of 7.8. Its temporal vector indicates high exploit maturity and an official fix. The plugin also reports a CISA known-exploited due date, but does not explicitly map that date to an individual CVE.Read more ↗
+45 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malware2Malware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity54Community discussion across Reddit, Mastodon, and other social sources.