Skip to main content
Mallory
← Back to News
privilege-escalation-methodwidely-deployed-product-advisoryendpoint-software-vulnerabilitycloud-service-vulnerability

Red Hat RHEL 8.4 Kernel Update Fixes Netfilter Root Escalation and Six CVEs

Attack Tradecraft · 11 sources · Updated 3mo ago · First seen Jul 27, 2022

Red Hat RHEL 8.4 Kernel Update Fixes Netfilter Root Escalation and Six CVEs

Red Hat released RHSA-2022:5626 for Red Hat Enterprise Linux 8.4 Extended Update Support, delivering kernel 4.18.0-305.57.1.el8_4 for x86_64, s390x, ppc64le, and aarch64. The update remediates six kernel vulnerabilities, including CVE-2022-32250, a netfilter use-after-free write that can enable local root escalation, and CVE-2022-1729, affecting perf_event_open. It also addresses cgroup migration permission handling in CVE-2021-4197, which can let a less-privileged process induce a privileged process to write through an attacker-created file descriptor, and CVE-2021-4203, a socket credential race that can crash the system or disclose kernel information.

Red Hat also issued RHBA-2022:5744 to update Red Hat OpenStack Platform 16.2 container images, incorporating the kernel security fixes for x86_64 and IBM Power ppc64le deployments. Organizations should install the applicable RHEL kernel update and reboot hosts for remediation to take effect; OpenStack Platform users should upgrade the supplied container images and rebuild dependent images.

Why it matters

Impact assessment

Red Hat Enterprise Linux 8.4 systems on Extended Update Support and associated channels are exposed to multiple local kernel vulnerabilities until updated and rebooted. The most severe issue, CVE-2022-32250, permits a low-privileged local user to escalate to root, creating a material risk of full host compromise, container-host escape impact, data exposure, service disruption, and lateral-movement staging.

  • Affected environments: RHEL 8.4 EUS/AUS/TUS/Extended Life Cycle and SAP update-service deployments on x86_64, s390x, ppc64le, and aarch64; RHEL 8.4 Real Time/NFV variants on x86_64; and Red Hat OpenStack Platform 16.2 container-image deployments on x86_64 and ppc64le.
  • Exposure is broad across affected RHEL 8.4 kernel package streams, but exploitation is local rather than network-reachable. CVE-2022-32250 additionally requires an attacker to create user and network namespaces.
  • Containerized and cgroup-using environments have elevated relevance because user namespaces and cgroups are commonly enabled and required for workloads.
  • The supplied references do not report confirmed exploitation in the wild.

Supporting details

  • CVE-2022-32250 has CVSS v3.1 7.8: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
  • CVE-2021-4203 can enable local kernel-information disclosure or denial of service.
  • CVE-2020-29368 can grant unintended write access through a transparent huge page copy-on-write race; Red Hat assesses reliable exploitation as difficult.
  • CVE-2021-4197 can enable a lower-privileged process to induce a privileged cgroup-using process to write through an attacker-created file descriptor.
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.

