CVE-2024-1086 — linux
HIGHCVE-2024-1086 is a high-severity (CVSS 7.8) Use After Free vulnerability. It is in CISA's Known Exploited Vulnerabilities catalog (added 2024-05-30) and has been used in ransomware campaigns — treat it as actively exploited and patch now. A fix is available — see the affected versions and patch details below.
Use-after-free in Linux kernel's netfilter: nf_tables component
Exploitation Status
Actively exploited in the wild
- Confirmed by CISA's Known Exploited Vulnerabilities catalog on 2024-05-30 — including use in ransomware campaigns. Federal agencies were required to remediate by 2024-06-20.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA (KEV catalog and SSVC triage) for CVE-2024-1086.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2024-1086 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 395,249 CVEs with a current EPSS score, this one falls in the 10–50% band (highlighted). Counts from FIRST.org, log-scaled.
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 Products
debian linuxdebianfedorafedoraprojectlinux kernellinux500f firmwarenetappa250 firmwarenetappbootstrap osnetappResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
A use-after-free vulnerability in the Linux kernel's netfilter: nf_table…
A use-after-free vulnerability in the Linux kernel's netfilter: nf_table…
A use-after-free vulnerability in the Linux kernel's netfilter: nf_table…
A use-after-free vulnerability in the Linux kernel's netfilter: nf_table…
A use-after-free vulnerability in the Linux kernel's netfilter: nf_table…
A use-after-free vulnerability in the Linux kernel's netfilter: nf_table…
A use-after-free vulnerability in the Linux kernel's netfilter: nf_table…
Detection & mitigation playbook
VulnerabilityDetect
Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).
Fix
Upgrade the affected component to the fixed release for CVE-2024-1086, or apply your distribution's backported patch — distro builds are often patched at an older version number, so check your vendor's advisory rather than the upstream version alone.
Workarounds
Constrain what reaches the vulnerable code: limit the size and shape of untrusted input, isolate the affected component in a sandboxed or least-privileged process, and enable the platform's memory-safety mitigations (ASLR, stack protector, hardened allocator) so an out-of-bounds access is more likely to fail closed than to be exploitable.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This flaw is rated as having an Important impact. There is the limitation that it can only be exploited by a local user with access to Netfilter, but can still allow privilege escalation if user namespaces are enabled and Netfilter is being used.
1. This flaw can be mitigated by preventing the affected netfilter (nf_tables) kernel module from being loaded. For instructions on how to blacklist a kernel module, please see https://access.redhat.com/solutions/41278. 2. If the module cannot be disabled, on non-containerized deployments of Red Hat Enterprise Linux, the mitigation is to disable user namespaces: ``` # echo "user.max_user_namespaces=0" > /etc/sysctl.d/userns.conf # sysctl -p /etc/sysctl.d/userns.conf ``` On containerized deployments, such as Red Hat OpenShift Container Platform, do not use the second mitigation (disabling user namespaces) as the functionality is needed to be enabled. The first mitigation (blacklisting…Source: Red Hat security advisory for CVE-2024-1086 (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat Enterprise Linux 7 | kernel-rt-0:3.10.0-1160.114.2.rt56.1266.el7 | RHSA-2024:1332 |
| Red Hat Enterprise Linux 7 | kernel-0:3.10.0-1160.114.2.el7 | RHSA-2024:1249 |
| Red Hat Enterprise Linux 7 | kpatch-patch | RHSA-2024:4073 |
| Red Hat Enterprise Linux 7.6 Advanced Update Support | kernel-0:3.10.0-957.113.1.el7 | RHSA-2024:3318 |
| Red Hat Enterprise Linux 7.7 Advanced Update Support | kernel-0:3.10.0-1062.88.1.el7 | RHSA-2024:3319 |
| Red Hat Enterprise Linux 8 | kernel-rt-0:4.18.0-513.24.1.rt7.326.el8_9 | RHSA-2024:1614 |
| Red Hat Enterprise Linux 8 | kernel-0:4.18.0-513.24.1.el8_9 | RHSA-2024:1607 |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | kernel-0:4.18.0-193.135.1.el8_2 | RHSA-2024:3528 |
Frequently Asked Questions
Is CVE-2024-1086 in your dependencies?
Find it across , including transitive dependencies.