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.
[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"146943694773350545791778822749226623870",
"238979485446714240122267547217443943651",
"273920054162075665304891009206123690348",
"56730625966031454668277030851560446049"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/dml2/display_mode_core.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9342da15f2491d8600eca89c8e0da08876fb969b",
"id": "CVE-2024-42227-a47627e3"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"146943694773350545791778822749226623870",
"238979485446714240122267547217443943651",
"273920054162075665304891009206123690348",
"56730625966031454668277030851560446049"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/dml2/display_mode_core.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f1fd8a0a54e6d23a6d16ee29159f247862460fd1",
"id": "CVE-2024-42227-cd3db962"
}
]