cve.bz

CVE-2023-7192 Kernel: refcount leak in ctnetlink_create_conntrack()

4.4 mediumEPSS 0.3%Fix available

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

On this page
A memory leak problem was found in ctnetlink_create_conntrack in net/netfilter/nf_conntrack_netlink.c in the Linux Kernel. This issue may allow a local attacker with CAP_NET_ADMIN privileges to cause a denial of service (DoS) attack due to a refcount overflow.

Severity

CVSS 3.1

4.4 medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/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; 23rd percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-01-16. 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-401 Missing Release of Memory after Effective Lifetime
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support: fixed in 0:4.18.0-193.133.1.el8_2
  • Red Hat Red Hat Enterprise Linux 8.2 Telecommunications Update Service: fixed in 0:4.18.0-193.133.1.rt13.184.el8_2
  • Red Hat Red Hat Enterprise Linux 8.2 Telecommunications Update Service: fixed in 0:4.18.0-193.133.1.el8_2
  • Red Hat Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions: fixed in 0:4.18.0-193.133.1.el8_2
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: fixed in 0:4.18.0-305.125.1.el8_4
  • Red Hat Red Hat Enterprise Linux 8.4 Telecommunications Update Service: fixed in 0:4.18.0-305.125.1.rt7.201.el8_4
  • Red Hat Red Hat Enterprise Linux 8.4 Telecommunications Update Service: fixed in 0:4.18.0-305.125.1.el8_4
  • Red Hat Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions: fixed in 0:4.18.0-305.125.1.el8_4
  • Debian, Ubuntu, Red Hat, SUSE, openSUSE, Azure Linux: fixed package versions per release
  • Patch: https://bugzilla.redhat.com/show_bug.cgi?id=2256279
  • Patch: https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=ac4893980bbe79ce383daf9a0885666a30fe4c83

Ask an AI about this CVE

Show the promptExplain CVE-2023-7192 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-7192?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-7192?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-2023-7192 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 8.2 Advanced Update Support0:4.18.0-193.133.1.el8_2
Red Hat Enterprise Linux 8.2 Telecommunications Update Service0:4.18.0-193.133.1.rt13.184.el8_2
Red Hat Enterprise Linux 8.2 Telecommunications Update Service0:4.18.0-193.133.1.el8_2
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions0:4.18.0-193.133.1.el8_2
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:4.18.0-305.125.1.el8_4
Red Hat Enterprise Linux 8.4 Telecommunications Update Service0:4.18.0-305.125.1.rt7.201.el8_4
Red Hat Enterprise Linux 8.4 Telecommunications Update Service0:4.18.0-305.125.1.el8_4
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions0:4.18.0-305.125.1.el8_4
Red Hat Enterprise Linux 8.6 Extended Update Support0:4.18.0-372.95.1.el8_6
Red Hat Enterprise Linux 8.8 Extended Update Support0:4.18.0-477.51.1.el8_8
Red Hat Enterprise Linux 9.0 Extended Update Support0:5.14.0-70.93.2.el9_0
Red Hat Enterprise Linux 9.0 Extended Update Support0:5.14.0-70.93.1.rt21.165.el9_0
Red Hat Enterprise Linux 9.2 Extended Update Support0:5.14.0-284.52.1.el9_2
Red Hat Enterprise Linux 9.2 Extended Update Support0:5.14.0-284.52.1.rt14.337.el9_2
Red Hat Virtualization 4 for Red Hat Enterprise Linux 80:4.18.0-372.95.1.el8_6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux6.1.20-1DEBIAN-CVE-2023-7192
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-7192
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2023-7192
Ubuntu20.04:LTSlinux5.4.0-152.169UBUNTU-CVE-2023-7192
Ubuntu20.04:LTSlinux-aws5.4.0-1104.112UBUNTU-CVE-2023-7192
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1041.46~20.04.1UBUNTU-CVE-2023-7192
Ubuntu20.04:LTSlinux-azure5.4.0-1110.116UBUNTU-CVE-2023-7192
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1045.52~20.04.1UBUNTU-CVE-2023-7192
Ubuntu20.04:LTSlinux-bluefield5.4.0-1065.71UBUNTU-CVE-2023-7192
Ubuntu20.04:LTSlinux-gcp5.4.0-1107.116UBUNTU-CVE-2023-7192
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1039.47~20.04.1UBUNTU-CVE-2023-7192
Ubuntu20.04:LTSlinux-gke, linux-riscv, linux-raspi2 and 24 moreno fix listedUBUNTU-CVE-2023-7192
Ubuntu20.04:LTSlinux-gkeop5.4.0-1071.75UBUNTU-CVE-2023-7192
112 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatrhel_aus:8.2::baseos, rhel_tus:8.2::baseosperf, kernel, bpftool and 21 more0:4.18.0-193.133.1.el8_2RHSA-2024:2006
Red Hatrhel_aus:8.4::baseos, rhel_tus:8.4::baseosperf, kernel, bpftool and 21 more0:4.18.0-305.125.1.el8_4RHSA-2024:1367
Red Hatrhel_e4s:8.2::baseosperf, kernel, bpftool and 22 more0:4.18.0-193.133.1.el8_2RHSA-2024:2006
Red Hatrhel_e4s:8.4::baseosperf, kernel, bpftool and 22 more0:4.18.0-305.125.1.el8_4RHSA-2024:1367
Red Hatrhel_eus:8.6::baseosperf, kernel, bpftool and 30 more0:4.18.0-372.95.1.el8_6RHSA-2024:1188
Red Hatrhel_eus:8.6::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-372.95.1.el8_6RHSA-2024:1188
Red Hatrhel_eus:8.8::baseosperf, kernel, bpftool and 30 more0:4.18.0-477.51.1.el8_8RHSA-2024:1404
Red Hatrhel_eus:8.8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-477.51.1.el8_8RHSA-2024:1404
Red Hatrhel_eus:9.0::appstreamperf, kernel-doc, kernel-devel and 16 more0:5.14.0-70.93.2.el9_0RHSA-2024:1250
Red Hatrhel_eus:9.0::baseoskernel, bpftool, kernel-core and 25 more0:5.14.0-70.93.2.el9_0RHSA-2024:1250
Red Hatrhel_eus:9.0::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 9 more0:5.14.0-70.93.2.el9_0RHSA-2024:1250
Red Hatrhel_eus:9.0::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:5.14.0-70.93.1.rt21.165.el9_0RHSA-2024:1306
13 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-docs, kernel-syms and 4 more5.3.18-150300.59.158.1SUSE-SU-2024:1489-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 morekernel-default-base5.3.18-150300.59.158.1.150300.18.92.5SUSE-SU-2024:1489-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.216.1SUSE-SU-2024:1870-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.188.1SUSE-SU-2024:1454-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.158.1SUSE-SU-2024:1489-1
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.119.1SUSE-SU-2024:1641-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.59.1SUSE-SU-2024:1480-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2kernel-default-base5.3.18-150200.24.188.1.150200.9.95.3SUSE-SU-2024:1454-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2kernel-docs, kernel-syms, kernel-source and 3 more5.3.18-150200.24.188.1SUSE-SU-2024:1454-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.119.1SUSE-SU-2024:1641-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.119.1.150400.24.56.1SUSE-SU-2024:1641-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_561-8.3.1SUSE-SU-2024:1870-1
23 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.59.1SUSE-SU-2024:1480-1
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.48.1SUSE-SU-2024:1490-1
openSUSELeap 15.5kernel-default-base5.14.21-150500.55.59.1.150500.6.25.7SUSE-SU-2024:1480-1
openSUSELeap 15.5kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150500.13.47.1SUSE-SU-2024:1466-1
openSUSELeap Micro 5.3, Leap Micro 5.4kernel-default5.14.21-150400.24.119.1SUSE-SU-2024:1641-1
openSUSELeap Micro 5.3, Leap Micro 5.4kernel-default-base5.14.21-150400.24.119.1.150400.24.56.1SUSE-SU-2024:1641-1
openSUSELeap Micro 5.3, Leap Micro 5.4kernel-rt5.14.21-150400.15.79.1SUSE-SU-2024:1647-1
Azure Linux2kernel5.15.148.1-1AZL-32316
Alpaquita23linux-ltsno fix listedBELL-CVE-2023-7192

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; 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 mitigation

