cve.bz

CVE-2024-0193 Use After Free

6.7 mediumEPSS 0.8%Fix available

Medium (6.7). EPSS 0.8% estimated probability of exploitation activity in the next 30 days.

On this page
A use-after-free flaw was found in the netfilter subsystem of the Linux kernel. If the catchall element is garbage-collected when the pipapo set is removed, the element can be deactivated twice. This can cause a use-after-free issue on an NFT_CHAIN object or NFT_OBJECT object, allowing a local unprivileged user with CAP_NET_ADMIN capability to escalate their privileges on the system.

Severity

CVSS 3.1

6.7 medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 59th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2024-07-02. 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-0193 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-0193?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-0193?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-0193 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.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 90:5.14.0-362.24.1.el9_3
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions0:5.14.0-70.105.1.el9_0
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions0:5.14.0-70.105.1.rt21.177.el9_0
Red Hat Enterprise Linux 9.2 Extended Update Support0:5.14.0-284.55.1.el9_2
Red Hat Enterprise Linux 9.2 Extended Update Support0:5.14.0-284.55.1.rt14.340.el9_2
Red Hat RHOL-5.8-RHEL-9v5.8.6-22
Red Hat RHOL-5.8-RHEL-9v5.8.6-11
Red Hat RHOL-5.8-RHEL-9v6.8.1-407
Red Hat RHOL-5.8-RHEL-9v5.8.6-19
Red Hat RHOL-5.8-RHEL-9v1.0.0-479
Red Hat RHOL-5.8-RHEL-9v5.8.6-7
Red Hat RHOL-5.8-RHEL-9v0.4.0-247
Red Hat RHOL-5.8-RHEL-9v5.8.6-5
Red Hat RHOL-5.8-RHEL-9v1.1.0-227
Red Hat RHOL-5.8-RHEL-9v5.8.1-470
Red Hat RHOL-5.8-RHEL-9v2.9.6-14
Red Hat RHOL-5.8-RHEL-9v5.8.6-2
Red Hat RHOL-5.8-RHEL-9v5.8.6-24
Red Hat RHOL-5.8-RHEL-9v5.8.6-10
Red Hat RHOL-5.8-RHEL-9v0.1.0-525
Red Hat RHOL-5.8-RHEL-9v0.1.0-224
Red Hat RHOL-5.8-RHEL-9v0.28.1-56

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12linux6.1.69-1DEBIAN-CVE-2024-0193
Debian13, 14linux6.6.11-1DEBIAN-CVE-2024-0193
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2024-0193
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 11 moreno fix listedUBUNTU-CVE-2024-0193
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1052.57~20.04.1UBUNTU-CVE-2024-0193 USN-6609-1
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1054.62~20.04.1UBUNTU-CVE-2024-0193 USN-6607-1
Ubuntu20.04:LTSlinux-azure-fde-5.155.15.0-1054.62~20.04.1.1USN-6607-1
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1049.57~20.04.1UBUNTU-CVE-2024-0193 USN-6609-1
Ubuntu20.04:LTSlinux-gke, linux-riscv, linux-raspi2 and 24 moreno fix listedUBUNTU-CVE-2024-0193
Ubuntu20.04:LTSlinux-gkeop-5.155.15.0-1035.41~20.04.1UBUNTU-CVE-2024-0193 USN-6609-1
Ubuntu20.04:LTSlinux-hwe-5.15, linux-lowlatency-hwe-5.155.15.0-92.102~20.04.1UBUNTU-CVE-2024-0193 USN-6609-1
Ubuntu20.04:LTSlinux-ibm-5.155.15.0-1045.48~20.04.1UBUNTU-CVE-2024-0193 USN-6609-1
Ubuntu20.04:LTSlinux-intel-iotg-5.155.15.0-1048.54~20.04.1UBUNTU-CVE-2024-0193 USN-6628-2
Ubuntu20.04:LTSlinux-nvidia-tegra-5.155.15.0-1022.22~20.04.1UBUNTU-CVE-2024-0193
94 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 24 more0:5.14.0-362.24.1.el9_3RHSA-2024:1248
Red Hatenterprise_linux:9::appstream, enterprise_linux:9::crb, enterprise_linux:9::nfv and 1 morebpftool-debuginfo0:7.2.0-362.24.1.el9_3RHSA-2024:1248
Red Hatenterprise_linux:9::baseosbpftool, bpftool-debuginfo0:7.2.0-362.24.1.el9_3RHSA-2024:1248
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 41 more0:5.14.0-362.24.1.el9_3RHSA-2024:1248
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 12 more0:5.14.0-362.24.1.el9_3RHSA-2024:1248
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 20 more0:5.14.0-362.24.1.el9_3RHSA-2024:1248
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-362.24.1.el9_3RHSA-2024:1248
Red Hatrhel_e4s:9.0::appstreamperf, kernel-doc, kernel-devel and 16 more0:5.14.0-70.105.1.el9_0RHSA-2024:4415
Red Hatrhel_e4s:9.0::baseoskernel, bpftool, kernel-core and 25 more0:5.14.0-70.105.1.el9_0RHSA-2024:4415
Red Hatrhel_e4s:9.0::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:5.14.0-70.105.1.rt21.177.el9_0RHSA-2024:4412
Red Hatrhel_e4s:9.0::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:5.14.0-70.105.1.rt21.177.el9_0RHSA-2024:4412
Red Hatrhel_eus:9.2::appstreamperf, rtla, kernel-doc and 22 more0:5.14.0-284.55.1.el9_2RHSA-2024:1018
6 more for Red Hat in the JSON and on Red Hat's page.
Rocky Linux9kernel0:5.14.0-362.24.1.el9_3.cloud.0.6RXSA-2024:1248
Alpaquita23linux-lts6.1.140-r0BELL-CVE-2024-0193

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; Rocky Linux's errata, BSD-3-Clause; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

