Skip to main content
Mallory
← Back to News
widely-deployed-product-advisoryprivilege-escalation-methodprivilege-escalation-techniqueendpoint-software-vulnerability

RHEL 9 Kernel Update Fixes Netfilter Use-After-Free Privilege Escalation

Patch & Detection Intelligence · 5 sources · Updated 3mo ago · First seen Jan 25, 2024

RHEL 9 Kernel Update Fixes Netfilter Use-After-Free Privilege Escalation

Red Hat released RHSA-2024:0461 for Red Hat Enterprise Linux 9, updating the kernel to remediate 17 security vulnerabilities across networking, storage, graphics, Bluetooth, and virtualization components. The Important-rated advisory affects RHEL 9 and supported update-service variants on x86_64, ARM64, IBM Z, and IBM Power little-endian systems; administrators must reboot after applying the updated kernel.

Among the fixes is CVE-2023-3777, a CVSS 7.8 use-after-free flaw in the Linux nf_tables netfilter component. A local attacker with CAP_NET_ADMIN in a user or network namespace could exploit improper bound-chain validation in nf_tables_delrule() to escalate privileges. Red Hat fixed affected RHEL 9 and selected RHEL 9 Extended Update Support kernel and real-time kernel packages, while RHEL 6, 7, and 8 are not affected; pending patching, organizations can prevent the netfilter module from loading and, where operationally feasible, disable user namespaces on non-containerized systems.

Why it matters

Impact assessment

RHEL 9 systems running vulnerable kernel packages are exposed to local privilege escalation through two nf_tables use-after-free flaws, CVE-2023-3777 and CVE-2023-4015. The exposure is most significant on multi-user, container-host, and workloads where untrusted or lower-privileged users can obtain CAP_NET_ADMIN in a user or network namespace; successful exploitation can yield high confidentiality, integrity, and availability impact.

  • Affected products: RHEL 9 on x86_64, ARM64, s390x (IBM Z), and ppc64le (IBM Power little-endian), including supported EUS, ELS, AUS, SAP Solutions, and CodeReady Linux Builder variants covered by RHSA-2024:0461.
  • RHEL 9.0 and 9.2 EUS kernel and real-time package coverage is supplied through related January 2024 errata.
  • RHEL 6, 7, and 8 kernel and kernel-rt packages are listed as not affected by these two issues.
  • The advisory remediates 17 kernel vulnerabilities across networking, storage, graphics, Bluetooth, and virtualization subsystems, increasing the value of prompt kernel maintenance beyond the two netfilter issues.
  • The supplied references do not report confirmed exploitation in the wild.
  • A reboot is required after package installation; systems that have installed but not booted into the updated kernel remain exposed.

Supporting facts

  • Red Hat rates CVE-2023-3777 and CVE-2023-4015 as Moderate, CVSS v3.1 7.8.
  • Both vulnerabilities are local attacks requiring low privileges and no user interaction, but require CAP_NET_ADMIN in a user or network namespace.
  • Containerized platforms require particular operational care: disabling user namespaces is not appropriate for Red Hat OpenShift Container Platform and other deployments that depend on them.
Patch this, or something else?See real exploitation activity before you spend the cycle.
Triage this advisory
Event timeline

How this story unfolded

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

5 events · Sep 6, 2023 – Jan 25, 2024
  1. Reported Jan 30, 20243y ago

    Red Hat documents CVE-2023-4015 nf_tables use-after-free

    Red Hat documented CVE-2023-4015, a Linux kernel netfilter nf_tables use-after-free issue in which nft_immediate_deactivate() can unbind chains and objects during nftables rule-construction error handling before they are later used. The issue was fixed upstream by commit 0a771f7b266b02d262900c75f1e175c7fe76fec2 and addressed for RHEL 9 and RHEL 9.2 EUS through RHSA-2024:0461, RHSA-2024:0439, and RHSA-2024:0448.

    2237752 - (CVE-2023-4015) CVE-2023-4015 kernel: use after free in nft_immediate_deactivate
  2. Reported Jan 30, 20243y ago

    Upstream Linux fix added for CVE-2023-3777

    The upstream remediation, commit 6eaf41e87a223ae6f8e7a28d6e78384ad7e407f8, was included in Linux kernel 6.5-rc3.

    2237750 - (CVE-2023-3777) CVE-2023-3777 kernel: use-after-free in netfilter: nf_tables
  3. Jan 25, 20243y ago

    Red Hat fixes CVE-2023-3777 across RHEL 9 and EUS releases

    Red Hat listed CVE-2023-3777 as fixed for RHEL 9 and RHEL 9.0 and 9.2 Extended Update Support kernel and kernel-rt packages through errata RHSA-2024:0461, RHSA-2024:0431, RHSA-2024:0432, RHSA-2024:0439, and RHSA-2024:0448.

    CVE-2023-3777 - Red Hat Customer Portal
  4. Jan 24, 20243y ago

    Red Hat releases RHSA-2024:0461 kernel update

    Red Hat issued the Important-rated RHSA-2024:0461 advisory, providing an updated RHEL 9 kernel that remediated 17 vulnerabilities, including CVE-2023-3777. The update required a reboot to take effect.

    RHSA-2024:0461 - Security Advisory - Red Hat Customer Portal
  5. Sep 6, 20233y ago

    CVE-2023-3777 reported to Red Hat

    A use-after-free vulnerability in the Linux kernel netfilter nf_tables component was reported. The flaw can permit local privilege escalation when nf_tables_delrule() flushes rules without confirming that a chain is bound.

    2237750 - (CVE-2023-3777) CVE-2023-3777 kernel: use-after-free in netfilter: nf_tables
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
Red Hat Enterprise LinuxLinux Kernel

Organizations

1 linked
Red Hat
Do you run this?See real exploitation activity behind this advisory so you can triage it against everything else in the queue.
Prioritize This Patch
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.