# CVE-2025-38132: coresight: holding cscfg\_csdev\_lock while removing cscfg from csdev

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.27% (percentile 12, 2026-11-28)
- **Published:** 2025-07-03T08:35:35.695Z
- **Modified:** 2026-10-30T13:18:01.200Z

## Who should check

- Anyone running Linux \>= 02bd588e12df405bdf55244708151b7f238b79ba, \< 18a3a21c39cca593762aa90f322bd74c18ec59d4; \>= 02bd588e12df405bdf55244708151b7f238b79ba, \< 1cd09aaf47a570bf6b05a7cd06b98e9d35fe82c7; \>= 02bd588e12df405bdf55244708151b7f238b79ba, \< 8f16b9caf0bdba46044e1d3727ee78291aa36347; \>= 02bd588e12df405bdf55244708151b7f238b79ba, \< 42f8afb0b161631fd1d814d017f75f955475ad41; \>= 02bd588e12df405bdf55244708151b7f238b79ba, \< 53b9e2659719b04f5ba7593f2af0f2335f75e94a
- Anyone running Linux 5.17

## 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()

## Affected and fixed versions

- Linux: \>= 02bd588e12df405bdf55244708151b7f238b79ba, \< 18a3a21c39cca593762aa90f322bd74c18ec59d4; \>= 02bd588e12df405bdf55244708151b7f238b79ba, \< 1cd09aaf47a570bf6b05a7cd06b98e9d35fe82c7; \>= 02bd588e12df405bdf55244708151b7f238b79ba, \< 8f16b9caf0bdba46044e1d3727ee78291aa36347; \>= 02bd588e12df405bdf55244708151b7f238b79ba, \< 42f8afb0b161631fd1d814d017f75f955475ad41; \>= 02bd588e12df405bdf55244708151b7f238b79ba, \< 53b9e2659719b04f5ba7593f2af0f2335f75e94a (cvelist)
- Linux: 5.17 (cvelist)

## Mitigation

- Upgrade Linux to 53b9e2659719b04f5ba7593f2af0f2335f75e94a or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38132. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38132.md
Affected: Linux >= 02bd588e12df405bdf55244708151b7f238b79ba, < 18a3a21c39cca593762aa90f322bd74c18ec59d4; >= 02bd588e12df405bdf55244708151b7f238b79ba, < 1cd09aaf47a570bf6b05a7cd06b98e9d35fe82c7; >= 02bd588e12df405bdf55244708151b7f238b79ba, < 8f16b9caf0bdba46044e1d3727ee78291aa36347; >= 02bd588e12df405bdf55244…
Fixed in: Linux 18a3a21c39cca593762aa90f322bd74c18ec59d4, Linux 1cd09aaf47a570bf6b05a7cd06b98e9d35fe82c7, Linux 8f16b9caf0bdba46044e1d3727ee78291aa36347, Linux 42f8afb0b161631fd1d814d017f75f955475ad41, Linux 53b9e2659719b04f5ba7593f2af0f2335f75e94a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38132 being exploited?

There is no confirmed exploitation: CVE-2025-38132 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-38132?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38132?

Linux \>= 02bd588e12df405bdf55244708151b7f238b79ba, \< 18a3a21c39cca593762aa90f322bd74c18ec59d4; \>= 02bd588e12df405bdf55244708151b7f238b79ba, \< 1cd09aaf47a570bf6b05a7cd06b98e9d35fe82c7; \>= 02bd588e12df405bdf55244708151b7f238b79ba, \< 8f16b9caf0bdba46044e1d3727ee78291aa36347; \>= 02bd588e12df405bdf55244708151b7f238b79ba, \< 42f8afb0b161631fd1d814d017f75f955475ad41; \>= 02bd588e12df405bdf55244708151b7f238b79ba, \< 53b9e2659719b04f5ba7593f2af0f2335f75e94a; Linux 5.17.

### Is there a fix for CVE-2025-38132?

Yes. Fixed in Linux 18a3a21c39cca593762aa90f322bd74c18ec59d4, Linux 1cd09aaf47a570bf6b05a7cd06b98e9d35fe82c7, Linux 8f16b9caf0bdba46044e1d3727ee78291aa36347, Linux 42f8afb0b161631fd1d814d017f75f955475ad41, Linux 53b9e2659719b04f5ba7593f2af0f2335f75e94a. Upgrade Linux to 53b9e2659719b04f5ba7593f2af0f2335f75e94a or later.

### How do I check if I'm affected by CVE-2025-38132?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/42f8afb0b161631fd1d814d017f75f955475ad41>
- patch: <https://git.kernel.org/stable/c/53b9e2659719b04f5ba7593f2af0f2335f75e94a>
- other: <https://git.kernel.org/stable/c/18a3a21c39cca593762aa90f322bd74c18ec59d4>
- other: <https://git.kernel.org/stable/c/1cd09aaf47a570bf6b05a7cd06b98e9d35fe82c7>
- other: <https://git.kernel.org/stable/c/8f16b9caf0bdba46044e1d3727ee78291aa36347>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38132>

HTML: <https://flawdb.com/CVE-2025-38132> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38132>