The upstream commit that introduced this flaw (5f68718b34a5 "netfilter: nf_tables: GC transaction API to avoid race with control plane") is not included in any shipped kernel releases of Red Hat Enterprise Linux 6, 7, and 8.

Only local users with `CAP_NET_ADMIN` capability or root can trigger this issue.

On Red Hat Enterprise Linux, local unprivileged users can exploit unprivileged user namespaces (CONFIG_USER_NS) to grant themselves this capability.

The OpenShift Container Platform (OCP) control planes or master machines are based on Red Hat Enterprise Linux CoreOS (RHCOS) that consists primarily of RHEL components, therefore, it is also affected by this kernel vulnerability. A successful exploit needs necessary privileges (CAP_NET_ADMIN) and direct, local access. A local user in RHCOS is already a root with full permissions, hence existence of this vulnerability does not bring any value from the potential attacker perspective. From the OpenShift containers perspective, this vulnerability cannot be exploited as in OpenShift the cluster processes on the node are namespaced, which means that switching the namespace in the running OpenShift container will not bring necessary capabilities.

This means that for OpenShift, the impact of this vulnerability is Low.

Similar to the CVE-2023-32233 vulnerability, this has been explained in the following blog post as an example of a "Container escape vulnerability":

https://www.redhat.com/en/blog/containers-vulnerability-risk-assessment

Red Hat's mitigation

In order to trigger the issue, it requires the ability to create user/net namespaces.

On non-containerized deployments of Red Hat Enterprise Linux 8, you can disable user namespaces by setting user.max_user_namespaces to 0:

# 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 this mitigation as the functionality is needed to be enabled.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9kernel-0:5.14.0-362.24.1.el9_3Fixed 2024-03-12RHSA-2024:1248
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionskernel-0:5.14.0-70.105.1.el9_0Fixed 2024-07-09RHSA-2024:4415
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionskernel-rt-0:5.14.0-70.105.1.rt21.177.el9_0Fixed 2024-07-09RHSA-2024:4412
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
RHOL-5.8-RHEL-9openshift-logging/cluster-logging-operator-bundle:v5.8.6-22Fixed 2024-05-01RHSA-2024:2094
RHOL-5.8-RHEL-9openshift-logging/cluster-logging-rhel9-operator:v5.8.6-11Fixed 2024-05-01RHSA-2024:2094
RHOL-5.8-RHEL-9openshift-logging/elasticsearch6-rhel9:v6.8.1-407Fixed 2024-05-01RHSA-2024:2094
RHOL-5.8-RHEL-9openshift-logging/elasticsearch-operator-bundle:v5.8.6-19Fixed 2024-05-01RHSA-2024:2094
RHOL-5.8-RHEL-9openshift-logging/elasticsearch-proxy-rhel9:v1.0.0-479Fixed 2024-05-01RHSA-2024:2094
RHOL-5.8-RHEL-9openshift-logging/elasticsearch-rhel9-operator:v5.8.6-7Fixed 2024-05-01RHSA-2024:2094
RHOL-5.8-RHEL-9openshift-logging/eventrouter-rhel9:v0.4.0-247Fixed 2024-05-01RHSA-2024:2094
RHOL-5.8-RHEL-9openshift-logging/fluentd-rhel9:v5.8.6-5Fixed 2024-05-01RHSA-2024:2094
RHOL-5.8-RHEL-9openshift-logging/log-file-metric-exporter-rhel9:v1.1.0-227Fixed 2024-05-01RHSA-2024:2094
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
8 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-0193.

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.

References

Check your stackJSON