drm/v3d: Stop active perfmon if it is being destroyed
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 26a4dc29b74a137f45665089f6d3d633fcc9b662 · < 21f1435b1e6b012a07c42f36b206d2b66fc8f13b| No fix yet |
| Linux Linux |
|
|
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").
From the CVE record · Linux
The Linux kernel’s drm/v3d driver can leave a stale pointer when an active performance monitor is destroyed without first being stopped, leading to undefined behavior and instability. The input does not specify how an attacker could trigger this condition or whether access or user interaction is required.
Engineers running Linux kernels with the drm/v3d driver should check their kernel versions; affected versions are not specified.