CVE-2024-58086

medium

Description

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

References

https://git.kernel.org/stable/c/f8805b12f477bd964e2820a87921c7b58cc2dee3

https://git.kernel.org/stable/c/eb0e0eca0eab93f310c6c37b8564049366704691

https://git.kernel.org/stable/c/95036d4c01167568166108d42c2b0e9f8dbd7d2b

https://git.kernel.org/stable/c/21f1435b1e6b012a07c42f36b206d2b66fc8f13b

https://git.kernel.org/stable/c/1c5673a2c8926adbb61f340c779b28e18188a8cd

Details

Source: Mitre, NVD

Published: 2025-03-06

Updated: 2025-03-06

Risk Information

CVSS v2

Base Score: 4.9

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium