# CVE-2024-42227: drm/amd/display: Fix overlapping copy within dml_core_mode_programming

- Severity: Medium 4.7 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2024-07-30T07:47:08.132Z
- Modified: 2026-06-17T07:49:03.527Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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 *)
- linux linux_kernel: before 6.9.9

## References

- <https://git.kernel.org/stable/c/9342da15f2491d8600eca89c8e0da08876fb969b> (patch)
- <https://git.kernel.org/stable/c/f1fd8a0a54e6d23a6d16ee29159f247862460fd1> (patch)

## Sources

- CVE List: [CVE-2024-42227](https://www.cve.org/CVERecord?id=CVE-2024-42227), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-42227](https://nvd.nist.gov/vuln/detail/CVE-2024-42227), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-42227 · Whole record: https://cve.day/CVE-2024-42227.json · Rebuilt by cve.day 2026-11-25T22:58:43.426Z
