CVEs / CVE-2024-1086
CVE-2024-1086: Linux Kernel Use-After-Free Vulnerability
- Known exploited in the CISA KEV catalog since 30 May 2024
- high 7.8 CVSS 3.1 (NVD)
- EPSS 28% chance of exploitation in the next 30 days, higher than 98% of CVEs (30 Oct 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2024-1086
Summary
Linux kernel contains a use-after-free vulnerability in the netfilter: nf_tables component that allows an attacker to achieve local privilege escalation.
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
| Product | Affected | Fixed in |
|---|---|---|
| Linux Kernel | from 3.15, before 6.8 | 6.8 |
| linux linux_kernel | from 3.15, before 6.8 | 6.8 |
Exploitation
| In CISA KEV since | 30 May 2024 |
|---|---|
| Due date for US federal agencies | 20 Jun 2024 |
| Used in ransomware campaigns | Known |
| Required action | Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. |
Severity
| CVSS 3.1 | 7.8 highCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HScored by NVD |
|---|---|
| Weakness | CWE-416 |
References
- CVE-2024-1086 on NVD
- CVE-2024-1086 in the CISA KEV catalog
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f342de4e2f33e0e39165d8639387aa6c19dff660 (cited by CISA)
- CVE-2024-1086 on OSV
- http://www.openwall.com/lists/oss-security/2024/04/10/22 Mailing List, Patch
- http://www.openwall.com/lists/oss-security/2024/04/10/23 Mailing List, Patch
- http://www.openwall.com/lists/oss-security/2024/04/14/1 Exploit, Mailing List
- http://www.openwall.com/lists/oss-security/2024/04/15/2 Mailing List
- http://www.openwall.com/lists/oss-security/2024/04/17/5 Exploit, Mailing List
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f342de4e2f33e0e39165d8639387aa6c19dff660 Patch
- https://github.com/Notselwyn/CVE-2024-1086 Exploit, Third Party Advisory
- https://kernel.dance/f342de4e2f33e0e39165d8639387aa6c19dff660 Patch
- https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html Mailing List
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html Mailing List
- https://lists.fedoraproject.org/archives/list/[email protected]/message/7LSPIOMIJYTLZB6QKPQVVAYSUETUWKPF/ Mailing List
- https://news.ycombinator.com/item?id=39828424 Issue 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-1086 US Government Resource
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.