CVE-2024-42227Published Jul 30, 2024 · Jul 30Updated Oct 28
drm/amd/display: Fix overlapping copy within dml_core_mode_programming
Linux
Medium4.7Fix available
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: Fix overlapping copy within dml_core_mode_programming
[WHY] &mode_lib->mp.Watermark and &locals->Watermark are the same address. memcpy may lead to unexpected behavior.
[HOW] memmove should be used.
From the CVE record · Linux
The Linux kernel’s AMD display mode programming code uses memcpy on overlapping watermark data, which may cause unexpected behavior. The input does not specify how an attacker could trigger this issue or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with AMD display support should check their deployments; affected versions are not specified.