drm/msm/mdp5: Don't leak some plane state
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 21a01abbe32a3cbeb903378a24e504bfd9fe0648 · < 5b0dd3a102f64996598bd1e8d8388848a7c561bc| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/msm/mdp5: Don't leak some plane state
Apparently no one noticed that mdp5 plane states leak like a sieve ever since we introduced plane_state->commit refcount a few years ago in 21a01abbe32a ("drm/atomic: Fix freeing connector/plane state too early by tracking commits, v3.")
Fix it by using the right helpers.
Patchwork: https://patchwork.freedesktop.org/patch/551236/
From the CVE record · Linux
The Linux kernel drm/msm/mdp5 driver leaks plane state because it does not use the correct helpers for the plane_state->commit reference count. The input does not specify whether an attacker can trigger the leak, or any network, authentication, or user-interaction requirements.
Engineers running Linux kernels with drm/msm/mdp5 should check their exposure; affected versions are not specified.