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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-07-03 · Modified: 2026-10-30
- Aliases: UBUNTU-CVE-2025-38132, DEBIAN-CVE-2025-38132, CGA-23x9-mqp8-j6j7, CGA-298v-r6hg-4jfr, CGA-29hg-cr25-4mv7, CGA-2g36-85jp-23jh, CGA-2j6c-pvph-2689, CGA-2jrh-7p9j-95gc, CGA-2vj5-8v5g-7mq2, CGA-32mw-mp93-5g48, CGA-32v4-fg75-xhjc, CGA-33q5-fpgc-vppg, CGA-3m8g-rpvg-v65h, CGA-3vm5-xfgf-q7rq, CGA-457c-ph87-fcm2, CGA-467r-g2x5-6x8w, CGA-4fv5-g993-gvxw, CGA-4r6x-crp4-p926, CGA-4w27-259p-fcfq, CGA-5c68-7w2w-jpcw, CGA-5mx2-p39v-6v8w, CGA-5q3v-v8wj-c69h, CGA-5r6q-9crv-pw52, CGA-5rpv-wg5r-mgxw, CGA-5xjq-r233-vmw3, CGA-5xpm-75fc-7hhm, CGA-63qv-jfvg-73vg, CGA-66m5-jc3q-27mf, CGA-6fpm-3p89-f956, CGA-6j4j-vj83-78g7, CGA-6jv9-cqh3-c9q6, CGA-6w27-38c6-q3m6, CGA-6wc8-c584-57c9, CGA-75vv-423g-hg26, CGA-7ffx-gvcg-cp98, CGA-7gq2-77qf-qhw7, CGA-7m2f-4hfr-hfh3, CGA-85wj-hx83-jw3v, CGA-86rw-3r7v-89hr, CGA-8h6h-frqx-m533, CGA-8hmw-6x65-6mf3, CGA-8p2v-fv2c-g6qm, CGA-8pg4-qc43-p8pw, CGA-9895-wjw6-4r4p, CGA-9fv6-6rrh-mvrv, CGA-9h39-hxp9-96gm, CGA-9h5m-gp5c-4vpm, CGA-9p5p-328w-h7v6, CGA-9pc2-hq6w-22xc, CGA-9px9-vwv3-8wwx, CGA-c476-f62f-8hpc, CGA-c4m4-9cvg-v7p6, CGA-c4vv-xjr4-rp96, CGA-cgf9-q8rw-996q, CGA-cmw3-frjv-h89w, CGA-cpc4-4r53-jc56, CGA-cpfc-4983-h26j, CGA-cv98-m7w6-4q7q, CGA-f2xp-qwcf-xv5c, CGA-f4p2-qvpj-v55x, CGA-f625-q6cp-w3rp, CGA-fj37-2rrx-qxxg, CGA-g444-7jcr-9ffh, CGA-g8gm-72gc-c5g6, CGA-gmrh-jwr3-96q2, CGA-h588-hf8x-j7p5, CGA-h738-hcjm-453p, CGA-h7p9-2vpg-83h6, CGA-hcj6-xqj3-vw3p, CGA-hg7c-vvxm-5g4p, CGA-j8g8-f857-4jq7, CGA-jh4f-7qq9-fphh, CGA-jq7f-5gh9-7xh5, CGA-jqr7-qm29-h5wx, CGA-jqxm-v52f-xqc2, CGA-jv6g-g4gh-7v45, CGA-jvp7-rc5v-r675, CGA-jw3x-q6wh-jpc3, CGA-mjgp-3j7f-rmwh, CGA-mpgw-p83p-h23q, CGA-mppx-78v5-c4mp, CGA-mw45-ffvj-rg2q, CGA-p4hp-4v65-7gh2, CGA-p4qq-fgjp-6vgp, CGA-p8xm-6v56-x52q, CGA-p95g-gv9x-97q9, CGA-p9vh-qj3x-4cgp, CGA-phcg-x7mf-6p4m, CGA-pqmg-j9p3-ghpr, CGA-prfq-8g5j-p9qr, CGA-q33p-pp6c-qgrp, CGA-q4rh-q2gp-rm6w, CGA-qc4p-3px3-7vg7, CGA-qj57-25cv-w3gw, CGA-r436-g8qx-v5x3, CGA-r7q7-fcmf-fwx2, CGA-rc8c-fcgr-gmwf, CGA-rcwx-jrgm-x4xr, CGA-rgm8-8c6v-69vr, CGA-rhwm-4qjr-v5hg, CGA-rm74-64wq-7pcc, CGA-rwvm-526r-hg5g, CGA-v364-v98x-jcw7, CGA-v6cp-3xxw-qqpg, CGA-vqr2-fg2h-ph69, CGA-vx3r-rhcq-wjfv, CGA-w2cm-2r5m-f4j8, CGA-w4r2-jww9-f29w, CGA-w5px-7f5v-fvm3, CGA-w68m-4h9p-v7h2, CGA-wvq8-qx7p-5rg3, CGA-x3jh-r69q-rg6q, CGA-x4p6-f6f3-x457, CGA-x4wg-f5cp-2vw7, CGA-x7v4-jv69-v8mh, CGA-xj67-8cfc-qxm7, CGA-xrwx-qfgh-cmjq
- Record: https://cvemate.com/vulnerability/CVE-2025-38132 · JSON: https://cvemate.com/vulnerability/CVE-2025-38132/json

