cve.bz

CVE-2024-1085 linux linux kernel: Use After Free

7.8 highEPSS 0.3%Fix available

High (7.8) in linux linux kernel. EPSS 0.3% 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_setelem_catchall_deactivate() function checks whether the catch-all set element is active in the current generation instead of the next generation before freeing it, but only flags it inactive in the next generation, making it possible to free the element multiple times, leading to a double free vulnerability. We recommend upgrading past commit b1db244ffd041a49ecc9618e8feb6b5c1afcdaa7.

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
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 21st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-05-08. 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, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-1085 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-1085?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-1085?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-1085 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 5.13 before 6.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12linux6.1.76-1DEBIAN-CVE-2024-1085
Debian13, 14linux6.6.15-1DEBIAN-CVE-2024-1085
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2024-1085
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 11 moreno fix listedUBUNTU-CVE-2024-1085
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1056.61~20.04.1UBUNTU-CVE-2024-1085 USN-6705-1
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1059.67~20.04.1UBUNTU-CVE-2024-1085 USN-6704-1
Ubuntu20.04:LTSlinux-azure-fde-5.155.15.0-1059.67~20.04.1.1USN-6704-1
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1054.62~20.04.1UBUNTU-CVE-2024-1085 USN-6704-1
Ubuntu20.04:LTSlinux-gke, linux-riscv, linux-raspi2 and 24 moreno fix listedUBUNTU-CVE-2024-1085
Ubuntu20.04:LTSlinux-gkeop-5.155.15.0-1039.45~20.04.1UBUNTU-CVE-2024-1085 USN-6704-1
Ubuntu20.04:LTSlinux-hwe-5.15, linux-lowlatency-hwe-5.155.15.0-101.111~20.04.1UBUNTU-CVE-2024-1085 USN-6704-1
Ubuntu20.04:LTSlinux-ibm-5.155.15.0-1049.52~20.04.1UBUNTU-CVE-2024-1085 USN-6704-1
Ubuntu20.04:LTSlinux-intel-iotg-5.155.15.0-1051.57~20.04.1UBUNTU-CVE-2024-1085 USN-6704-4
Ubuntu20.04:LTSlinux-nvidia-tegra-5.155.15.0-1025.25~20.04.1UBUNTU-CVE-2024-1085
57 more for Ubuntu in the JSON and on Ubuntu's page.
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
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 43 more0:5.14.0-427.13.1.el9_4RHSA-2024:2394
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 14 more0:5.14.0-427.13.1.el9_4RHSA-2024:2394
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 20 more0:5.14.0-427.13.1.el9_4RHSA-2024:2394
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-427.13.1.el9_4RHSA-2024:2394
Red Hatrhel_eus:9.2::appstreamperf, rtla, kernel-doc and 22 more0:5.14.0-284.55.1.el9_2RHSA-2024:1018
Red Hatrhel_eus:9.2::appstream, rhel_eus:9.2::crbbpftool-debuginfo0:7.0.0-284.55.1.el9_2RHSA-2024:1018
Red Hatrhel_eus:9.2::baseosbpftool, bpftool-debuginfo0:7.0.0-284.55.1.el9_2RHSA-2024:1018
Red Hatrhel_eus:9.2::baseoskernel, kernel-64k, kernel-core and 40 more0:5.14.0-284.55.1.el9_2RHSA-2024:1018
Red Hatrhel_eus:9.2::crbperf-debuginfo, kernel-debuginfo, kernel-64k-debuginfo and 10 more0:5.14.0-284.55.1.el9_2RHSA-2024:1018
2 more for Red Hat in the JSON and on Red Hat's page.
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 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 15 SP4kernel-livepatch-SLE15-SP4-RT_Update_181-150400.1.3.1SUSE-SU-2024:0476-1
SUSELinux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4_Update_1013-150400.2.1SUSE-SU-2024:1299-1
SUSELinux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4_Update_1212-150400.2.1SUSE-SU-2024:1312-1
SUSELinux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4_Update_168-150400.2.1SUSE-SU-2024:1288-1
SUSELinux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4_Update_196-150400.2.1SUSE-SU-2024:1292-1
SUSELinux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4_Update_205-150400.2.1SUSE-SU-2024:1318-1
SUSELinux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4_Update_223-150400.2.1SUSE-SU-2024:1298-1
SUSELinux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4_Update_231-150400.9.5.1SUSE-SU-2024:0515-1
21 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
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
Azure Linux3kernel6.6.35.1-5AZL-62764
Alpaquita23, streamlinux-lts6.1.81-r0BELL-CVE-2024-1085

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; 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 Moderate.

Red Hat's statement

This flaw is rated as a having Moderate impact, because it can only be exploited by a local user with access to netfilter.

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 user namespaces are required for container functionality. The first mitigation (blacklisting nf_tables) is still viable for containerized deployments, providing the environment is not using netfilter.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9kernel-0:5.14.0-427.13.1.el9_4Fixed 2024-04-30RHSA-2024:2394
Red Hat Enterprise Linux 9.2 Extended Update Supportkernel-0:5.14.0-284.55.1.el9_2Fixed 2024-02-28RHSA-2024:1018
Red Hat Enterprise Linux 9.2 Extended Update Supportkernel-rt-0:5.14.0-284.55.1.rt14.340.el9_2Fixed 2024-02-28RHSA-2024:1019
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernel-rtAffected

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-1085.

References

Check your stackJSON