[ CVE-2024-1086 · Published 31 Jan 2024 ]
Linux Kernel Use-After-Free Vulnerability
[ Why it matters ]Priority signals
- Exploited in the wild: on CISA's Known Exploited Vulnerabilities list since 2024-05-30
- Known to be used in ransomware campaigns
- EPSS: 28% chance of exploitation in the next 30 days (higher than 98% of CVEs)
[ Description ]Official 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.
CISA: Linux kernel contains a use-after-free vulnerability in the netfilter: nf_tables component that allows an attacker to achieve local privilege escalation.
[ Fixes ]Fixes and patches
CISA required action (US federal deadline 20 Jun 2024): Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
- Patch on openwall.comVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
- Patch on openwall.comVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
- Patch on git.kernel.orgVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
- Patch on kernel.danceVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
[ References ]References
- www.openwall.com/lists/oss-security/2024/04/10/22Mailing ListPatch
- www.openwall.com/lists/oss-security/2024/04/10/23Mailing ListPatch
- www.openwall.com/lists/oss-security/2024/04/14/1ExploitMailing List
- www.openwall.com/lists/oss-security/2024/04/15/2Mailing List
- www.openwall.com/lists/oss-security/2024/04/17/5ExploitMailing List
- git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commitPatch
- github.com/Notselwyn/CVE-2024-1086ExploitThird Party Advisory
- kernel.dance/f342de4e2f33e0e39165d8639387aa6c19dff660Patch
- lists.debian.org/debian-lts-announce/2024/06/msg00016.htmlMailing List
- lists.debian.org/debian-lts-announce/2024/06/msg00020.htmlMailing List
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/…Mailing List
- news.ycombinator.com/itemIssue Tracking
- pwning.tech/nftablesExploitTechnical DescriptionThird Party Advisory
- security.netapp.com/advisory/ntap-20240614-0009Third Party Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalogUS Government Resource