Kernel: netfilter: use-after-free in nft_trans_gc_catchall_sync leads to privilege escalation
Published Jan 2, 2024
7.8
HIGHCVSS 3.1
EPSS 0.84%
Description
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.
Affected products
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||
|---|---|---|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 9 | affected |
|
Configuration 1
- 9.2
- 9.2_s390x
- 9.2
- 9.2
- 9.2
- 9.2
- 9.2
- 9.2
- 9.2_s390x
- 9.2
- 9.2
- 9.2
- 9.2
- 9.2
- 9.2
- 9.2
Configuration 2
- 9.0
- 9.4
- 9.4
- 9.6
- 9.6
- 9.0_s390x
- 9.4_s390x
- 9.6_s390x
- 9.0_ppc64le
- 9.4_ppc64le
- 9.6_ppc64le
- 9.0
- 9.0
- 9.4_aarch64
- 9.6_aarch64
- 9.4_aarch64
- 9.6_aarch64
- 9.4_aarch64
- 9.6_aarch64
- 9.4
- 9.6
- 9.4
- 9.6
- 9.0_s390x
- 9.4_s390x
- 9.6_s390x
- 9.4_s390x
- 9.6_s390x
- 9.4_s390x
- 9.6_s390x
- 9.4_ppc64le
- 9.6_ppc64le
- 9.0_ppc64le
- 9.4_ppc64le
- 9.6_ppc64le
- 9.4
- 9.6
- 9.4
- 9.6
- 9.4_ppc64le
- 9.6_ppc64le
Configuration 3
Configuration 4
- 9.0_aarch64
- 9.0_s390x
- 9.0
- 9.0_ppc64le
Configuration 5
- ≥ 5.10.198 · < 5.10.206
- ≥ 5.15.118 · < 5.15.146
- ≥ 6.1.35 · < 6.1.71
- ≥ 6.3.9 · < 6.6.10
Configuration 6
- ≥ 5.0 · < 5.8.6
Running on/with
- 9.0
- 9.0
- 9.0
- 9.0
No data.
RHOL-5.8-RHEL-9
openshift-logging/cluster-logging-operator-bundle:v5.8.6-22
Fixed · RHSA-2024:2094
RHOL-5.8-RHEL-9
openshift-logging/cluster-logging-rhel9-operator:v5.8.6-11
Fixed · RHSA-2024:2094
RHOL-5.8-RHEL-9
openshift-logging/elasticsearch-operator-bundle:v5.8.6-19
Fixed · RHSA-2024:2094
RHOL-5.8-RHEL-9
openshift-logging/elasticsearch-proxy-rhel9:v1.0.0-479
Fixed · RHSA-2024:2094
RHOL-5.8-RHEL-9
openshift-logging/elasticsearch-rhel9-operator:v5.8.6-7
Fixed · RHSA-2024:2094
RHOL-5.8-RHEL-9
openshift-logging/elasticsearch6-rhel9:v6.8.1-407
Fixed · RHSA-2024:2094
RHOL-5.8-RHEL-9
openshift-logging/eventrouter-rhel9:v0.4.0-247
Fixed · RHSA-2024:2094
RHOL-5.8-RHEL-9
openshift-logging/fluentd-rhel9:v5.8.6-5
Fixed · RHSA-2024:2094
RHOL-5.8-RHEL-9
openshift-logging/log-file-metric-exporter-rhel9:v1.1.0-227
Fixed · RHSA-2024:2094
RHOL-5.8-RHEL-9
openshift-logging/logging-curator5-rhel9:v5.8.1-470
Fixed · RHSA-2024:2094
RHOL-5.8-RHEL-9
openshift-logging/logging-loki-rhel9:v2.9.6-14
Fixed · RHSA-2024:2094
RHOL-5.8-RHEL-9
openshift-logging/logging-view-plugin-rhel9:v5.8.6-2
Fixed · RHSA-2024:2094
RHOL-5.8-RHEL-9
openshift-logging/loki-operator-bundle:v5.8.6-24
Fixed · RHSA-2024:2094
RHOL-5.8-RHEL-9
openshift-logging/loki-rhel9-operator:v5.8.6-10
Fixed · RHSA-2024:2094
RHOL-5.8-RHEL-9
openshift-logging/lokistack-gateway-rhel9:v0.1.0-525
Fixed · RHSA-2024:2094
RHOL-5.8-RHEL-9
openshift-logging/opa-openshift-rhel9:v0.1.0-224
Fixed · RHSA-2024:2094
RHOL-5.8-RHEL-9
openshift-logging/vector-rhel9:v0.28.1-56
Fixed · RHSA-2024:2094
Red Hat Enterprise Linux 9
kernel-0:5.14.0-362.24.1.el9_3
Fixed · RHSA-2024:1248
Red Hat Enterprise Linux 9
kernel-0:5.14.0-362.24.1.el9_3
Fixed · RHSA-2024:1248
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
kernel-0:5.14.0-70.105.1.el9_0
Fixed · RHSA-2024:4415
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
kernel-rt-0:5.14.0-70.105.1.rt21.177.el9_0
Fixed · RHSA-2024:4412
Red Hat Enterprise Linux 9.2 Extended Update Support
kernel-0:5.14.0-284.55.1.el9_2
Fixed · RHSA-2024:1018
Red Hat Enterprise Linux 9.2 Extended Update Support
kernel-rt-0:5.14.0-284.55.1.rt14.340.el9_2
Fixed · RHSA-2024:1019
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| RHOL-5.8-RHEL-9 | openshift-logging/cluster-logging-operator-bundle:v5.8.6-22 | Fixed | RHSA-2024:2094 |
| RHOL-5.8-RHEL-9 | openshift-logging/cluster-logging-rhel9-operator:v5.8.6-11 | Fixed | RHSA-2024:2094 |
| RHOL-5.8-RHEL-9 | openshift-logging/elasticsearch-operator-bundle:v5.8.6-19 | Fixed | RHSA-2024:2094 |
| RHOL-5.8-RHEL-9 | openshift-logging/elasticsearch-proxy-rhel9:v1.0.0-479 | Fixed | RHSA-2024:2094 |
| RHOL-5.8-RHEL-9 | openshift-logging/elasticsearch-rhel9-operator:v5.8.6-7 | Fixed | RHSA-2024:2094 |
| RHOL-5.8-RHEL-9 | openshift-logging/elasticsearch6-rhel9:v6.8.1-407 | Fixed | RHSA-2024:2094 |
| RHOL-5.8-RHEL-9 | openshift-logging/eventrouter-rhel9:v0.4.0-247 | Fixed | RHSA-2024:2094 |
| RHOL-5.8-RHEL-9 | openshift-logging/fluentd-rhel9:v5.8.6-5 | Fixed | RHSA-2024:2094 |
| RHOL-5.8-RHEL-9 | openshift-logging/log-file-metric-exporter-rhel9:v1.1.0-227 | Fixed | RHSA-2024:2094 |
| RHOL-5.8-RHEL-9 | openshift-logging/logging-curator5-rhel9:v5.8.1-470 | Fixed | RHSA-2024:2094 |
| RHOL-5.8-RHEL-9 | openshift-logging/logging-loki-rhel9:v2.9.6-14 | Fixed | RHSA-2024:2094 |
| RHOL-5.8-RHEL-9 | openshift-logging/logging-view-plugin-rhel9:v5.8.6-2 | Fixed | RHSA-2024:2094 |
| RHOL-5.8-RHEL-9 | openshift-logging/loki-operator-bundle:v5.8.6-24 | Fixed | RHSA-2024:2094 |
| RHOL-5.8-RHEL-9 | openshift-logging/loki-rhel9-operator:v5.8.6-10 | Fixed | RHSA-2024:2094 |
| RHOL-5.8-RHEL-9 | openshift-logging/lokistack-gateway-rhel9:v0.1.0-525 | Fixed | RHSA-2024:2094 |
| RHOL-5.8-RHEL-9 | openshift-logging/opa-openshift-rhel9:v0.1.0-224 | Fixed | RHSA-2024:2094 |
| RHOL-5.8-RHEL-9 | openshift-logging/vector-rhel9:v0.28.1-56 | Fixed | RHSA-2024:2094 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-362.24.1.el9_3 | Fixed | RHSA-2024:1248 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-362.24.1.el9_3 | Fixed | RHSA-2024:1248 |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | kernel-0:5.14.0-70.105.1.el9_0 | Fixed | RHSA-2024:4415 |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | kernel-rt-0:5.14.0-70.105.1.rt21.177.el9_0 | Fixed | RHSA-2024:4412 |
| Red Hat Enterprise Linux 9.2 Extended Update Support | kernel-0:5.14.0-284.55.1.el9_2 | Fixed | RHSA-2024:1018 |
| Red Hat Enterprise Linux 9.2 Extended Update Support | kernel-rt-0:5.14.0-284.55.1.rt14.340.el9_2 | Fixed | RHSA-2024:1019 |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Affected | n/a |
No package ranges for this CVE.
Remediation
Vendor solution
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.
Red Hat 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 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.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
PoCAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed Jul 2, 2024 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2024–2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (5 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.84% (0.00843) | 56.41th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.84% (0.00836) | 52.80th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.62% (0.00618) | 68.16th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00042) | 5.07th | v3 (v2023.03.01) |
| Jan 18, 2024 | 0.04% (0.00043) | 6.85th | v3 (v2023.03.01) |
References (10)
- https://access.redhat.com/errata/RHSA-2024:1018 vendor-advisoryx_refsource_REDHATVendor Advisory
- https://access.redhat.com/errata/RHSA-2024:1019 vendor-advisoryx_refsource_REDHATVendor Advisory
- https://access.redhat.com/errata/RHSA-2024:1248 vendor-advisoryx_refsource_REDHATVendor Advisory
- https://access.redhat.com/errata/RHSA-2024:2094 vendor-advisoryx_refsource_REDHATVendor Advisory
- https://access.redhat.com/errata/RHSA-2024:4412 vendor-advisoryx_refsource_REDHATVendor Advisory
- https://access.redhat.com/errata/RHSA-2024:4415 vendor-advisoryx_refsource_REDHATVendor Advisory
- https://access.redhat.com/security/cve/CVE-2024-0193 vdb-entryx_refsource_REDHATMitigationThird Party AdvisoryVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2255653 issue-trackingx_refsource_REDHATIssue TrackingPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2024-0193
- https://www.cve.org/CVERecord?id=CVE-2024-0193
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2024:1018 | vendor-advisoryx_refsource_REDHATVendor Advisory | |
| https://access.redhat.com/errata/RHSA-2024:1019 | vendor-advisoryx_refsource_REDHATVendor Advisory | |
| https://access.redhat.com/errata/RHSA-2024:1248 | vendor-advisoryx_refsource_REDHATVendor Advisory | |
| https://access.redhat.com/errata/RHSA-2024:2094 | vendor-advisoryx_refsource_REDHATVendor Advisory | |
| https://access.redhat.com/errata/RHSA-2024:4412 | vendor-advisoryx_refsource_REDHATVendor Advisory | |
| https://access.redhat.com/errata/RHSA-2024:4415 | vendor-advisoryx_refsource_REDHATVendor Advisory | |
| https://access.redhat.com/security/cve/CVE-2024-0193 | vdb-entryx_refsource_REDHATMitigationThird Party AdvisoryVendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2255653 | issue-trackingx_refsource_REDHATIssue TrackingPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-0193 | ||
| https://www.cve.org/CVERecord?id=CVE-2024-0193 |
Change history (0)
No recorded changes yet.