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

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.


