Race Condition Vulnerability in Linux Kernel Coresight Configuration

linux Updated 02 Oct 2025

Summary

03/07/2025
N/A
No i
Unrated
Not published

CVE-2025-38132: In the Linux kernel, the following vulnerability has been resolved: coresight: holding cscfg_csdev_lock while removing cscfg from csdev There'll be possible race scenario for coresight config: CPU0 CPU1 (perf enable) loa... Affects linux versions 6.1.106-1 – 6.9.9-1. 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 many operating systems, managing hardware and system resources. It provides essential services for all other parts of the system, ensuring efficient operation and resource management. The Coresight framework within the Linux kernel is designed for tracing and debugging, allowing developers to monitor system performance and diagnose issues. However, a race condition vulnerability has been identified in the Coresight configuration, which could lead to instability and security risks.

Vulnerability Detail

In the Linux kernel, a race condition exists in the Coresight configuration management. This occurs when two CPUs attempt to modify the configuration simultaneously, leading to potential inconsistencies. Specifically, while one CPU is activating a configuration, another CPU may attempt to remove it, causing a race condition that can lead to system instability or crashes. The vulnerability arises from improper locking mechanisms, allowing concurrent access to shared resources without adequate synchronization.

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 a temporary workaround, users can avoid activating and removing configurations simultaneously. Implementing proper locking mechanisms in custom configurations can also help prevent race conditions until an official patch is applied.

Conclusion

The race condition vulnerability in the Linux kernel's Coresight configuration poses significant risks to system stability and security. It is crucial for users to update their systems to the latest patched versions to mitigate these risks. Temporary workarounds can help, but applying the official fix is the best course of action.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

A race condition occurs when two or more processes access shared resources concurrently, and the final outcome depends on the timing of their execution.

This vulnerability can lead to system instability, crashes, or unexpected behavior, particularly when the Coresight configuration is actively being modified.

You can check if your application is affected by this vulnerability using Vulert's playground at Vulert Scanner, which analyzes your manifest file for vulnerabilities.

If immediate updates are not possible, avoid simultaneous configuration changes and consider implementing custom locking mechanisms as a temporary measure.

Detailed information about this vulnerability can be found in the CVE database and through security advisories related to the Linux kernel.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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