5.5
MEDIUM CVSS 3.1
CVE-2025-38132
coresight: holding cscfg_csdev_lock while removing cscfg from csdev
Description

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) load module cscfg_load_config_sets() activate config. // sysfs (sys_active_cnt == 1) ... cscfg_csdev_enable_active_config() lock(csdev->cscfg_csdev_lock) deactivate config // sysfs (sys_activec_cnt == 0) cscfg_unload_config_sets() <iterating config_csdev_list> cscfg_remove_owned_csdev_configs() // here load config activate by CPU1 unlock(csdev->cscfg_csdev_lock) iterating config_csdev_list could be raced with config_csdev_list's entry delete. To resolve this race , hold csdev->cscfg_csdev_lock() while cscfg_remove_owned_csdev_configs()

INFO

Published Date :

July 3, 2025, 9:15 a.m.

Last Modified :

Oct. 30, 2026, 1:18 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2025-38132 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
Solution
Address race condition in Linux kernel by holding the lock during config removal.
  • Update the Linux kernel to the latest version.
  • Ensure the lock is held during config removal operations.
  • Review and test kernel code for race conditions.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-38132 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-38132 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-38132 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-38132 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 30, 2026

    Action Type Old Value New Value
    Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2025/38xxx/CVE-2025-38132.json">CVE-2025-38132</a>
    Added Reference https://git.kernel.org/stable/c/18a3a21c39cca593762aa90f322bd74c18ec59d4
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 21, 2026

    Action Type Old Value New Value
    Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2025/38xxx/CVE-2025-38132.json">CVE-2025-38132</a>
    Added Reference https://git.kernel.org/stable/c/1cd09aaf47a570bf6b05a7cd06b98e9d35fe82c7
    Added Reference https://git.kernel.org/stable/c/42f8afb0b161631fd1d814d017f75f955475ad41
    Added Reference https://git.kernel.org/stable/c/53b9e2659719b04f5ba7593f2af0f2335f75e94a
    Added Reference https://git.kernel.org/stable/c/8f16b9caf0bdba46044e1d3727ee78291aa36347
    Removed Reference https://git.kernel.org/stable/c/42f8afb0b161631fd1d814d017f75f955475ad41
    Removed Reference https://git.kernel.org/stable/c/53b9e2659719b04f5ba7593f2af0f2335f75e94a
    Removed Reference Type https://git.kernel.org/stable/c/42f8afb0b161631fd1d814d017f75f955475ad41 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/53b9e2659719b04f5ba7593f2af0f2335f75e94a Types: Patch
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '02bd588e12df405bdf55244708151b7f238b79ba', 'lessThan': '42f8afb0b161631fd1d814d017f75f955475ad41', 'versionType': 'git'}, {'status': 'affected', 'version': '02bd588e12df405bdf55244708151b7f238b79ba', 'lessThan': '53b9e2659719b04f5ba7593f2af0f2335f75e94a', 'versionType': 'git'}], 'programFiles': ['drivers/hwtracing/coresight/coresight-syscfg.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.17'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.17', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.15.3', 'versionType': 'semver', 'lessThanOrEqual': '6.15.*'}, {'status': 'unaffected', 'version': '6.16', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/hwtracing/coresight/coresight-syscfg.c'], 'defaultStatus': 'affected'}]
  • Initial Analysis by [email protected]

    Nov. 20, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CWE NVD-CWE-noinfo
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.17 up to (excluding) 6.15.3
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/42f8afb0b161631fd1d814d017f75f955475ad41 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/53b9e2659719b04f5ba7593f2af0f2335f75e94a Types: Patch
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jul. 03, 2025

    Action Type Old Value New Value
    Added Description 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) load module cscfg_load_config_sets() activate config. // sysfs (sys_active_cnt == 1) ... cscfg_csdev_enable_active_config() lock(csdev->cscfg_csdev_lock) deactivate config // sysfs (sys_activec_cnt == 0) cscfg_unload_config_sets() <iterating config_csdev_list> cscfg_remove_owned_csdev_configs() // here load config activate by CPU1 unlock(csdev->cscfg_csdev_lock) iterating config_csdev_list could be raced with config_csdev_list's entry delete. To resolve this race , hold csdev->cscfg_csdev_lock() while cscfg_remove_owned_csdev_configs()
    Added Reference https://git.kernel.org/stable/c/42f8afb0b161631fd1d814d017f75f955475ad41
    Added Reference https://git.kernel.org/stable/c/53b9e2659719b04f5ba7593f2af0f2335f75e94a
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.