Skip to main content
Mallory
← Back to News
privilege-escalation-methodindustrial-control-system-vulnerability

Linux Netfilter Use-After-Free Enables Local Kernel Privilege Escalation

Attack Tradecraft · 3 sources · Updated 3mo ago · First seen Sep 19, 2023

Linux Netfilter Use-After-Free Enables Local Kernel Privilege Escalation

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, or kpatch packages; 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.
Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

4 events · Sep 19, 2023 – Oct 10, 2023
  1. Oct 10, 20233y ago

    Red Hat releases RHEL 7 fixes for CVE-2023-32233

    Red Hat issued RHEL 7 kernel, kernel-rt, and kpatch-patch fixes for CVE-2023-32233 through RHSA-2023:5622, RHSA-2023:5621, and RHSA-2023:5574. The updates addressed a Netfilter nf_tables use-after-free flaw that could enable kernel-memory reads and writes for a local attacker with CAP_NET_ADMIN.

    CVE-2023-32233 - Red Hat Customer Portal
  2. Reported Sep 19, 20233y ago

    Red Hat updates additional RHEL 8.2 support streams

    Red Hat released RHEL 8.2 kernel fixes through RHSA-2024:1268 and a Telecommunications Update Service kernel-rt fix through RHSA-2024:1269. It also issued a kpatch-patch fix for RHEL 8.2 Update Services for SAP Solutions via RHSA-2024:1278.

    CVE-2023-3390 - Red Hat Customer Portal
  3. Sep 19, 20233y ago

    Red Hat releases initial RHEL 8 fixes for CVE-2023-3390

    Red Hat issued fixes for RHEL 8 kernel, kernel-rt, and kpatch-patch packages through RHSA-2023:5244, RHSA-2023:5255, and RHSA-2023:5221. RHEL 8.1 Update Services for SAP Solutions also received kernel and kpatch-patch fixes via RHSA-2023:5238 and RHSA-2023:5235.

    CVE-2023-3390 - Red Hat Customer Portal
  4. Reported Sep 19, 20233y ago

    CVE-2023-3390 reported in Linux Netfilter

    Alagu M of the Salesforce Offensive Security team reported CVE-2023-3390, a use-after-free flaw in Netfilter handling of named and anonymous nftables sets in batch requests. A local attacker with CAP_NET_ADMIN could obtain arbitrary kernel-memory reads and writes, potentially causing denial of service or privilege escalation.

    CVE-2023-3390 - Red Hat Customer Portal
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

2 linked
Openshift Container PlatformRed Hat Enterprise Linux
Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.