In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Check denominator pbn_div before used
[WHAT & HOW] A denominator cannot be 0, and is checked before used.
This fixes 1 DIVIDEBYZERO issue reported by Coverity.
[
{
"signature_type": "Function",
"id": "CVE-2024-46773-17ed75b2",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@11f997143c67680d6e40a13363618380cd57a414",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "dm_update_mst_vcpi_slots_for_dsc",
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"digest": {
"function_hash": "258884573133927414344018132364163750805",
"length": 1290.0
}
},
{
"signature_type": "Function",
"id": "CVE-2024-46773-234ed391",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@20e7164c52d9bfbb9d9862b833fa989624a61345",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "dm_update_mst_vcpi_slots_for_dsc",
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"digest": {
"function_hash": "60252380657501166404394447619200798181",
"length": 1181.0
}
},
{
"signature_type": "Line",
"id": "CVE-2024-46773-36570ef8",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@11f997143c67680d6e40a13363618380cd57a414",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"117061219888561095507244978518119931484",
"303734645297926854657352171465079388319",
"24680042531766083411531968805151836019",
"280590321341446630500830996114195152878"
]
}
},
{
"signature_type": "Function",
"id": "CVE-2024-46773-4113c0c1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dfafee0a7b51c7c9612edd2d991401294964d02f",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "dm_update_mst_vcpi_slots_for_dsc",
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"digest": {
"function_hash": "79872142443803878528265959123659688924",
"length": 1218.0
}
},
{
"signature_type": "Line",
"id": "CVE-2024-46773-7df5b324",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@20e7164c52d9bfbb9d9862b833fa989624a61345",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"117061219888561095507244978518119931484",
"303734645297926854657352171465079388319",
"24680042531766083411531968805151836019",
"280590321341446630500830996114195152878"
]
}
},
{
"signature_type": "Line",
"id": "CVE-2024-46773-830e1aca",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dfafee0a7b51c7c9612edd2d991401294964d02f",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"117061219888561095507244978518119931484",
"303734645297926854657352171465079388319",
"24680042531766083411531968805151836019",
"280590321341446630500830996114195152878"
]
}
},
{
"signature_type": "Line",
"id": "CVE-2024-46773-9115e5d8",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@116a678f3a9abc24f5c9d2525b7393d18d9eb58e",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"117061219888561095507244978518119931484",
"303734645297926854657352171465079388319",
"24680042531766083411531968805151836019",
"280590321341446630500830996114195152878"
]
}
},
{
"signature_type": "Function",
"id": "CVE-2024-46773-953686a0",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@116a678f3a9abc24f5c9d2525b7393d18d9eb58e",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "dm_update_mst_vcpi_slots_for_dsc",
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"digest": {
"function_hash": "258884573133927414344018132364163750805",
"length": 1290.0
}
}
]