CVE-2024-42227: drm/amd/display: Fix overlapping copy within dml_core_mode_programming
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix overlapping copy within dmlcoremodeprogramming
[WHY] &modelib->mp.Watermark and &locals->Watermark are the same address. memcpy may lead to unexpected behavior.
[HOW] memmove should be used.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-42227?
CVE-2024-42227 has been classified as a medium severity vulnerability in the Linux kernel.
How do I fix CVE-2024-42227?
To address CVE-2024-42227, you should update the Linux kernel to versions 5.10.223-1, 5.10.226-1, 6.1.119-1, 6.1.123-1, 6.12.10-1, or 6.12.11-1.
Which systems are affected by CVE-2024-42227?
CVE-2024-42227 affects various versions of the Linux kernel prior to 6.10.0.
What is the nature of the vulnerability in CVE-2024-42227?
CVE-2024-42227 involves an overlapping copy issue within the dml_core_mode_programming that can lead to unexpected behavior.
What are the recommendations for preventing CVE-2024-42227?
It is recommended to regularly update your Linux kernel to the latest stable versions to mitigate vulnerabilities such as CVE-2024-42227.