Vulnerability in Kernel: KVM x86/mm: Compare-and-Exchange of gPTE via User Address

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001122: KVM: x86/mmu: do compare-and-exchange of gPTE via the user address. Affects Kernel versions >= bd53cb35a3e9adb73a834a36586e9ad80e877767, < 5051c04d70c6e035c2c923c04fbe015a4468b08d. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Kernel is a critical component of the Linux operating system that provides core functionalities and acts as an interface between hardware and software. It manages system resources, including memory, processes, and device drivers. The Kernel is responsible for ensuring the security and stability of the system. KVM (Kernel-based Virtual Machine) is a module within the Kernel that enables virtualization on x86-based systems. It allows running multiple virtual machines (VMs) on a single physical machine. The x86/mm subsystem in the Kernel handles memory management for x86-based systems, including the management of page table entries (PTEs). PTEs are data structures used to map virtual addresses to physical addresses. This vulnerability specifically affects the x86/mm subsystem in the Kernel when performing a compare-and-exchange operation on guest PTEs (gPTEs) via the user address.

Vulnerability Detail

The vulnerability arises due to a flaw in the x86/mm subsystem of the Kernel. When performing a compare-and-exchange operation on gPTEs via the user address, an attacker may be able to exploit this vulnerability to gain unauthorized access to sensitive information or execute arbitrary code in the context of the Kernel. The impact and attack plausibility of this vulnerability have not been proven yet. However, it is crucial to address this issue to ensure the security and integrity of the system. This vulnerability was introduced in version v5.2 of the Linux Kernel and has been fixed in version v5.17.2.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. The recommended approach is to apply the available fix by updating the Linux Kernel to the latest version.

Conclusion

The vulnerability in the Kernel's x86/mm subsystem when performing a compare-and-exchange operation on gPTEs via the user address can potentially lead to unauthorized access or arbitrary code execution. It is crucial to update the Linux Kernel to version v5.17.2 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability is not yet proven. However, if successfully exploited, an attacker may gain unauthorized access to sensitive information or execute arbitrary code in the context of the Kernel.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. It analyzes the manifest file, such as package-lock.json, and provides real-time alerts for open-source vulnerabilities.

As of now, there is no known exploit for this vulnerability. However, it is essential to apply the available fix to mitigate any potential risks.

The details regarding remote exploitation of this vulnerability are not provided. However, it is advisable to update the Kernel to the latest version to ensure the system's security.

The recommended approach is to update the Kernel to the latest version. If immediate update is not possible, it is advisable to follow security best practices, such as restricting access to the affected system, implementing network segmentation, and monitoring for any suspicious activities.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback