Data Race Vulnerability in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

30/06/2021
N/A
No i
Unrated
Not published

GSD-2021-1000962: perf: Fix data race between pin_count increment/decrement. Affects Kernel versions >= fe4b04fa31a6dcf4358aa84cf81e5a7fd079469b, < c64a3be39fa9fe473dd85cf1e6a4a7b27c0d935f. 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 the core component of the Linux operating system. It provides essential functionality for the system, including managing hardware resources, process scheduling, and device drivers. The kernel is responsible for maintaining the security and stability of the entire system. However, a data race vulnerability has been discovered in the kernel, which can lead to unpredictable behavior and potential security risks.

Vulnerability Detail

The data race vulnerability in the Linux Kernel occurs when there is a race condition between the increment and decrement operations of the pin_count variable. This vulnerability was introduced in version v2.6.39 and affects all subsequent versions until it was fixed in v5.10.44. The pin_count variable is used to track the number of pins on a performance event, and the data race can result in incorrect pin count values. This can lead to various issues, including memory corruption, crashes, and potential privilege escalation attacks.

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

If updating the kernel is not immediately feasible, a temporary workaround is to avoid using the affected functionality that relies on the pin_count variable. By avoiding the use of performance events that require pinning, the data race vulnerability can be mitigated. However, this workaround may impact the performance monitoring capabilities of the system.

Conclusion

The data race vulnerability in the Linux Kernel can have serious consequences, including memory corruption and potential privilege escalation attacks. It is crucial to update the kernel to version v5.10.44 or later to fix this vulnerability. If you need further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

A data race vulnerability occurs when multiple threads or processes access shared data concurrently without proper synchronization. This can lead to unpredictable behavior and potential security risks.

The data race vulnerability in the Linux Kernel can result in memory corruption, crashes, and potential privilege escalation attacks. It is important to patch the vulnerability to ensure the security and stability of the system.

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 the dependencies and alert you if any vulnerabilities are found.

Yes, the data race vulnerability in the Linux Kernel has been fixed in version v5.10.44. It is recommended to update your kernel to this version or later to ensure the vulnerability is patched.

At the time of this report, there are no known exploits for this vulnerability. However, it is important to patch the vulnerability as soon as possible to mitigate any potential risks.

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