Kernel: netfilter: use-after-free in nft_trans_gc_catchall_sync leads to privilege escalation

Summary

CVECVE-2024-0193
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-01-02 18:15:08 UTC
Updated2026-05-15 17:45:36 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 6.7 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Problem Types: CWE-416 | CWE-416 Use After Free


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary6.7MEDIUMCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
3.1[email protected]Secondary7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1CNACVSS7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Redhat Codeready Linux Builder For Arm64 9.0_aarch64 All All All
Application Redhat Codeready Linux Builder For Arm64 Eus 9.4_aarch64 All All All
Application Redhat Codeready Linux Builder For Arm64 Eus 9.6_aarch64 All All All
Application Redhat Codeready Linux Builder For Ibm Z Systems 9.0_s390x All All All
Application Redhat Codeready Linux Builder For Ibm Z Systems Eus 9.2_s390x All All All
Application Redhat Codeready Linux Builder For Ibm Z Systems Eus 9.4_s390x All All All
Application Redhat Codeready Linux Builder For Ibm Z Systems Eus 9.6_s390x All All All
Application Redhat Codeready Linux Builder For Power Little Endian 9.0_ppc64le All All All
Application Redhat Codeready Linux Builder For Power Little Endian Eus 9.2_ppc64le All All All
Application Redhat Codeready Linux Builder For Power Little Endian Eus 9.4_ppc64le All All All
Application Redhat Codeready Linux Builder For Power Little Endian Eus 9.6_ppc64le All All All
Application Redhat Codeready Linux Builder For X86 64 Eus 9.2 All All All
Application Redhat Codeready Linux Builder For X86 64 Eus 9.4 All All All
Application Redhat Codeready Linux Builder For X86 64 Eus 9.6 All All All
Operating System Redhat Enterprise Linux For Arm64 9.2 All All All
Operating System Redhat Enterprise Linux For Arm64 Els 9.2 All All All
Operating System Redhat Enterprise Linux For Arm 64 9.0_aarch64 All All All
Operating System Redhat Enterprise Linux For Arm 64 9.4_aarch64 All All All
Operating System Redhat Enterprise Linux For Arm 64 9.6_aarch64 All All All
Operating System Redhat Enterprise Linux For Arm 64 Els 9.4_aarch64 All All All
Operating System Redhat Enterprise Linux For Arm 64 Els 9.6_aarch64 All All All
Operating System Redhat Enterprise Linux For Arm 64 Eus 9.2_aarch64 All All All
Operating System Redhat Enterprise Linux For Arm 64 Eus 9.4_aarch64 All All All
Operating System Redhat Enterprise Linux For Arm 64 Eus 9.6_aarch64 All All All
Operating System Redhat Enterprise Linux For Ibm Z Systems 9.0_s390x All All All
Operating System Redhat Enterprise Linux For Ibm Z Systems 9.2_s390x All All All
Operating System Redhat Enterprise Linux For Ibm Z Systems 9.4_s390x All All All
Operating System Redhat Enterprise Linux For Ibm Z Systems 9.6_s390x All All All
Operating System Redhat Enterprise Linux For Ibm Z Systems Els 9.2_s390x All All All
Operating System Redhat Enterprise Linux For Ibm Z Systems Els 9.4_s390x All All All
Operating System Redhat Enterprise Linux For Ibm Z Systems Els 9.6_s390x All All All
Operating System Redhat Enterprise Linux For Ibm Z Systems Eus 9.2_s390x All All All
Operating System Redhat Enterprise Linux For Ibm Z Systems Eus 9.4_s390x All All All
Operating System Redhat Enterprise Linux For Ibm Z Systems Eus 9.6_s390x All All All
Operating System Redhat Enterprise Linux For Power Little Endian Els 9.2_ppc64le All All All
Operating System Redhat Enterprise Linux For Power Little Endian Els 9.4_ppc64le All All All
Operating System Redhat Enterprise Linux For Power Little Endian Els 9.6_ppc64le All All All
Operating System Redhat Enterprise Linux For Power Little Endian Eus 9.0_ppc64le All All All
Operating System Redhat Enterprise Linux For Power Little Endian Eus 9.2_ppc64le All All All
Operating System Redhat Enterprise Linux For Power Little Endian Eus 9.4_ppc64le All All All
Operating System Redhat Enterprise Linux For Power Little Endian Eus 9.6_ppc64le All All All
Operating System Redhat Enterprise Linux For X86 64 9.0 All All All
Operating System Redhat Enterprise Linux For X86 64 Els 9.2 All All All
Operating System Redhat Enterprise Linux For X86 64 Els 9.4 All All All
Operating System Redhat Enterprise Linux For X86 64 Els 9.6 All All All
Operating System Redhat Enterprise Linux For X86 64 Eus 9.2 All All All
Operating System Redhat Enterprise Linux For X86 64 Eus 9.4 All All All
Operating System Redhat Enterprise Linux For X86 64 Eus 9.6 All All All
Operating System Redhat Enterprise Linux For X86 64 Update Services For Sap Solutions 9.0 All All All
Operating System Redhat Enterprise Linux For X86 64 Update Services For Sap Solutions 9.2 All All All
Operating System Redhat Enterprise Linux For X86 64 Update Services For Sap Solutions 9.4 All All All
Operating System Redhat Enterprise Linux For X86 64 Update Services For Sap Solutions 9.6 All All All
Operating System Redhat Enterprise Linux Server Aus 9.2 All All All
Operating System Redhat Enterprise Linux Server Aus 9.4 All All All
Operating System Redhat Enterprise Linux Server Aus 9.6 All All All
Operating System Redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions 9.2_ppc64le All All All
Operating System Redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions 9.4_ppc64le All All All
Operating System Redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions 9.6_ppc64le All All All
Application Redhat Logging Subsystem For Red Hat Openshift 5.0 All All All
Application Redhat Logging Subsystem For Red Hat Openshift For Arm 64 5.0 All All All
Application Redhat Logging Subsystem For Red Hat Openshift For Ibm Power Little Endian 5.0 All All All
Application Redhat Logging Subsystem For Red Hat Openshift For Ibm Z And Linuxone 5.0 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:5.14.0-362.24.1.el9_3 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:5.14.0-362.24.1.el9_3 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.0 Update Services For SAP Solutions unaffected 0:5.14.0-70.105.1.el9_0 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.0 Update Services For SAP Solutions unaffected 0:5.14.0-70.105.1.rt21.177.el9_0 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support unaffected 0:5.14.0-284.55.1.el9_2 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support unaffected 0:5.14.0-284.55.1.rt14.340.el9_2 * rpm Not specified
CNA Red Hat RHOL-5.8-RHEL-9 unaffected v5.8.6-22 * rpm Not specified
CNA Red Hat RHOL-5.8-RHEL-9 unaffected v5.8.6-11 * rpm Not specified
CNA Red Hat RHOL-5.8-RHEL-9 unaffected v6.8.1-407 * rpm Not specified
CNA Red Hat RHOL-5.8-RHEL-9 unaffected v5.8.6-19 * rpm Not specified
CNA Red Hat RHOL-5.8-RHEL-9 unaffected v1.0.0-479 * rpm Not specified
CNA Red Hat RHOL-5.8-RHEL-9 unaffected v5.8.6-7 * rpm Not specified
CNA Red Hat RHOL-5.8-RHEL-9 unaffected v0.4.0-247 * rpm Not specified
CNA Red Hat RHOL-5.8-RHEL-9 unaffected v5.8.6-5 * rpm Not specified
CNA Red Hat RHOL-5.8-RHEL-9 unaffected v1.1.0-227 * rpm Not specified
CNA Red Hat RHOL-5.8-RHEL-9 unaffected v5.8.1-470 * rpm Not specified
CNA Red Hat RHOL-5.8-RHEL-9 unaffected v2.9.6-14 * rpm Not specified
CNA Red Hat RHOL-5.8-RHEL-9 unaffected v5.8.6-2 * rpm Not specified
CNA Red Hat RHOL-5.8-RHEL-9 unaffected v5.8.6-24 * rpm Not specified
CNA Red Hat RHOL-5.8-RHEL-9 unaffected v5.8.6-10 * rpm Not specified
CNA Red Hat RHOL-5.8-RHEL-9 unaffected v0.1.0-525 * rpm Not specified
CNA Red Hat RHOL-5.8-RHEL-9 unaffected v0.1.0-224 * rpm Not specified
CNA Red Hat RHOL-5.8-RHEL-9 unaffected v0.28.1-56 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 6 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 8 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 8 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 9 Not specified Not specified

