drm/amd/display: Deallocate DML memory if allocation fails
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 |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Deallocate DML memory if allocation fails
[Why] When DC state create DML memory allocation fails, memory is not deallocated subsequently, resulting in uninitialized structure that is not NULL.
[How] Deallocate memory if DML memory allocation fails.
From the CVE record · Linux
In the Linux kernel’s AMD display component, a failed DML memory allocation can leave memory undeallocated and a structure uninitialized rather than NULL. The input does not describe what an attacker could do or specify network or local access, authentication, or user-interaction requirements.
Engineers running Linux kernels with the AMD display component should check their exposure; affected versions are not specified.