Linux Netfilter Use-After-Free Enables Local Kernel Privilege Escalation
Attack Tradecraft · 3 sources · Updated 3mo ago · First seen Sep 19, 2023

CVE-2023-3390 is an important-severity use-after-free flaw in the Linux kernel's Netfilter/nftables subsystem. Improper handling of named and anonymous sets in batch requests can allow a local attacker with CAP_NET_ADMIN to read and write arbitrary kernel memory, potentially causing denial of service or escalating privileges. Red Hat rates the vulnerability CVSS 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
Unprivileged user namespaces can enable local unprivileged RHEL users to obtain the capability needed for exploitation. Red Hat released fixes for affected RHEL 8 kernel, kernel-rt, and kpatch packages, with updates issued from September 2023 through March 2024. OpenShift control-plane hosts contain the affected component, but Red Hat assesses container exploitation risk as low because OpenShift namespace controls prevent containers from obtaining the required capability.
Why it matters
Impact assessment
CVE-2023-3390 enables local kernel-level privilege escalation or denial of service on affected Linux systems where an attacker can obtain CAP_NET_ADMIN. The highest exposure is on RHEL 8 systems with unprivileged user namespaces enabled, because a non-root local account may create a user namespace and gain the capability needed to trigger the flaw.
- Affected populations: RHEL 8 hosts using affected
kernel,kernel-rt, orkpatchpackages; relevant RHEL 8 extended-support and telecommunications/SAP streams are also affected. - Business impact: successful exploitation can yield arbitrary kernel-memory read/write, enabling host compromise, credential and data exposure, integrity loss, persistence, or system crash and operational disruption.
- Scope: exploitation is local rather than network-reachable, but is significant for shared multi-user servers, bastion hosts, CI/CD runners, development systems, and systems where an initial foothold can be obtained.
- Container impact: Red Hat assesses OpenShift Container Platform impact as Low. RHCOS control-plane components include the affected kernel code, but OpenShift namespace controls prevent a container process from obtaining the needed capability through namespace changes. A local RHCOS user is already root.
- Exploitation in the wild: the supplied references do not report confirmed exploitation in the wild.
- Related but distinct reference: the content also includes CVE-2023-32233, another Netfilter use-after-free vulnerability. Treat it as a separate exposure and verify remediation independently; do not consider a CVE-2023-3390 update evidence of remediation for CVE-2023-32233.


