drm/amd/display: Fix drm_edid leak in amdgpu_dm
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.18.216.19.117.0In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix drm_edid leak in amdgpu_dm
[WHAT] When a sink is connected, aconnector->drm_edid was overwritten without freeing the previous allocation, causing a memory leak on resume.
[HOW] Free the previous drm_edid before updating it.
(cherry picked from commit 52024a94e7111366141cfc5d888b2ef011f879e5)
From the CVE record · Linux
The Linux kernel's amdgpu_dm display component can leak memory on resume when a sink is connected because it replaces a drm_edid allocation without freeing the previous one. The input does not describe an attacker path, authentication requirement, or user interaction.
Engineers running Linux kernels with the amdgpu_dm display component should check their installations; affected versions are not specified.