In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Stop amdgpudm initialize when link nums greater than maxlinks
[Why] Coverity report OVERRUN warning. There are only maxlinks elements within dc->links. link count could up to AMDGPUDMMAXDISPLAY_INDEX 31.
[How] Make sure link count less than max_links.
[
{
"id": "CVE-2024-46816-0015ec37",
"target": {
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e2411b6abf6e5d6c33d0450846673cdf536f0ba4",
"digest": {
"line_hashes": [
"327317243216201426989753314786140068179",
"157666819512970684754286836837057513122",
"259824366449894622615093738858339329419",
"155572993032119673268492319243552470075",
"84781804371320780714379489396429105848",
"269209644026038493433722155732720384205",
"48201872393142732514238958346010036630",
"107480033909768593297992658010716063763",
"231704423472618464145109508131553185412",
"135504271870469726781185904829873571650",
"220380922817756635145261248192992937636"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2024-46816-1ebf6faa",
"target": {
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@13080d052c995aee14695a5b740c245121eb2bcc",
"digest": {
"line_hashes": [
"212197177685927274844784055248899015813",
"89813088562983780190357329231088636738",
"259824366449894622615093738858339329419",
"155572993032119673268492319243552470075",
"84781804371320780714379489396429105848",
"269209644026038493433722155732720384205",
"48201872393142732514238958346010036630",
"107480033909768593297992658010716063763",
"231704423472618464145109508131553185412",
"135504271870469726781185904829873571650",
"220380922817756635145261248192992937636"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2024-46816-2b6f9772",
"target": {
"function": "amdgpu_dm_initialize_drm_device",
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@13080d052c995aee14695a5b740c245121eb2bcc",
"digest": {
"length": 5481.0,
"function_hash": "74873158707582279825750690263813324371"
},
"signature_type": "Function"
},
{
"id": "CVE-2024-46816-3d356f74",
"target": {
"function": "amdgpu_dm_initialize_drm_device",
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e3cd0d8362de47f613bfdf315b3f3a9ab71e66bf",
"digest": {
"length": 4274.0,
"function_hash": "13419282396613116284104133172271766665"
},
"signature_type": "Function"
},
{
"id": "CVE-2024-46816-4141fcbf",
"target": {
"function": "amdgpu_dm_initialize_drm_device",
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e2411b6abf6e5d6c33d0450846673cdf536f0ba4",
"digest": {
"length": 3706.0,
"function_hash": "71507902463131781266399525077132496733"
},
"signature_type": "Function"
},
{
"id": "CVE-2024-46816-5bae5180",
"target": {
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e3cd0d8362de47f613bfdf315b3f3a9ab71e66bf",
"digest": {
"line_hashes": [
"141913125076117865490566428810377986502",
"252011163239527737401300252444056491886",
"179789101146489472268092493333560426355",
"155572993032119673268492319243552470075",
"84781804371320780714379489396429105848",
"269209644026038493433722155732720384205",
"48201872393142732514238958346010036630",
"107480033909768593297992658010716063763",
"231704423472618464145109508131553185412",
"135504271870469726781185904829873571650",
"220380922817756635145261248192992937636"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2024-46816-a610ffd4",
"target": {
"function": "amdgpu_dm_initialize_drm_device",
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c84632096722fd31251f0957fafc9e90d9a247fd",
"digest": {
"length": 5463.0,
"function_hash": "264984233846766362027554773476877209158"
},
"signature_type": "Function"
},
{
"id": "CVE-2024-46816-ce993572",
"target": {
"function": "amdgpu_dm_initialize_drm_device",
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@36c39a8dcce210649f2f45f252abaa09fcc1ae87",
"digest": {
"length": 6353.0,
"function_hash": "7230366339245606691876411324618690700"
},
"signature_type": "Function"
},
{
"id": "CVE-2024-46816-e7aaaf5b",
"target": {
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c84632096722fd31251f0957fafc9e90d9a247fd",
"digest": {
"line_hashes": [
"212197177685927274844784055248899015813",
"89813088562983780190357329231088636738",
"259824366449894622615093738858339329419",
"155572993032119673268492319243552470075",
"84781804371320780714379489396429105848",
"269209644026038493433722155732720384205",
"48201872393142732514238958346010036630",
"107480033909768593297992658010716063763",
"231704423472618464145109508131553185412",
"135504271870469726781185904829873571650",
"220380922817756635145261248192992937636"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2024-46816-fdb91fff",
"target": {
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@36c39a8dcce210649f2f45f252abaa09fcc1ae87",
"digest": {
"line_hashes": [
"212197177685927274844784055248899015813",
"89813088562983780190357329231088636738",
"259824366449894622615093738858339329419",
"155572993032119673268492319243552470075",
"84781804371320780714379489396429105848",
"269209644026038493433722155732720384205",
"48201872393142732514238958346010036630",
"107480033909768593297992658010716063763",
"81479158355263779442509928573260796815",
"104643850056358183992642322309991475789",
"304229677584774961663324091533131630997"
],
"threshold": 0.9
},
"signature_type": "Line"
}
]