In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix array-index-out-of-bounds in dml2/FCLKChangeSupport
[Why] Potential out of bounds access in dml2calculaterqanddlgparams() because the value of outloweststateidx used as an index for FCLKChangeSupport array can be greater than 1.
[How] Currently dml2 core specifies identical values for all FCLKChangeSupport elements. Always use index 0 in the condition to avoid out of bounds access.
[
{
"id": "CVE-2024-41061-1b6bc049",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0ad4b4a2f6357c45fbe444ead1a929a0b4017d03",
"signature_version": "v1",
"target": {
"function": "dml2_calculate_rq_and_dlg_params",
"file": "drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.c"
},
"deprecated": false,
"digest": {
"length": 4997.0,
"function_hash": "267290073133428497600780194438632544107"
},
"signature_type": "Function"
},
{
"id": "CVE-2024-41061-a174224d",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0ad4b4a2f6357c45fbe444ead1a929a0b4017d03",
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.c"
},
"deprecated": false,
"digest": {
"line_hashes": [
"206436889168418160689211103217078771282",
"35921554919880976619236468113320971597",
"87522368036787085195993580659536555257",
"324025948786381375647543212596136041329"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2024-41061-b08650f3",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@94166fe12543fbef122ca2d093e794ea41073a85",
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.c"
},
"deprecated": false,
"digest": {
"line_hashes": [
"206436889168418160689211103217078771282",
"35921554919880976619236468113320971597",
"87522368036787085195993580659536555257",
"324025948786381375647543212596136041329"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2024-41061-f923df8c",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@94166fe12543fbef122ca2d093e794ea41073a85",
"signature_version": "v1",
"target": {
"function": "dml2_calculate_rq_and_dlg_params",
"file": "drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.c"
},
"deprecated": false,
"digest": {
"length": 4693.0,
"function_hash": "172920640551327425075980823802701400123"
},
"signature_type": "Function"
}
]