Skip to main content
Mallory
← Back to News
endpoint-software-vulnerabilitywidely-deployed-product-advisoryprivilege-escalation-method

Linux Kernel anon_vma Use-After-Free Fixed in Red Hat Enterprise Linux

Vulnerability Disclosure · 5 sources · Updated 3mo ago · First seen Mar 7, 2023

Linux Kernel anon_vma Use-After-Free Fixed in Red Hat Enterprise Linux

Red Hat remediated CVE-2022-42703, a moderate-severity Linux kernel memory-management flaw in mm/rmap.c involving incorrect double reuse of a leaf anon_vma in is_mergeable_anon_vma(). An unprivileged local attacker could repeatedly invoke fork and memory operations to trigger a use-after-free and memory leak, causing a system crash. The issue affects kernels before version 5.19.7; upstream fixed it in commit 2555283eb40df89945557273121e9393ef9b542b.

Red Hat rated the flaw CVSS 3.1 5.5, with high availability impact and no assessed confidentiality or integrity impact. Fixes were issued for RHEL 7, 8, 8.6 Extended Update Support, 9, 9.0 Extended Update Support, and Red Hat Virtualization 4 on RHEL 8; Fedora incorporated the stable 5.19.7 kernel fix. RHSA-2023:3388 delivered the fix for RHEL 8.6 EUS alongside patches for three other kernel vulnerabilities. Organizations should install the applicable updated kernel packages and reboot affected systems; Red Hat identified no separate supported mitigation.

Why it matters

Impact assessment

CVE-2022-42703 enables a low-privileged local user to crash an affected Linux system through a kernel use-after-free condition. The direct assessed impact is denial of service, including disruption of workloads on RHEL servers, real-time/NFV hosts, and Red Hat Virtualization infrastructure; Red Hat assessed no confidentiality or integrity impact.

  • Affected populations: RHEL 7, 8, 8.6 EUS, 9, 9.0 EUS, RHEL for Real Time 7, RHEL for Real Time for NFV 7, Red Hat Virtualization 4 on RHEL 8, and Fedora systems running affected kernels.
  • Business impact: system crashes can interrupt production services, virtual-machine hosting, deterministic real-time workloads, and NFV functions. Availability-sensitive environments are the primary concern.
  • Exposure scope: exploitation requires local access and low privileges, limiting remote-only exposure but making multi-user servers, systems executing untrusted workloads, and environments where attackers have obtained an initial foothold relevant.
  • Severity: Red Hat rates the vulnerability Moderate; CVSS v3.1 is 5.5, with high availability impact.
  • Known exploitation: the supplied references do not report exploitation in the wild.

Supporting facts

  • CVE: CVE-2022-42703
  • CWE: CWE-416, Use After Free
  • CVSS: 5.5 — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Vendor status: Red Hat issued fixes in 2023; systems running older installed kernels remain exposed until updated and rebooted.
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

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

9 events · Mar 7, 2023
  1. Reported Mar 7, 20234y ago

    Red Hat closes CVE-2022-42703 tracking bug

    Red Hat closed its Bugzilla tracking issue for CVE-2022-42703 after issuing fixes for the affected product streams.

    2133483 - (CVE-2022-42703) CVE-2022-42703 kernel: use-after-free related to leaf anon_vma double reuse
  2. Reported Mar 7, 20234y ago

    Fedora ships CVE-2022-42703 fix in 5.19.7 kernel updates

    Fedora remediated CVE-2022-42703 through stable kernel updates based on version 5.19.7.

    2133483 - (CVE-2022-42703) CVE-2022-42703 kernel: use-after-free related to leaf anon_vma double reuse
  3. Reported Mar 7, 20234y ago

    Red Hat releases RHEL 9.0 EUS kernel fixes

    Red Hat released RHSA-2023:4137 and RHSA-2023:4138 to address CVE-2022-42703 in the RHEL 9.0 Extended Update Support kernel and kernel-rt packages.

    CVE-2022-42703 - Red Hat Customer Portal
  4. Reported Mar 7, 20234y ago

    RHSA-2023:3388 fixes CVE-2022-42703 for RHEL 8.6 EUS

    Red Hat published RHSA-2023:3388, an Important security advisory delivering an updated kernel for RHEL 8.6 Extended Update Support and affected associated offerings, including Red Hat Virtualization Host 4. The advisory remediated CVE-2022-42703 along with several other kernel vulnerabilities; systems require a reboot after installation.

    CVE-2022-42703 - Red Hat Customer Portal
  5. Reported Mar 7, 20234y ago

    Red Hat releases RHEL 8 kernel fixes

    Red Hat released RHSA-2023:2736 and RHSA-2023:2951 to remediate CVE-2022-42703 in RHEL 8 kernel-rt and kernel packages.

    CVE-2022-42703 - Red Hat Customer Portal
  6. Reported Mar 7, 20234y ago

    Red Hat releases RHEL 9 kernel fixes

    Red Hat released RHSA-2023:2148 and RHSA-2023:2458 to address CVE-2022-42703 in RHEL 9 kernel-rt and kernel packages.

    CVE-2022-42703 - Red Hat Customer Portal
  7. Mar 7, 20234y ago

    Red Hat releases RHEL 7 kernel fixes

    Red Hat released RHSA-2023:1091 and RHSA-2023:1092 to fix CVE-2022-42703 in the RHEL 7 kernel and kernel-rt packages.

    CVE-2022-42703 - Red Hat Customer Portal
  8. Reported Mar 7, 20234y ago

    Upstream Linux kernel fix added for CVE-2022-42703

    The upstream Linux kernel addressed the flaw with commit 2555283eb40df89945557273121e9393ef9b542b; the fix was included in the Linux 5.19.7 changelog. Kernel versions before 5.19.7 were affected.

    CVE-2022-42703 - Red Hat Customer Portal
  9. Reported Mar 7, 20234y ago

    CVE-2022-42703 identified in Linux kernel VMA code

    CVE-2022-42703 was identified as a use-after-free flaw in the Linux kernel's mm/rmap.c code, where repeated fork and memory operations can cause incorrect reuse of a leaf anon_vma. A low-privileged local attacker could crash an affected system.

    CVE-2022-42703 - 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
Linux KernelRed Hat Enterprise Linux

Organizations

1 linked
Red Hat
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
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.