11 events · Nov 9, 2021 – Aug 2, 2022
  1. Aug 2, 20224y ago

    Red Hat releases RHEL 8.6 kernel-rt fixes for CVE-2022-32250

    Red Hat issued Important advisory RHSA-2022:5834 for RHEL 8 Real Time kernel packages, providing kernel-rt 4.18.0-372.19.1.rt7.176.el8_6. The update remediated CVE-2022-32250 and the TCP source-port information-disclosure flaw CVE-2022-1012; affected systems require a reboot.

    RHSA-2022:5834 - Security Advisory - Red Hat Customer Portal
  2. Jul 27, 20224y ago

    Red Hat updates OpenStack 16.2 container images

    Red Hat issued RHBA-2022:5744 to update Red Hat OpenStack Platform 16.2 container images for x86_64 and ppc64le with backported fixes for the RHSA-2022:5626 security issues. Users were advised to upgrade the images and rebuild dependent container images.

    RHBA-2022:5744 - Bug Fix Advisory - Red Hat Customer Portal
  3. Jul 19, 20224y ago

    Red Hat releases RHEL 8.4 EUS Real Time kernel security update

    Red Hat issued Important advisory RHSA-2022:5633 for kernel-rt packages in RHEL 8.4 Extended Update Support Real Time and telecommunications/NFV offerings. Kernel-rt 4.18.0-305.57.1.rt7.129.el8_4 remediated CVE-2021-4197 and CVE-2021-4203 plus four other kernel vulnerabilities; affected systems require a reboot.

    RHSA-2022:5633 - Security Advisory - Red Hat Customer Portal
  4. Jul 19, 20224y ago

    Red Hat releases RHEL 8.4 EUS kernel security update

    Red Hat issued Important advisory RHSA-2022:5626 for RHEL 8.4 Extended Update Support, delivering kernel version 4.18.0-305.57.1.el8_4. The update remediated CVE-2021-4197 and CVE-2021-4203 along with four other kernel vulnerabilities; affected systems require a reboot after installation.

    RHSA-2022:5626 - Security Advisory - Red Hat Customer Portal
  5. Reported Jun 28, 20224y ago

    Red Hat releases extended-support RHEL 7 fixes for CVE-2022-32250

    Red Hat issued CVE-2022-32250 fixes for RHEL 7.3, 7.4, and 7.6 Advanced Update Support kernel packages. It also released RHSA-2022:5802 for RHEL 7.6 Telco EUS and SAP Solutions kernels and RHSA-2022:5804 for SAP Solutions kpatch-patch packages.

    CVE-2022-32250 - Red Hat Customer Portal
  6. Jun 28, 20224y ago

    Red Hat releases RHEL 7 fixes for CVE-2022-32250

    Red Hat issued RHSA-2022:5232 for the RHEL 7 kernel, RHSA-2022:5236 for kernel-rt, and RHSA-2022:5216 for kpatch-patch to remediate the CVE-2022-32250 Netfilter use-after-free vulnerability.

    CVE-2022-32250 - Red Hat Customer Portal
  7. May 25, 20225y ago

    Upstream fixes CVE-2022-32250 netfilter use-after-free flaw

    Pablo Neira Ayuso authored and signed off on upstream commit 520778042ccca019f3ffa136dd0ca565c486cedd, which fixes CVE-2022-32250 by validating NFT_STATEFUL_EXPR before expression initialization. The flaw is a netfilter nf_tables use-after-free write that can enable local privilege escalation to root when user and network namespaces can be created.

    2092427 - (CVE-2022-32250) CVE-2022-32250 kernel: a use-after-free write in the netfilter subsystem can lead to privilege escalation to root
  8. May 11, 20225y ago

    Red Hat closes tracking bugs for CVE-2021-4197 and CVE-2021-4203

    Red Hat closed its tracking bugs for the cgroup migration permission-check flaw and the socket credential race condition.

    2035652 - (CVE-2021-4197) CVE-2021-4197 kernel: cgroup: Use open-time creds and namespace for migration perm checks
  9. Jan 4, 20225y ago

    CVE-2021-4203 reported by Pedro Sampaio

    Pedro Sampaio reported a Linux kernel sock_getsockopt() use-after-free read caused by races in SO_PEERCRED and SO_PEERGROUPS handling with listen() or connect(). A local user could crash a system or disclose internal kernel information.

    2036934 - (CVE-2021-4203) CVE-2021-4203 kernel: Race condition in races in sk_peer_pid and sk_peer_cred accesses
  10. Dec 26, 20215y ago

    CVE-2021-4197 reported to Red Hat

    A vulnerability in Linux kernel cgroup migration permission checks was reported. The flaw could allow a less-privileged process to induce a more-privileged process to write to a file descriptor it created, potentially enabling local privilege escalation.

    2035652 - (CVE-2021-4197) CVE-2021-4197 kernel: cgroup: Use open-time creds and namespace for migration perm checks
  11. Nov 9, 20215y ago

    Red Hat releases RHEL 8 fixes for CVE-2020-29368

    Red Hat released RHSA-2021:4356 for RHEL 8 kernel packages and RHSA-2021:4140 for RHEL 8 kernel-rt packages to remediate CVE-2020-29368, a transparent huge page copy-on-write mapcount race condition that can grant unintended write access.

    CVE-2020-29368 - Red Hat Customer Portal
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.