CVE-2024-0193
Kernel: netfilter: use-after-free in nft_trans_gc_catchall_sync leads to privilege escalation
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | Medium6.7 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.84% · top 42% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Weakness
Affected products
kernel
All versions: affected
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:5.14.0-362.24.1.el9_3 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:5.14.0-362.24.1.el9_3 – < *
Red Hat · Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
- unaffected 0:5.14.0-70.105.1.el9_0 – < *
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 – < *
Red Hat · Red Hat Enterprise Linux 9.2 Extended Update Support
- unaffected 0:5.14.0-284.55.1.el9_2 – < *
Red Hat · Red Hat Enterprise Linux 9.2 Extended Update Support
- unaffected 0:5.14.0-284.55.1.rt14.340.el9_2 – < *
- unaffected v5.8.6-22 – < *
- unaffected v5.8.6-11 – < *
- unaffected v6.8.1-407 – < *
- unaffected v5.8.6-19 – < *
- unaffected v1.0.0-479 – < *
- unaffected v5.8.6-7 – < *
- unaffected v0.4.0-247 – < *
- unaffected v5.8.6-5 – < *
- unaffected v1.1.0-227 – < *
- unaffected v5.8.1-470 – < *
- unaffected v2.9.6-14 – < *
- unaffected v5.8.6-2 – < *
- unaffected v5.8.6-24 – < *
- unaffected v5.8.6-10 – < *
- unaffected v0.1.0-525 – < *
- unaffected v0.1.0-224 – < *
- unaffected v0.28.1-56 – < *
Red Hat · Red Hat Enterprise Linux 6
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 7
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 7
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 8
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 8
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 9
All versions: affected
What to do
Workaround: 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.
References (8)
- RHSA-2024:1018 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:1019 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:1248 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:2094 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:4412 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:4415 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://access.redhat.com/security/cve/CVE-2024-0193 (opens in a new tab)vdb-entryx_refsource_REDHATx_transferred
- RHBZ#2255653 (opens in a new tab)issue-trackingx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2024-0193)Record last updated .