References

ReferenceSourceLinkTags
access.redhat.com/errata/RHSA-2024:1018 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
access.redhat.com/errata/RHSA-2024:2094 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
access.redhat.com/errata/RHSA-2024:4415 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
access.redhat.com/errata/RHSA-2024:1248 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
bugzilla.redhat.com/show_bug.cgi af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Patch, Third Party Advisory
access.redhat.com/errata/RHSA-2024:4412 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
access.redhat.com/errata/RHSA-2024:1019 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
access.redhat.com/security/cve/CVE-2024-0193 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Mitigation, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
CNA2023-12-22T00:00:00.000ZReported to Red Hat.
CNA2024-01-02T00:00:00.000ZMade public.

Workarounds

CNA: 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.

Legacy QID Mappings

  • 161417 Oracle Enterprise Linux Security Update for kernel (ELSA-2024-1248)
  • 200068 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6608-1)
  • 200070 Ubuntu Security Notification for Linux kernel (OEM) Vulnerabilities (USN-6606-1)
  • 200074 Ubuntu Security Notification for Linux kernel (Azure) Vulnerabilities (USN-6607-1)
  • 200076 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6609-1)
  • 200088 Ubuntu Security Notification for Linux kernel (NVIDIA) Vulnerabilities (USN-6609-2)
  • 200096 Ubuntu Security Notification for Linux kernel (Oracle) Vulnerabilities (USN-6609-3)
  • 200103 Ubuntu Security Notification for Linux kernel (Intel IoTG) Vulnerabilities (USN-6628-1)
  • 200112 Ubuntu Security Notification for Linux kernel (NVIDIA) Vulnerabilities (USN-6608-2)
  • 200113 Ubuntu Security Notification for Linux kernel (GCP) Vulnerabilities (USN-6635-1)
  • 200118 Ubuntu Security Notification for Linux kernel (Intel IoTG) Vulnerabilities (USN-6628-2)
  • 242985 Red Hat Update for kernel (RHSA-2024:1018)
  • 242986 Red Hat Update for kernel-rt (RHSA-2024:1019)
  • 243052 Red Hat Update for kernel (RHSA-2024:1248)
  • 357041 Amazon Linux Security Advisory for kernel : ALAS2023-2024-488
  • 357050 Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.15-2024-034
  • 357054 Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.10-2024-046
  • 6140126 AWS Bottlerocket Security Update for kernel (GHSA-jhxw-82f9-f4jh)
  • 673723 EulerOS Security Update for kernel (EulerOS-SA-2024-1237)
  • 673992 EulerOS Security Update for kernel (EulerOS-SA-2024-1215)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report