CVE-2022-50014
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, CVE-2022-50014 addresses a vulnerability related to the FOLLFORCE COW security issue. This vulnerability is similar to the Dirty COW (CVE-2016-5195) vulnerability, where FOLLFORCE can be potentially dangerous when races can be exploited by user space. The issue affects x8664 and aarch64 architectures that support CONFIGHAVEARCHUSERFAULTFD_MINOR (NVD).

Technical details

The vulnerability exists in the kernel's memory management subsystem where setting a PTE of a read-only mapped shared page as dirty could erroneously make it writable through FOLLFORCE. This issue became exploitable after commit 9ae0f87d009c, which allowed using UFFDIOCONTINUE to map a shmem page as read-only while marking the PTE dirty (NVD).

Impact

The vulnerability could allow unprivileged user space to modify tmpfs/shmem file content even without write permissions to the file, and to bypass memfd write sealing. It effectively acts as a Dirty COW vulnerability restricted to tmpfs/shmem (CVE-2022-2590) (NVD, Wiz).

Mitigation and workarounds

The vulnerability has been fixed by moving away from mandatory-retry and dirty handling, instead relying on the PageAnonExclusive() flag for making COW-related decisions. For kernels before extended uffd-wp support and before PageAnonExclusive (< 5.19), reverting the problematic commit provides protection against UFFDIOCONTINUE. A backport to v5.19 requires minor adjustments due to lack of vmasoftdirtyenabled() (NVD).

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