CVE-2024-42227

Source
https://cve.org/CVERecord?id=CVE-2024-42227
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42227.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-42227
Downstream
Related
Published
2024-07-30T07:47:08.132Z
Modified
2026-03-23T05:02:10.670601348Z
Summary
drm/amd/display: Fix overlapping copy within dml_core_mode_programming
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/amd/display: Fix overlapping copy within dmlcoremode_programming

[WHY] &mode_lib->mp.Watermark and &locals->Watermark are the same address. memcpy may lead to unexpected behavior.

[HOW] memmove should be used.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42227.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7966f319c66d9468623c6a6a017ecbc0dd79be75
Fixed
9342da15f2491d8600eca89c8e0da08876fb969b
Fixed
f1fd8a0a54e6d23a6d16ee29159f247862460fd1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42227.json"