## Description

```text
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()
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.243%, percentile 16.507%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 130)

- chainguard linux-aws-6.12 (Chainguard): \< 6.12.76-r0 \| \< 6.12.80-r0 \| \< 6.12.71-r0 \| \< 6.12.77-r1 \| \< 6.12.72-r0 \| \< 6.12.60-r4 \| \< 6.12.78-r0 \| \< 6.12.62-r2 \| \< 6.12.62-r1 \| \< 6.12.69-r0 \| \< 6.12.74-r1 \| \< 6.12.66-r0 \| \< 6.12.68-r0 \| \< 6.12.65-r1 \| \< 6.12.77-r2 \| \< 6.12.68-r1 \| \< 6.12.72-r1 \| \< 6.12.70-r0 \| \< 6.12.62-r0 \| \< 6.12.67-r0 \| \< 6.12.63-r0 \| \< 6.12.65-r0 \| \< 6.12.77-r0 \| \< 6.12.74-r0 \| \< 6.12.65-r2
- chainguard linux-azure-6.12 (Chainguard): \< 6.12.74-r1 \| \< 6.12.68-r0 \| \< 6.12.74-r0 \| \< 6.12.70-r0 \| \< 6.12.65-r3 \| \< 6.12.66-r0 \| \< 6.12.63-r0 \| \< 6.12.62-r0 \| \< 6.12.78-r0 \| \< 6.12.77-r1 \| \< 6.12.72-r0 \| \< 6.12.76-r0 \| \< 6.12.65-r1 \| \< 6.12.62-r2 \| \< 6.12.69-r0 \| \< 6.12.65-r4 \| \< 6.12.71-r0 \| \< 6.12.77-r2 \| \< 6.12.60-r3 \| \< 6.12.67-r0 \| \< 6.12.77-r0 \| \< 6.12.80-r0 \| \< 6.12.60-r4 \| \< 6.12.65-r2 \| \< 6.12.62-r1
- chainguard linux-gcp-6.12 (Chainguard): \< 6.12.68-r1 \| \< 6.12.60-r4 \| \< 6.12.70-r0 \| \< 6.12.80-r0 \| \< 6.12.74-r1 \| \< 6.12.72-r0 \| \< 6.12.65-r0 \| \< 6.12.78-r0 \| \< 6.12.77-r0 \| \< 6.12.77-r1 \| \< 6.12.69-r0 \| \< 6.12.65-r2 \| \< 6.12.62-r0 \| \< 6.12.65-r1 \| \< 6.12.62-r1 \| \< 6.12.74-r0 \| \< 6.12.60-r3 \| \< 6.12.67-r0 \| \< 6.12.71-r0 \| \< 6.12.62-r2 \| \< 6.12.68-r0 \| \< 6.12.76-r0 \| \< 6.12.77-r2 \| \< 6.12.63-r0 \| \< 6.12.66-r0
- chainguard linux-qemu-6.12 (Chainguard): \< 6.12.74-r0 \| \< 6.12.65-r2 \| \< 6.12.77-r2 \| \< 6.12.65-r1 \| \< 6.12.69-r0 \| \< 6.12.77-r1 \| \< 6.12.80-r0 \| \< 6.12.67-r0 \| \< 6.12.72-r0 \| \< 6.12.74-r1 \| \< 6.12.71-r0 \| \< 6.12.70-r0 \| \< 6.12.68-r0 \| \< 6.12.77-r0 \| \< 6.12.66-r0 \| \< 6.12.78-r0 \| \< 6.12.76-r0
- chainguard linux-vmware-6.12 (Chainguard): \< 6.12.77-r0 \| \< 6.12.66-r0 \| \< 6.12.71-r0 \| \< 6.12.65-r1 \| \< 6.12.77-r2 \| \< 6.12.74-r1 \| \< 6.12.68-r1 \| \< 6.12.72-r0 \| \< 6.12.68-r0 \| \< 6.12.67-r0 \| \< 6.12.76-r0 \| \< 6.12.77-r1 \| \< 6.12.78-r0 \| \< 6.12.65-r2 \| \< 6.12.70-r0 \| \< 6.12.80-r0 \| \< 6.12.74-r0 \| \< 6.12.69-r0
- debian linux (Debian): All versions (No fix recorded) \| \< 6.1.192-1 \| \< 6.12.115-2 \| \< 6.16.3-1
- debian linux-6.12 (Debian): \< 6.12.115-2~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-151.151
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1070.76
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): \< 6.14.0-1013.13~24.04.1
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1070.76~22.04.1

## References (first 20 of 25)

- <https://git.kernel.org/stable/c/42f8afb0b161631fd1d814d017f75f955475ad41>
- <https://git.kernel.org/stable/c/53b9e2659719b04f5ba7593f2af0f2335f75e94a>
- <https://ubuntu.com/security/CVE-2025-38132>
- <https://www.cve.org/CVERecord?id=CVE-2025-38132>
- <https://git.kernel.org/linus/53b9e2659719b04f5ba7593f2af0f2335f75e94a>
- <https://ubuntu.com/security/notices/USN-7769-1>
- <https://ubuntu.com/security/notices/USN-7770-1>
- <https://ubuntu.com/security/notices/USN-7771-1>
- <https://ubuntu.com/security/notices/USN-7769-2>
- <https://ubuntu.com/security/notices/USN-7769-3>
- <https://ubuntu.com/security/notices/USN-7789-1>
- <https://ubuntu.com/security/notices/USN-7789-2>
- <https://security-tracker.debian.org/tracker/CVE-2025-38132>
- <https://git.kernel.org/stable/c/1cd09aaf47a570bf6b05a7cd06b98e9d35fe82c7>
- <https://git.kernel.org/stable/c/8f16b9caf0bdba46044e1d3727ee78291aa36347>
- <https://git.kernel.org/stable/c/18a3a21c39cca593762aa90f322bd74c18ec59d4>
- <https://ubuntu.com/security/notices/USN-9173-1>
- <https://ubuntu.com/security/notices/USN-9175-1>
- <https://ubuntu.com/security/notices/USN-9174-1>
- <https://ubuntu.com/security/notices/USN-9183-1>

---

Data as of 2026-12-05T06:19:41.000Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
