CVE-2022-41222
Linux Kernel vulnerability analysis and mitigation

Overview

A race condition vulnerability was discovered in the Linux kernel's memory management subsystem, specifically in mm/mremap.c before version 5.13.3. The vulnerability (CVE-2022-41222) involves a use-after-free condition via a stale TLB because an rmap lock is not held during a PUD move (CVE-MITRE, NVD).

Technical details

The vulnerability occurs in the memory management subsystem's mremap functionality. The issue stems from a race condition where the rmap lock is not properly held during page table entry moves, specifically during PUD (Page Upper Directory) operations. The CVSS v3.1 base score is 7.0 (HIGH) with a vector of CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating local access required with high complexity (NETAPP).

Impact

Successful exploitation of this vulnerability could lead to multiple severe consequences including denial of service (memory corruption or crash), information leaks, or privilege escalation. The vulnerability affects systems running Linux kernel versions prior to 5.13.3 (DEBIAN-LTS).

Mitigation and workarounds

The vulnerability was fixed in Linux kernel version 5.13.3 by updating the rmap locking requirement in mremap to properly handle the race condition. The fix involves ensuring that the rmap lock is held in write mode when moving page table entries (KERNEL-COMMIT).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-gcp-5.15
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-64k-debug-core
NoYesDec 09, 2025
CVE-2025-40340MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-rt-debug-kvm
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-64k
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-fde-6.14
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management