CVE-2024-58086: drm/v3d: Stop active perfmon if it is being destroyed
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->activeperfmon) is being destroyed, stop it first. Currently, the active perfmon is not stopped during destruction, leaving the v3d->activeperfmon 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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-58086?
The severity of CVE-2024-58086 is categorized as medium due to its potential impact during the destruction of the active performance monitor.
How do I fix CVE-2024-58086?
To fix CVE-2024-58086, update the Linux kernel to the latest version where this vulnerability has been resolved.
What systems are affected by CVE-2024-58086?
CVE-2024-58086 affects systems running the Linux kernel with the v3d performance monitor.
What are the implications of CVE-2024-58086?
The implications of CVE-2024-58086 include potential instability or crashes if the active performance monitor is not correctly managed during destruction.
Is there a workaround for CVE-2024-58086 if I cannot update?
There are no known workarounds for CVE-2024-58086, and updating the kernel is the recommended course of action.