CVE-2024-1086 Linux Kernel Use-After-Free
A use-after-free in the Linux kernel netfilter component allows local attackers to escalate privileges.
- Exploited in the wild
- Since 30 May 2024
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-1086?
CVE-2024-1086 is a high-severity use after free vulnerability in Debian Debian Linux, published on 31 Jan 2024. It can only be exploited from the same machine or local network, with no action from the victim.
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.
Weakness: CWE-416
Which versions are affected by CVE-2024-1086?
It affects 18 products.
Linux distribution packages (40)
kpatch-patch-3_10_0-1160_105_1 Red Hat:enterprise_linux:7::server | All versions | 0:1-4.el7 |
kpatch-patch-3_10_0-1160_105_1-debuginfo Red Hat:enterprise_linux:7::server | All versions | 0:1-4.el7 |
kpatch-patch-3_10_0-1160_108_1 Red Hat:enterprise_linux:7::server | All versions | 0:1-3.el7 |
kpatch-patch-3_10_0-1160_108_1-debuginfo Red Hat:enterprise_linux:7::server | All versions | 0:1-3.el7 |
bpftool Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.113.1.el7 |
kernel Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.113.1.el7 |
kernel-abi-whitelists Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.113.1.el7 |
kernel-debug Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.113.1.el7 |
kernel-debug-debuginfo Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.113.1.el7 |
kernel-debug-devel Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.113.1.el7 |
kernel-debuginfo Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.113.1.el7 |
kernel-debuginfo-common-x86_64 Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.113.1.el7 |
kernel-devel Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.113.1.el7 |
kernel-doc Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.113.1.el7 |
kernel-tools Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.113.1.el7 |
kernel-tools-debuginfo Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.113.1.el7 |
kernel-tools-libs Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.113.1.el7 |
kernel-tools-libs-devel Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.113.1.el7 |
perf Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.113.1.el7 |
perf-debuginfo Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.113.1.el7 |
python-perf Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.113.1.el7 |
python-perf-debuginfo Red Hat:rhel_aus:7.6::server | All versions | 0:3.10.0-957.113.1.el7 |
kpatch-patch-4_18_0-305_114_1 Red Hat:rhel_e4s:8.4::baseos | All versions | 0:1-3.el8_4 |
kpatch-patch-4_18_0-305_114_1-debuginfo Red Hat:rhel_e4s:8.4::baseos | All versions | 0:1-3.el8_4 |
kpatch-patch-4_18_0-305_114_1-debugsource Red Hat:rhel_e4s:8.4::baseos | All versions | 0:1-3.el8_4 |
kpatch-patch-4_18_0-305_120_1 Red Hat:rhel_e4s:8.4::baseos | All versions | 0:1-2.el8_4 |
kpatch-patch-4_18_0-305_120_1-debuginfo Red Hat:rhel_e4s:8.4::baseos | All versions | 0:1-2.el8_4 |
kpatch-patch-4_18_0-305_120_1-debugsource Red Hat:rhel_e4s:8.4::baseos | All versions | 0:1-2.el8_4 |
kpatch-patch-4_18_0-372_80_1 Red Hat:rhel_e4s:8.6::baseos | All versions | 0:1-4.el8_6 |
kpatch-patch-4_18_0-372_80_1-debuginfo Red Hat:rhel_e4s:8.6::baseos | All versions | 0:1-4.el8_6 |
kpatch-patch-4_18_0-372_80_1-debugsource Red Hat:rhel_e4s:8.6::baseos | All versions | 0:1-4.el8_6 |
kpatch-patch-4_18_0-372_87_1 Red Hat:rhel_e4s:8.6::baseos | All versions | 0:1-3.el8_6 |
kpatch-patch-4_18_0-372_87_1-debuginfo Red Hat:rhel_e4s:8.6::baseos | All versions | 0:1-3.el8_6 |
kpatch-patch-4_18_0-372_87_1-debugsource Red Hat:rhel_e4s:8.6::baseos | All versions | 0:1-3.el8_6 |
kpatch-patch-4_18_0-372_91_1 Red Hat:rhel_e4s:8.6::baseos | All versions | 0:1-2.el8_6 |
kpatch-patch-4_18_0-372_91_1-debuginfo Red Hat:rhel_e4s:8.6::baseos | All versions | 0:1-2.el8_6 |
kpatch-patch-4_18_0-372_91_1-debugsource Red Hat:rhel_e4s:8.6::baseos | All versions | 0:1-2.el8_6 |
kpatch-patch-5_14_0-70_80_1 Red Hat:rhel_eus:9.0::baseos | All versions | 0:1-4.el9_0 |
kpatch-patch-5_14_0-70_80_1-debuginfo Red Hat:rhel_eus:9.0::baseos | All versions | 0:1-4.el9_0 |
kpatch-patch-5_14_0-70_80_1-debugsource Red Hat:rhel_eus:9.0::baseos | All versions | 0:1-4.el9_0 |
Products include Debian Debian Linux, Fedoraproject Fedora, Linux kernel, Netapp 500f Firmware, Netapp A250 Firmware, Netapp Bootstrap Os and 12 more.
How do I fix CVE-2024-1086?
Apply the vendor's patch. US federal agencies must fix it by 20 Jun 2024.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2024-1086 being exploited?
Yes. Attackers have exploited CVE-2024-1086 in the wild since at least 30 May 2024, including in ransomware campaigns.
Public exploit code: 17 proofs of concept on GitHub.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as AZL-34155, AZL-34874, BELL-CVE-2024-1086, CLSA-2025-1744372501, DEBIAN-CVE-2024-1086, GHSA-gfh2-2mj9-m2cx and 9 more.