Vulnerability in Kernel: x86/uaccess: Implement macros for CMPXCHG on user addresses

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1002852: x86/uaccess: Implement macros for CMPXCHG on user addresses. Affects Kernel versions < 256ded2dbf0edcbaf4591dca64a0886dc4610b91. 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 interfaces between hardware and software. It manages system resources, facilitates communication between processes, and ensures security and stability. The x86/uaccess module within the Kernel is responsible for handling user access to memory addresses on x86 architecture. It provides mechanisms for safely accessing and modifying user space memory from kernel space.

Vulnerability Detail

The x86/uaccess module in the Kernel lacks proper implementation of macros for the Compare and Exchange (CMPXCHG) instruction on user addresses. This vulnerability could potentially lead to security breaches and privilege escalation attacks. Attackers may exploit this weakness to manipulate user space memory and gain unauthorized access to sensitive data or execute arbitrary code with elevated privileges. 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 specific workaround mentioned for this vulnerability. However, users can consider applying general security practices such as keeping their systems up to date with the latest patches and security updates, implementing strong access controls, and regularly monitoring for any suspicious activities.

Conclusion

The vulnerability in the Kernel's x86/uaccess module, which lacks proper implementation of macros for CMPXCHG on user addresses, poses a potential security risk. It is crucial to update the Linux Kernel to version v5.18.2 or later to mitigate this vulnerability. Regularly applying security updates and following best practices for system security can help protect against potential exploits. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability could potentially allow attackers to manipulate user space memory and gain unauthorized access to sensitive data or execute arbitrary code with elevated privileges.

There is no evidence of this vulnerability being exploited in the wild at the time of discovery.

You can use tools like Vulert (https://vulert.com) to check if your system is affected by this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities in the software.

The recommended mitigation is to update the Linux Kernel to version v5.18.2 or later, which includes the fix for this vulnerability.

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