Linux kernel contains a use-after-free vulnerability in the netfilter: nf_tables component that allows an attacker to achieve local privilege escalation.
In short
CVE-2024-1086 (Linux Kernel Use-After-Free) has a CVSS 3.1 base score of 7.8, rated high. CISA added it to the Known Exploited Vulnerabilities catalog on 30 May 2024, and it has been used in ransomware campaigns. Fixed in Linux Kernel 5.15.149 or later.
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.
CVSS 3.1 breakdown
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HAffected products
- Debian Linux10.0
- Fedoraproject Fedora39
- Linux Kernel≥ 3.15 < 5.15.149 · ≥ 6.1 < 6.1.76 · ≥ 6.2 < 6.6.15 · ≥ 6.7 < 6.7.3
- Netapp 500f Firmwareall versions
- Netapp A250 Firmwareall versions
- Netapp Bootstrap OSall versions
- Netapp C250 Firmwareall versions
- Netapp H300s Firmwareall versions
- Netapp H410c Firmwareall versions
- Netapp H410s Firmwareall versions
- Netapp H500s Firmwareall versions
- Netapp H700s Firmwareall versions
- Redhat Enterprise Linux Desktop7.0
- Redhat Enterprise Linux For Ibm Z Systems7.0_s390x
- Redhat Enterprise Linux For Power Big Endian7.0_ppc64
- Redhat Enterprise Linux For Power Little Endian7.0_ppc64le
- Redhat Enterprise Linux Server7.0
- Redhat Enterprise Linux Workstation7.0
Remediation
Fixed in- Linux Kernel≥ 5.15.149
References
- https://github.com/Notselwyn/CVE-2024-1086
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f342de4e2f33e0e39165d8639387aa6c19dff660
- https://kernel.dance/f342de4e2f33e0e39165d8639387aa6c19dff660
- https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/7LSPIOMIJYTLZB6QKPQVVAYSUETUWKPF/
- https://news.ycombinator.com/item?id=39828424
- https://pwning.tech/nftables/
- https://security.netapp.com/advisory/ntap-20240614-0009/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-1086
and 5 more references
Related CVEs
Exploited and critical vulnerabilities in the same product or from the same vendor.
Data from the NVD, CISA KEV catalog and FIRST EPSS. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.
