cve.bz

CVE-2024-1086 Linux Kernel Use-After-Free Vulnerability

7.8 highKEVExploit referenceEPSS 28%Fix available

High (7.8) in Linux Kernel. In CISA KEV since 2024-05-30, with known ransomware use. EPSS 28% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
28% (unchanged from 28% a week ago; 28% 30 days ago) estimated probability of exploitation activity in the next 30 days; 98th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2024-05-30, due 2024-06-20, known ransomware use
CISA's assessment (SSVC)
Exploitation: active · Automatable: no · Technical impact: total, assessed 2024-06-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-1086 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-1086?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-1086?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-1086 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux Kernelfrom 3.15 before 6.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux4.19.316-1DLA-3840-1
Debian10linux-5.105.10.209-2~deb10u1DLA-3841-1
Debian12linux6.1.76-1DEBIAN-CVE-2024-1086
Debian13, 14linux6.6.15-1DEBIAN-CVE-2024-1086
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2024-1086
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2024-1086
Ubuntu20.04:LTSlinux5.4.0-174.193UBUNTU-CVE-2024-1086 USN-6702-1
Ubuntu20.04:LTSlinux-aws5.4.0-1121.131UBUNTU-CVE-2024-1086 USN-6702-2
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1056.61~20.04.1UBUNTU-CVE-2024-1086 USN-6705-1
Ubuntu20.04:LTSlinux-azure5.4.0-1126.133UBUNTU-CVE-2024-1086 USN-6716-1
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1059.67~20.04.1UBUNTU-CVE-2024-1086 USN-6704-1
Ubuntu20.04:LTSlinux-azure-fde-5.155.15.0-1059.67~20.04.1.1USN-6704-1
Ubuntu20.04:LTSlinux-bluefield5.4.0-1081.88UBUNTU-CVE-2024-1086 USN-6702-1
Ubuntu20.04:LTSlinux-gcp5.4.0-1125.134UBUNTU-CVE-2024-1086 USN-6702-1
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1054.62~20.04.1UBUNTU-CVE-2024-1086 USN-6704-1
Ubuntu20.04:LTSlinux-gke, linux-riscv, linux-raspi2 and 24 moreno fix listedUBUNTU-CVE-2024-1086
116 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:7::client, enterprise_linux:7::workstationperf, kernel, bpftool and 16 more0:3.10.0-1160.114.2.el7RHSA-2024:1249
Red Hatenterprise_linux:7::computenodeperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 5 more0:3.10.0-1160.114.2.el7RHSA-2024:1249
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_105_1, kpatch-patch-3_10_0-1160_105_1-debuginfo0:1-4.el7RHSA-2024:4073
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_108_1, kpatch-patch-3_10_0-1160_108_1-debuginfo0:1-3.el7RHSA-2024:4073
Red Hatenterprise_linux:7::serverperf, kernel, bpftool and 23 more0:3.10.0-1160.114.2.el7RHSA-2024:1249
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-513.24.1.el8_9RHSA-2024:1607
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-513.24.1.el8_9RHSA-2024:1607
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-513.24.1.rt7.326.el8_9RHSA-2024:1614
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-513.24.1.rt7.326.el8_9RHSA-2024:1614
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 26 more0:5.14.0-427.13.1.el9_4RHSA-2024:2394
Red Hatenterprise_linux:9::appstream, enterprise_linux:9::crb, enterprise_linux:9::nfv and 1 morebpftool-debuginfo0:7.3.0-427.13.1.el9_4RHSA-2024:2394
Red Hatenterprise_linux:9::baseosbpftool, bpftool-debuginfo0:7.3.0-427.13.1.el9_4RHSA-2024:2394
41 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-docs, kernel-syms and 4 more5.3.18-150300.59.150.1SUSE-SU-2024:0474-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 morekernel-default-base5.3.18-150300.59.150.1.150300.18.88.1SUSE-SU-2024:0474-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.194.1SUSE-SU-2024:0484-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.178.1SUSE-SU-2024:0478-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.150.1SUSE-SU-2024:0474-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 1 morekernel-default5.14.21-150400.24.108.1SUSE-SU-2024:0515-1
SUSELinux Enterprise High Availability Extension 15 SP5, Linux Enterprise Live Patching 15 SP5, Linux Enterprise Micro 5.5 and 2 morekernel-default5.14.21-150500.55.49.1SUSE-SU-2024:0516-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2kernel-default-base5.3.18-150200.24.178.1.150200.9.91.1SUSE-SU-2024:0478-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2kernel-docs, kernel-syms, kernel-source and 3 more5.3.18-150200.24.178.1SUSE-SU-2024:0478-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSSkernel-64kb, kernel-docs, kernel-syms and 3 more5.14.21-150400.24.108.1SUSE-SU-2024:0515-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 morekernel-default-base5.14.21-150400.24.108.1.150400.24.50.2SUSE-SU-2024:0515-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_4214-2.1SUSE-SU-2024:1505-1
58 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.5dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150500.55.49.1SUSE-SU-2024:0516-1
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.34.1SUSE-SU-2024:0514-1
openSUSELeap 15.5kernel-default-base5.14.21-150500.55.49.1.150500.6.21.2SUSE-SU-2024:0516-1
openSUSELeap 15.5kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150500.13.35.1SUSE-SU-2024:0469-1
openSUSELeap Micro 5.3, Leap Micro 5.4kernel-default5.14.21-150400.24.108.1SUSE-SU-2024:0515-1
openSUSELeap Micro 5.3, Leap Micro 5.4kernel-default-base5.14.21-150400.24.108.1.150400.24.50.2SUSE-SU-2024:0515-1
openSUSELeap Micro 5.3, Leap Micro 5.4kernel-rt5.14.21-150400.15.68.1SUSE-SU-2024:0476-1
AlmaLinux8perf, kernel, bpftool and 21 more4.18.0-513.24.1.el8_9ALSA-2024:1607
AlmaLinux9bpftool7.3.0-427.13.1.el9_4ALSA-2024:2394
AlmaLinux9rv, perf, rtla and 58 more5.14.0-427.13.1.el9_4ALSA-2024:2394
Rocky Linux8kernel0:4.18.0-513.24.1.el8_9RLSA-2024:1607
Rocky Linux8kernel0:4.18.0-513.24.1.el8_9.cloud.0.1RXSA-2024:1607
Rocky Linux8kernel-rt0:4.18.0-513.24.1.rt7.326.el8_9RLSA-2024:1614
Azure Linux2kernel5.15.153.1-1AZL-34155
Azure Linux3kernel6.6.22.1-2AZL-34874
Alpaquita23, streamlinux-lts6.1.81-r0BELL-CVE-2024-1086

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This flaw is rated as having an Important impact. There is the limitation that it can only be exploited by a local user with access to Netfilter, but can still allow privilege escalation if user namespaces are enabled and Netfilter is being used.

