# CVE-2024-58086: drm/v3d: Stop active perfmon if it is being destroyed

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-03-06 · Modified: 2026-11-10
- Aliases: UBUNTU-CVE-2024-58086, DEBIAN-CVE-2024-58086
- Record: https://cvemate.com/vulnerability/CVE-2024-58086 · JSON: https://cvemate.com/vulnerability/CVE-2024-58086/json

## Description

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

drm/v3d: Stop active perfmon if it is being destroyed

If the active performance monitor (`v3d->active_perfmon`) is being
destroyed, stop it first. Currently, the active perfmon is not
stopped during destruction, leaving the `v3d->active_perfmon` pointer
stale. This can lead to undefined behavior and instability.

This patch ensures that the active perfmon is stopped before being
destroyed, aligning with the behavior introduced in commit
7d1fd3638ee3 ("drm/v3d: Stop the active perfmon before being destroyed").
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.196%, percentile 9.711%, 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 129)

- debian linux (Debian): \< 6.1.129-1 \| \< 6.12.16-1
- ubuntu linux (Ubuntu): \< 5.15.0-140.150 \| \< 6.8.0-78.78
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.15.0-1084.91 \| \< 6.8.0-1035.37
- 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.15 (Ubuntu): \< 5.15.0-1084.91~20.04.1
- 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.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1035.37~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1084.91+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1089.98 \| \< 6.8.0-1034.39
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1089.98~20.04.1
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 36)

- <https://git.kernel.org/stable/c/22e19c8c5f6b709f4ae40227392a30d57bac187d>
- <https://git.kernel.org/stable/c/95036d4c01167568166108d42c2b0e9f8dbd7d2b>
- <https://git.kernel.org/stable/c/eb0e0eca0eab93f310c6c37b8564049366704691>
- <https://git.kernel.org/stable/c/1c5673a2c8926adbb61f340c779b28e18188a8cd>
- <https://git.kernel.org/stable/c/f8805b12f477bd964e2820a87921c7b58cc2dee3>
- <https://git.kernel.org/stable/c/21f1435b1e6b012a07c42f36b206d2b66fc8f13b>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://ubuntu.com/security/CVE-2024-58086>
- <https://www.cve.org/CVERecord?id=CVE-2024-58086>
- <https://git.kernel.org/linus/21f1435b1e6b012a07c42f36b206d2b66fc8f13b>
- <https://ubuntu.com/security/notices/USN-7510-1>
- <https://ubuntu.com/security/notices/USN-7510-2>
- <https://ubuntu.com/security/notices/USN-7511-1>
- <https://ubuntu.com/security/notices/USN-7511-2>
- <https://ubuntu.com/security/notices/USN-7512-1>
- <https://ubuntu.com/security/notices/USN-7521-1>
- <https://ubuntu.com/security/notices/USN-7510-3>
- <https://ubuntu.com/security/notices/USN-7510-4>
- <https://ubuntu.com/security/notices/USN-7510-5>

---

Data as of 2026-12-05T04:22:28.848Z. 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
