cve.bz

CVE-2023-4244 Use After Free

7.0 highEPSS 0.2%Fix available

High (7.0). EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
A use-after-free vulnerability in the Linux kernel's netfilter: nf_tables component can be exploited to achieve local privilege escalation. Due to a race condition between nf_tables netlink control plane transaction and nft_set element garbage collection, it is possible to underflow the reference counter causing a use-after-free vulnerability. We recommend upgrading past commit 3e91b0ebd994635df2346353322ac51ce84ce6d8.

Severity

CVSS 3.1

7.0 high
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 15th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
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-2023-4244 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-4244?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-4244?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-4244 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.

ProductAffected
Linux Kernelfrom 0.0 before 4.19.316
Linux Kernelfrom 4.20 before 5.4.262
Linux Kernelfrom 5.5 before 5.10.198
Linux Kernelfrom 5.11 before 5.15.134
Linux Kernelfrom 5.16 before 6.1.56
Linux Kernelfrom 6.2 before 6.4.11

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux4.19.304-1DLA-3710-1
Debian10linux-5.105.10.197-1~deb10u1DLA-3623-1
Debian12linux6.1.55-1DEBIAN-CVE-2023-4244
Debian13, 14linux6.4.13-1DEBIAN-CVE-2023-4244
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-4244
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2023-4244
Ubuntu20.04:LTSlinux5.4.0-173.191UBUNTU-CVE-2023-4244 USN-6681-1
Ubuntu20.04:LTSlinux-aws5.4.0-1120.130UBUNTU-CVE-2023-4244 USN-6681-4
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1048.53~20.04.1UBUNTU-CVE-2023-4244 USN-6446-1
Ubuntu20.04:LTSlinux-azure5.4.0-1126.133UBUNTU-CVE-2023-4244 USN-6716-1
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1050.57~20.04.1UBUNTU-CVE-2023-4244 USN-6446-1
Ubuntu20.04:LTSlinux-azure-fde-5.155.15.0-1050.57~20.04.1.1USN-6446-1
Ubuntu20.04:LTSlinux-bluefield5.4.0-1080.87UBUNTU-CVE-2023-4244 USN-6681-2
Ubuntu20.04:LTSlinux-gcp5.4.0-1124.133UBUNTU-CVE-2023-4244 USN-6681-1
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1045.53~20.04.2UBUNTU-CVE-2023-4244 USN-6446-2
Ubuntu20.04:LTSlinux-gke, linux-riscv, linux-raspi2 and 24 moreno fix listedUBUNTU-CVE-2023-4244
62 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-553.el8_10RHSA-2024:3138
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-553.el8_10RHSA-2024:3138
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-553.rt7.342.el8_10RHSA-2024:2950
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-553.rt7.342.el8_10RHSA-2024:2950
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_eus:9.0::appstreamperf, kernel-doc, kernel-devel and 16 more0:5.14.0-70.101.1.el9_0RHSA-2024:3421
11 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.164.1SUSE-SU-2024:2185-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-docs, kernel-syms and 4 more5.3.18-150300.59.195.1SUSE-SU-2025:0771-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-docs, kernel-syms and 4 more5.3.18-150300.59.198.1SUSE-SU-2025:0855-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.164.1.150300.18.96.1SUSE-SU-2024:2185-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.195.1.150300.18.116.1SUSE-SU-2025:0771-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.198.1.150300.18.118.1SUSE-SU-2025:0855-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.222.1SUSE-SU-2024:2561-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.194.1SUSE-SU-2024:2183-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.164.1SUSE-SU-2024:2185-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.195.1SUSE-SU-2025:0771-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.198.1SUSE-SU-2025:0855-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 3 morekernel-default5.14.21-150400.24.100.2SUSE-SU-2023:4810-1
38 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.4dtb-aarch64, kernel-docs, kernel-syms and 1 more5.14.21-150400.24.100.1SUSE-SU-2023:4810-1
openSUSELeap 15.4kernel-64kb, kernel-debug, kernel-source and 4 more5.14.21-150400.24.100.2SUSE-SU-2023:4810-1
openSUSELeap 15.4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.75.1SUSE-SU-2023:4782-1
openSUSELeap 15.4kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150400.15.62.1SUSE-SU-2023:4731-1
openSUSELeap 15.4, Leap Micro 5.3, Leap Micro 5.4kernel-default-base5.14.21-150400.24.100.2.150400.24.46.2SUSE-SU-2023:4810-1
openSUSELeap 15.5dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150500.55.39.1SUSE-SU-2023:4730-1
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.26.1SUSE-SU-2023:4734-1
openSUSELeap 15.5kernel-default-base5.14.21-150500.55.39.1.150500.6.17.1SUSE-SU-2023:4730-1
openSUSELeap 15.5kernel-rt, kernel-rt_debug, kernel-source-rt5.14.21-150500.13.27.2SUSE-SU-2023:4732-1
openSUSELeap 15.5kernel-syms-rt5.14.21-150500.13.27.1SUSE-SU-2023:4732-1
openSUSELeap Micro 5.3, Leap Micro 5.4kernel-default5.14.21-150400.24.100.2SUSE-SU-2023:4810-1
openSUSELeap Micro 5.3, Leap Micro 5.4kernel-rt5.14.21-150400.15.62.1SUSE-SU-2023:4731-1
AlmaLinux8kernel-rt, kernel-rt-kvm, kernel-rt-core and 9 more4.18.0-553.rt7.342.el8_10ALSA-2024:2950
AlmaLinux8perf, kernel, bpftool and 22 more4.18.0-553.el8_10ALSA-2024:3138
Rocky Linux8kernel0:4.18.0-553.123.1.el8_10.cloud.0.1RXSA-2024:3138
Rocky Linux8kernel0:4.18.0-553.el8_10RLSA-2024:3138
Rocky Linux8kernel-rt0:4.18.0-553.rt7.342.el8_10RLSA-2024:2950
Rocky Linux9kernel0:5.14.0-362.24.1.el9_3.cloud.0.6RXSA-2024:1248
Azure Linux2kernel5.15.135.1-2AZL-28676
Alpaquitastreamlinux-lts6.1.56-r0BELL-CVE-2023-4244

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; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; 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 statement

Exploiting this flaw will require CAP_NET_ADMIN access privilege in any user or network namespace.

And,

On non-containerized deployments of Red Hat Enterprise Linux, 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's mitigation

Mitigation for this issue is to skip loading the affected module "nftables" onto the system till we have a fix available, this can be done by a blacklist mechanism, this will ensure the driver is not loaded at the 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 8kernel-rt-0:4.18.0-553.rt7.342.el8_10Fixed 2024-05-22RHSA-2024:2950
Red Hat Enterprise Linux 8kernel-0:4.18.0-553.el8_10Fixed 2024-05-22RHSA-2024:3138
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 Extended Update Supportkernel-0:5.14.0-70.101.1.el9_0Fixed 2024-05-28RHSA-2024:3421
Red Hat Enterprise Linux 9.0 Extended Update Supportkernel-rt-0:5.14.0-70.101.1.rt21.173.el9_0Fixed 2024-05-28RHSA-2024:3414
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 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 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-2023-4244.

References

Check your stackJSON