Red Hat's mitigation

1. This flaw can be mitigated by preventing the affected netfilter (nf_tables) kernel module from being loaded. For instructions on how to blacklist a kernel module, please see https://access.redhat.com/solutions/41278.

2. If the module cannot be disabled, on non-containerized deployments of Red Hat Enterprise Linux, the mitigation is to disable user namespaces:

```

# echo "user.max_user_namespaces=0" > /etc/sysctl.d/userns.conf

# sysctl -p /etc/sysctl.d/userns.conf

```

On containerized deployments, such as Red Hat OpenShift Container Platform, do not use the second mitigation (disabling user namespaces) as the functionality is needed to be enabled. The first mitigation (blacklisting nf_tables) is still viable for containerized deployments, providing the environment is not using netfilter.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7kernel-rt-0:3.10.0-1160.114.2.rt56.1266.el7Fixed 2024-03-14RHSA-2024:1332
Red Hat Enterprise Linux 7kernel-0:3.10.0-1160.114.2.el7Fixed 2024-03-12RHSA-2024:1249
Red Hat Enterprise Linux 7kpatch-patchFixed 2024-06-25RHSA-2024:4073
Red Hat Enterprise Linux 7.6 Advanced Update Supportkernel-0:3.10.0-957.113.1.el7Fixed 2024-05-23RHSA-2024:3318
Red Hat Enterprise Linux 7.7 Advanced Update Supportkernel-0:3.10.0-1062.88.1.el7Fixed 2024-05-23RHSA-2024:3319
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-513.24.1.rt7.326.el8_9Fixed 2024-04-02RHSA-2024:1614
Red Hat Enterprise Linux 8kernel-0:4.18.0-513.24.1.el8_9Fixed 2024-04-02RHSA-2024:1607
Red Hat Enterprise Linux 8.2 Advanced Update Supportkernel-0:4.18.0-193.135.1.el8_2Fixed 2024-05-31RHSA-2024:3528
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportkernel-0:4.18.0-305.131.1.el8_4Fixed 2024-05-31RHSA-2024:3529
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicekernel-rt-0:4.18.0-305.131.1.rt7.207.el8_4Fixed 2024-05-31RHSA-2024:3530
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicekernel-0:4.18.0-305.131.1.el8_4Fixed 2024-05-31RHSA-2024:3529
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionskernel-0:4.18.0-305.131.1.el8_4Fixed 2024-05-31RHSA-2024:3529
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionskpatch-patchFixed 2024-06-11RHSA-2024:3805
Red Hat Enterprise Linux 8.6 Extended Update Supportkernel-0:4.18.0-372.93.1.el8_6Fixed 2024-02-21RHSA-2024:0930
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionskpatch-patchFixed 2024-06-25RHSA-2024:4075
Red Hat Enterprise Linux 8.8 Extended Update Supportkernel-0:4.18.0-477.51.1.el8_8Fixed 2024-03-19RHSA-2024:1404
Red Hat Enterprise Linux 8.8 Extended Update Supportkpatch-patchFixed 2024-05-06RHSA-2024:2697
Red Hat Enterprise Linux 9kernel-0:5.14.0-427.13.1.el9_4Fixed 2024-04-30RHSA-2024:2394
Red Hat Enterprise Linux 9.0 Extended Update Supportkernel-0:5.14.0-70.101.1.el9_0Fixed 2024-05-28RHSA-2024:3421
Red Hat Enterprise Linux 6kernelNot affected
24 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-1086.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-25-226-15Siemens SINEC OS2025-08-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and Facilitiesnone listednone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

2 more

References

Check your stackJSON