Vulnerability in Kernel: Address Leakage in Atomic Cmpxchg's r0 Aux Reg

Kernel Updated 02 Oct 2025

Summary

27/12/2021
N/A
No i
Unrated
Not published

GSD-2021-1002730: bpf: Fix kernel address leakage in atomic cmpxchg's r0 aux reg. Affects Kernel versions >= 5ffa25502b5ab3d639829a2d1e316cff7f59a41e, < f87a6c160ecc8c7b417d25f508d3f076fe346136. 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, facilitates communication between different software components, and ensures the security and stability of the system. This vulnerability affects the Kernel and specifically relates to the atomic cmpxchg operation's r0 auxiliary register. The atomic cmpxchg operation is used for atomic compare-and-swap operations, which are essential for synchronization and concurrency control in multi-threaded environments.

Vulnerability Detail

The vulnerability in the Kernel allows for the leakage of kernel addresses through the r0 auxiliary register in the atomic cmpxchg operation. An attacker could exploit this vulnerability to obtain sensitive information about the kernel's memory layout, potentially aiding in further attacks. The leakage of kernel addresses can undermine the security of the system and enable the attacker to bypass security mechanisms or launch targeted attacks. This vulnerability was introduced in version v5.12 of the Linux Kernel and has been fixed in version v5.15.11.

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

As this vulnerability has been fixed in the latest version of the Linux Kernel, there is no specific workaround available. It is advised to update the Kernel to the latest version to eliminate the vulnerability.

Conclusion

The vulnerability in the Kernel that allowed for address leakage in the atomic cmpxchg's r0 auxiliary register has been fixed in version v5.15.11. To ensure the security of your system, it is important to update the Linux Kernel to the latest version. For further support and assistance in vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability allows for the leakage of kernel addresses, which can compromise the security of the system and aid in further attacks.

By leveraging the address leakage in the atomic cmpxchg's r0 auxiliary register, an attacker can obtain sensitive information about the kernel's memory layout, potentially enabling them to bypass security mechanisms or launch targeted attacks.

The vulnerability was introduced in version v5.12 of the Linux Kernel. Versions prior to v5.15.11 are affected.

Yes, the vulnerability has been fixed in version v5.15.11 of the Linux Kernel.

It is recommended to update the Linux Kernel to version v5.15.11 or later to mitigate the vulnerability. Regularly applying security updates and patches is crucial for maintaining the security of your system.

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