---
id: CVE-2024-58086
title: |-
  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
summary: |-
  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 activ…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 5.15, < 5.15.179'
  - 'linux_kernel >= 5.16, < 6.1.129'
  - 'linux_kernel >= 6.2, < 6.6.79'
  - 'linux_kernel >= 6.7, < 6.12.16'
  - 'linux_kernel >= 6.13, < 6.13.4'
patched:
  - linux_kernel 6.13.4
published: '2025-03-06'
updated: '2026-07-14'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-58086'
references:
  - url: 'https://git.kernel.org/stable/c/1c5673a2c8926adbb61f340c779b28e18188a8cd'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/21f1435b1e6b012a07c42f36b206d2b66fc8f13b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/22e19c8c5f6b709f4ae40227392a30d57bac187d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/95036d4c01167568166108d42c2b0e9f8dbd7d2b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/eb0e0eca0eab93f310c6c37b8564049366704691'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f8805b12f477bd964e2820a87921c7b58cc2dee3'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-019113.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00188
epssPercentile: 0.07392
ingestedAt: '2026-07-14T13:36:55.864Z'
---

## Overview

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").

## Affected

- `linux_kernel >= 5.15, < 5.15.179`
- `linux_kernel >= 5.16, < 6.1.129`
- `linux_kernel >= 6.2, < 6.6.79`
- `linux_kernel >= 6.7, < 6.12.16`
- `linux_kernel >= 6.13, < 6.13.4`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.13.4`
