CVE-2024-42227

Source
https://nvd.nist.gov/vuln/detail/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:08Z
Modified
2025-10-22T00:49:17.492431Z
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.

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
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7966f319c66d9468623c6a6a017ecbc0dd79be75
Fixed
f1fd8a0a54e6d23a6d16ee29159f247862460fd1

Affected versions

v6.*

v6.5
v6.6
v6.6-rc1
v6.6-rc2
v6.6-rc3
v6.6-rc4
v6.6-rc5
v6.6-rc6
v6.6-rc7
v6.7
v6.7-rc1
v6.7-rc2
v6.7-rc3
v6.7-rc4
v6.7-rc5
v6.7-rc6
v6.7-rc7
v6.7-rc8
v6.8
v6.8-rc1
v6.8-rc2
v6.8-rc3
v6.8-rc4
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.9
v6.9-rc1
v6.9-rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7
v6.9.1
v6.9.2
v6.9.3
v6.9.4
v6.9.5
v6.9.6
v6.9.7
v6.9.8

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.9.9