In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix incorrect size calculation for loop
[WHY] feclken has size of 5 but sizeof(feclken) has byte size 20 which is lager than the array size.
[HOW] Divide byte size 20 by its element size.
This fixes 2 OVERRUN issues reported by Coverity.
[
{
"id": "CVE-2024-46729-33672614",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"313129892858156637291287507318746186984",
"301307960449149616092518639168674713893",
"249820821432085368803226465230048991193",
"78719993376967208934175468190250402945"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3941a3aa4b653b69876d894d08f3fff1cc965267",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/dccg/dcn35/dcn35_dccg.c"
}
},
{
"id": "CVE-2024-46729-f3036344",
"signature_version": "v1",
"digest": {
"length": 1104.0,
"function_hash": "46840625862199501769589703566397304355"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3941a3aa4b653b69876d894d08f3fff1cc965267",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/dccg/dcn35/dcn35_dccg.c",
"function": "dccg35_get_other_enabled_symclk_fe"
}
}
]