KVM: x86: Non-Atomicness Vulnerability in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003185: KVM: x86: fix typo in __try_cmpxchg_user causing non-atomicness. Affects Kernel versions >= b0f294103f4cf733e23d3f0c4e5fd58e42998921, < 3360b29128a667a2f36ad05aa80c2825b9a2c5a0. 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux Kernel is a critical component of the Linux operating system, responsible for managing system resources and providing an interface between hardware and software. KVM (Kernel-based Virtual Machine) is a module within the Linux Kernel that enables the hosting of virtual machines on x86-based systems. It allows users to run multiple operating systems simultaneously on a single physical machine. The vulnerability identified in this report affects the KVM module in the Linux Kernel.

Vulnerability Detail

The vulnerability in the KVM x86 module is due to a typo in the __try_cmpxchg_user function, which leads to non-atomic behavior. This typo causes the function to perform a non-atomic compare-and-swap operation, which can result in race conditions and potential data corruption. An attacker could potentially exploit this vulnerability to manipulate the state of the system or gain unauthorized access to sensitive information. The impact and attack plausibility of this vulnerability have not been proven yet.

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 known workaround for this vulnerability at this time.

Conclusion

The KVM x86 non-atomicness vulnerability in the Linux Kernel can potentially lead to data corruption or unauthorized access to sensitive information. It is crucial to update the Linux Kernel to version v5.17.13 or later to mitigate this vulnerability. For further support and assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability is not yet proven, but it could potentially lead to data corruption or unauthorized access to sensitive information.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will analyze your dependencies for any known vulnerabilities.

There are currently no known exploits for this vulnerability.

Yes, a patch for this vulnerability is available in the Linux Kernel version v5.17.13 and later.

You can find more information about this vulnerability in the vulnerability database maintained by the Cloud Security Alliance. The specific vulnerability ID is GSD-2022-1003185. https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1003xxx/GSD-2022-1003185.json

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