4.7medium
drm/amd/display: Fix overlapping copy within dml_core_mode_programming
- Severity
- 4.7medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.19% (higher than 8% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 7966f319c66d9468623c6a6a017ecbc0dd79be75 before 9342da15f2491d8600eca89c8e0da08876fb969b, from 7966f319c66d9468623c6a6a017ecbc0dd79be75 before f1fd8a0a54e6d23a6d16ee29159f247862460fd1, 6.7 Not affected: before 6.7, from 6.9.9 up to 6.9.*, from 6.10 up to * | CVE List |
| linux linux_kernel | before 6.9.9 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: drm/amd/display: corrigió la copia superpuesta dentro de dml_core_mode_programming [POR QUÉ] &mode_lib->mp.Watermark y &locals->Watermark tienen la misma dirección. memcpy puede provocar un comportamiento inesperado. [CÓMO] se debe utilizar memmove.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-42227 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-42227 changed 2026-06-17 | Public domain |