Data Race Vulnerability in perf/core Package
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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 →
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.