Data Race Vulnerability in perf/core Package

Kernel Updated 02 Oct 2025

Summary

31/07/2022
N/A
No i
Unrated
Not published

GSD-2022-1004362: perf/core: Fix data race between perf_event_set_output() and perf_mmap_close(). Affects Kernel versions >= 9bb5d40cd93c9dd4be74834b1dcb1ba03629716b, < da3c256e2d0ebc87c7db0c605c9692b6f1722074. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The perf/core package is a component of the Linux Kernel ecosystem. It provides performance monitoring and profiling capabilities for the kernel and user-space applications. The package includes functionality for managing performance events, collecting performance data, and handling memory mapping. The vulnerability described here affects the perf/core package and specifically impacts the interaction between the perf_event_set_output() and perf_mmap_close() functions.

Vulnerability Detail

The vulnerability in the perf/core package arises due to a data race between the perf_event_set_output() and perf_mmap_close() functions. This data race can lead to unpredictable behavior and potential security risks. The issue was introduced in version v3.10 of the Linux Kernel by commit 9bb5d40cd93c9dd4be74834b1dcb1ba03629716b and is fixed in version v5.15.58 by commit da3c256e2d0ebc87c7db0c605c9692b6f1722074. 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

No specific workaround has been mentioned for this vulnerability.

Conclusion

In conclusion, the perf/core package in the Linux Kernel is vulnerable to a data race between the perf_event_set_output() and perf_mmap_close() functions. It is recommended to update the Linux Kernel to version v5.15.58 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 perf/core package is a component of the Linux Kernel ecosystem that provides performance monitoring and profiling capabilities.

The vulnerability affects the perf_event_set_output() and perf_mmap_close() functions in the perf/core package.

The impact of this vulnerability is currently unknown, as the actual attack plausibility and consequences have not been proven.

The vulnerability was introduced in version v3.10 of the Linux Kernel and is fixed in version v5.15.58.

To fix this vulnerability, update the Linux Kernel to version v5.15.58 or later by obtaining the updated kernel source code from the official Linux Kernel repository and compiling it.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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