Triggering this issue 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.

Alternatively, skip loading the affected netfilter module (i.e., nf_conntrack_netlink) onto the system until we have a fix available. This can be done by a blacklist mechanism which will ensure the driver is not loaded at boot time.

~~~

How do I blacklist a kernel module to prevent it from loading automatically?

https://access.redhat.com/solutions/41278

~~~

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8.2 Advanced Update Supportkernel-0:4.18.0-193.133.1.el8_2Fixed 2024-04-23RHSA-2024:2006
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicekernel-rt-0:4.18.0-193.133.1.rt13.184.el8_2Fixed 2024-04-23RHSA-2024:2008
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicekernel-0:4.18.0-193.133.1.el8_2Fixed 2024-04-23RHSA-2024:2006
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionskernel-0:4.18.0-193.133.1.el8_2Fixed 2024-04-23RHSA-2024:2006
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportkernel-0:4.18.0-305.125.1.el8_4Fixed 2024-03-19RHSA-2024:1367
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicekernel-rt-0:4.18.0-305.125.1.rt7.201.el8_4Fixed 2024-03-19RHSA-2024:1382
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicekernel-0:4.18.0-305.125.1.el8_4Fixed 2024-03-19RHSA-2024:1367
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionskernel-0:4.18.0-305.125.1.el8_4Fixed 2024-03-19RHSA-2024:1367
Red Hat Enterprise Linux 8.6 Extended Update Supportkernel-0:4.18.0-372.95.1.el8_6Fixed 2024-03-06RHSA-2024:1188
Red Hat Enterprise Linux 8.8 Extended Update Supportkernel-0:4.18.0-477.51.1.el8_8Fixed 2024-03-19RHSA-2024:1404
Red Hat Enterprise Linux 9.0 Extended Update Supportkernel-0:5.14.0-70.93.2.el9_0Fixed 2024-03-12RHSA-2024:1250
Red Hat Enterprise Linux 9.0 Extended Update Supportkernel-rt-0:5.14.0-70.93.1.rt21.165.el9_0Fixed 2024-03-13RHSA-2024:1306
Red Hat Enterprise Linux 9.2 Extended Update Supportkernel-0:5.14.0-284.52.1.el9_2Fixed 2024-02-07RHSA-2024:0723
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 7kernel-rtOut of support scope
Red Hat Enterprise Linux 8kernelAffected
Red Hat Enterprise Linux 8kernel-rtAffected
Red Hat Enterprise Linux 9kernelAffected
Red Hat Enterprise Linux 9kernel-rtAffected
2 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-2023-7192.

References

Check your stackJSON