CVE-2025-38132: coresight: holding cscfg_csdev_lock while removing cscfg from csdev

Published Jul 3, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

coresight: holding cscfgcsdevlock while removing cscfg from csdev

There'll be possible race scenario for coresight config:

CPU0 CPU1 (perf enable) load module cscfgloadconfigsets() activate config. // sysfs (sysactivecnt == 1) ... cscfgcsdevenableactiveconfig() lock(csdev->cscfgcsdevlock) deactivate config // sysfs (sysactiveccnt == 0) cscfgunloadconfigsets() <iterating configcsdevlist> cscfgremoveownedcsdevconfigs() // here load config activate by CPU1 unlock(csdev->cscfgcsdevlock)

iterating configcsdevlist could be raced with configcsdevlist's entry delete.

To resolve this race , hold csdev->cscfgcsdevlock() while cscfgremoveownedcsdevconfigs()

Affected Software

2 affected components
Linux Linux kernel
Linux Linux kernel>=5.17<6.15.3

Event History

Jul 3, 2025
CVE Published
via MITRE·08:35 AM
Data Sourced
via MITRE·08:35 AM
Description
Data Sourced
via NVD·09:15 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-38132?

The severity of CVE-2025-38132 has been classified as medium due to the potential for race conditions affecting the coresight configuration.

2

How do I fix CVE-2025-38132?

To fix CVE-2025-38132, upgrade to the latest version of the Linux kernel where this vulnerability has been patched.

3

Which systems are affected by CVE-2025-38132?

CVE-2025-38132 affects the Linux kernel across various versions that implement coresight functionality.

4

What are the symptoms of CVE-2025-38132 exploitation?

Exploitation of CVE-2025-38132 may lead to unexpected behavior in coresight configurations and potential system instability.

5

Is there a workaround for CVE-2025-38132?

Currently, there are no recommended workarounds for CVE-2025-38132 other than applying the security patch.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203