Vulnerability in Linux 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-1003166: x86/uaccess: Implement macros for CMPXCHG on user addresses. Affects Kernel versions < a742f35974a3935edd1d7c674df235f616928c71. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux Kernel is a widely used open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionality for managing system resources, facilitating communication between hardware and software components, and enforcing security policies. The x86/uaccess module within the Linux Kernel is responsible for handling user access to memory addresses on x86 architecture. It ensures that user processes can only access memory regions they are authorized to access. However, a vulnerability has been discovered in the implementation of macros for CMPXCHG (Compare and Exchange) instructions on user addresses, which could potentially lead to security breaches and unauthorized access to sensitive data.

Vulnerability Detail

The vulnerability in the x86/uaccess module arises from the lack of proper validation and sanitization of user addresses during CMPXCHG operations. This could allow an attacker to manipulate user addresses and perform unauthorized memory operations, potentially leading to information disclosure, privilege escalation, or even remote code execution. The vulnerability has been assigned the ID GSD-2022-1003166 and has not yet been proven to have a specific impact or attack vector. However, it is crucial to address this vulnerability to ensure the security and integrity of systems running the affected Linux Kernel versions.

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 →

Conclusion

The vulnerability in the x86/uaccess module of the Linux Kernel poses a potential security risk, allowing unauthorized access to user addresses during CMPXCHG operations. To mitigate this vulnerability, it is crucial to update the Linux Kernel to version v5.17.13 or later, which includes the necessary fix. It is recommended to follow the official documentation and security advisories provided by the Linux Kernel development team or the respective Linux distribution for the specific steps to update the Kernel. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability could range from information disclosure to privilege escalation or remote code execution, depending on the attacker's capabilities and the system's configuration.

Yes, systems running older versions of the Linux Kernel that do not include the fix for this vulnerability are potentially affected. It is recommended to update to the latest stable version that includes the fix.

At the time of this report, no known exploits for this vulnerability have been disclosed. However, it is essential to address the vulnerability promptly to mitigate any potential risks.

While the exact attack vectors have not been proven, it is theoretically possible for an attacker to exploit this vulnerability remotely, depending on the system's configuration and network accessibility.

For more detailed information about this vulnerability, including the technical aspects and the fix implemented in the Linux Kernel, please refer to the provided references and the source link in the vulnerability details section.

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