# CVE-2024-1086: Use-after-free in Linux kernel's netfilter: nf\_tables component

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Yes: in CISA KEV since 2024-05-30; federal due date 2024-06-20; known ransomware use
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 2.44% (percentile 85, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-01-31T12:14:34.073Z
- **Modified:** 2026-08-07T19:59:58.823Z

## Who should check

- Anyone running Linux Kernel \>= 3.15, \< 6.8

## Description

A use-after-free vulnerability in the Linux kernel's netfilter: nf\_tables component can be exploited to achieve local privilege escalation.



The nft\_verdict\_init() function allows positive values as drop error within the hook verdict, and hence the nf\_hook\_slow() function can cause a double free vulnerability when NF\_DROP is issued with a drop error which resembles NF\_ACCEPT.



We recommend upgrading past commit f342de4e2f33e0e39165d8639387aa6c19dff660.

## Affected and fixed versions

- Linux Kernel: \>= 3.15, \< 6.8 (cvelist)

## Mitigation

- Upgrade Kernel to 6.8 or later.

## Timeline

- 2024-01-31: Published
- 2024-05-30: Added to CISA KEV (exploited in the wild)
- 2024-06-20: CISA remediation due date for US federal agencies
- 2026-08-07: Last modified

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-1086. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-1086.md
Affected: Linux Kernel >= 3.15, < 6.8
Fixed in: Linux Kernel 6.8

Steps:
1. Search this machine and project for Linux Kernel: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-1086 being exploited?

Yes. CISA lists CVE-2024-1086 in its Known Exploited Vulnerabilities catalog since 2024-05-30, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 2.44% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-1086?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-1086?

Linux Kernel \>= 3.15, \< 6.8.

### Is there a fix for CVE-2024-1086?

Yes. Fixed in Linux Kernel 6.8. Upgrade Kernel to 6.8 or later.

### How do I check if I'm affected by CVE-2024-1086?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f342de4e2f33e0e39165d8639387aa6c19dff660>
- patch: <https://kernel.dance/f342de4e2f33e0e39165d8639387aa6c19dff660>
- patch: <http://www.openwall.com/lists/oss-security/2024/04/10/23>
- patch: <http://www.openwall.com/lists/oss-security/2024/04/10/22>
- exploit: <https://github.com/Notselwyn/CVE-2024-1086>
- exploit: <https://pwning.tech/nftables/>
- exploit: <http://www.openwall.com/lists/oss-security/2024/04/14/1>
- exploit: <http://www.openwall.com/lists/oss-security/2024/04/17/5>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7LSPIOMIJYTLZB6QKPQVVAYSUETUWKPF/>
- other: <https://news.ycombinator.com/item?id=39828424>
- other: <http://www.openwall.com/lists/oss-security/2024/04/15/2>
- other: <https://security.netapp.com/advisory/ntap-20240614-0009/>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>
- other: <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-1086>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-1086>
- CISA KEV: CISA Known Exploited Vulnerabilities Catalog <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>

HTML: <https://flawdb.com/CVE-2024-1086> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-1086>
