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.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Kernel | >= 3.15, < 6.8 |
| linux | linux_kernel | >= 3.15, < 6.8 |
References
- http://www.openwall.com/lists/oss-security/2024/04/10/22Mailing List, Patch
- http://www.openwall.com/lists/oss-security/2024/04/10/23Mailing List, Patch
- http://www.openwall.com/lists/oss-security/2024/04/14/1Exploit, Mailing List
- http://www.openwall.com/lists/oss-security/2024/04/15/2Mailing List
- http://www.openwall.com/lists/oss-security/2024/04/17/5Exploit, Mailing List
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f342de4e2f33e0e39165d8639387aa6c19dff660Patch
- https://github.com/Notselwyn/CVE-2024-1086Exploit, Third Party Advisory
- https://kernel.dance/f342de4e2f33e0e39165d8639387aa6c19dff660Patch
- https://lists.debian.org/debian-lts-announce/2024/06/msg00016.htmlMailing List
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.htmlMailing List
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7LSPIOMIJYTLZB6QKPQVVAYSUETUWKPF/Mailing List
- https://news.ycombinator.com/item?id=39828424Issue Tracking
- https://pwning.tech/nftables/Exploit, Technical Description, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20240614-0009/Third Party Advisory
- http://www.openwall.com/lists/oss-security/2024/04/10/22Mailing List, Patch
- http://www.openwall.com/lists/oss-security/2024/04/10/23Mailing List, Patch
- http://www.openwall.com/lists/oss-security/2024/04/14/1Exploit, Mailing List
- http://www.openwall.com/lists/oss-security/2024/04/15/2Mailing List
- http://www.openwall.com/lists/oss-security/2024/04/17/5Exploit, Mailing List
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f342de4e2f33e0e39165d8639387aa6c19dff660Patch
- https://github.com/Notselwyn/CVE-2024-1086Exploit, Third Party Advisory
- https://kernel.dance/f342de4e2f33e0e39165d8639387aa6c19dff660Patch
- https://lists.debian.org/debian-lts-announce/2024/06/msg00016.htmlMailing List
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.htmlMailing List
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7LSPIOMIJYTLZB6QKPQVVAYSUETUWKPF/Mailing List
- https://news.ycombinator.com/item?id=39828424Issue Tracking
- https://pwning.tech/nftables/Exploit, Technical Description, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20240614-0009/Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-1086US Government Resource
Timeline
- Published
- Jan 31, 2024
- Last modified
- Aug 7, 2026
- Added to CISA KEV
- May 30, 2024
- NVD status
- Analyzed