In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Ensure index calculation will not overflow
[WHY & HOW] Make sure vmid0p72idx, vnom0p8idx and vmax0p9_idx calculation will never overflow and exceess array size.
This fixes 3 OVERRUN and 1 INTEGER_OVERFLOW issues reported by Coverity.
[ { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3dc6bb57dab36b38b7374af0ac916174c146b6ed", "signature_version": "v1", "target": { "function": "dcn_bw_update_from_pplib_fclks", "file": "drivers/gpu/drm/amd/display/dc/dml/calcs/dcn_calcs.c" }, "digest": { "function_hash": "243174759525861623498742493517725926495", "length": 1038.0 }, "id": "CVE-2024-46726-499c6683" }, { "signature_type": "Line", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@733ae185502d30bbe79575167b6178cfb6c5d6bd", "signature_version": "v1", "target": { "file": "drivers/gpu/drm/amd/display/dc/dml/calcs/dcn_calcs.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "238639827712748212933038038779229837605", "37540288578692901837101177660760556768", "236473121545942869327343098003588057987", "182262661535278344203927999762665214516", "134784221773251709136064064790325860491", "277419726620845019351932285180349720217", "69490635953992793307136614282058722525" ] }, "id": "CVE-2024-46726-553723bb" }, { "signature_type": "Line", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d705b5869f6b1b46ad5ceb1bd2a08c04f7e5003b", "signature_version": "v1", "target": { "file": "drivers/gpu/drm/amd/display/dc/dml/calcs/dcn_calcs.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "238639827712748212933038038779229837605", "37540288578692901837101177660760556768", "236473121545942869327343098003588057987", "182262661535278344203927999762665214516", "134784221773251709136064064790325860491", "277419726620845019351932285180349720217", "69490635953992793307136614282058722525" ] }, "id": "CVE-2024-46726-573ba8e1" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8e2734bf444767fed787305ccdcb36a2be5301a2", "signature_version": "v1", "target": { "function": "dcn_bw_update_from_pplib_fclks", "file": "drivers/gpu/drm/amd/display/dc/dml/calcs/dcn_calcs.c" }, "digest": { "function_hash": "243174759525861623498742493517725926495", "length": 1038.0 }, "id": "CVE-2024-46726-71f99053" }, { "signature_type": "Line", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8e2734bf444767fed787305ccdcb36a2be5301a2", "signature_version": "v1", "target": { "file": "drivers/gpu/drm/amd/display/dc/dml/calcs/dcn_calcs.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "238639827712748212933038038779229837605", "37540288578692901837101177660760556768", "236473121545942869327343098003588057987", "182262661535278344203927999762665214516", "134784221773251709136064064790325860491", "277419726620845019351932285180349720217", "69490635953992793307136614282058722525" ] }, "id": "CVE-2024-46726-7d27aa76" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d705b5869f6b1b46ad5ceb1bd2a08c04f7e5003b", "signature_version": "v1", "target": { "function": "dcn_bw_update_from_pplib_fclks", "file": "drivers/gpu/drm/amd/display/dc/dml/calcs/dcn_calcs.c" }, "digest": { "function_hash": "243174759525861623498742493517725926495", "length": 1038.0 }, "id": "CVE-2024-46726-a9831d38" }, { "signature_type": "Line", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3dc6bb57dab36b38b7374af0ac916174c146b6ed", "signature_version": "v1", "target": { "file": "drivers/gpu/drm/amd/display/dc/dml/calcs/dcn_calcs.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "238639827712748212933038038779229837605", "37540288578692901837101177660760556768", "236473121545942869327343098003588057987", "182262661535278344203927999762665214516", "134784221773251709136064064790325860491", "277419726620845019351932285180349720217", "69490635953992793307136614282058722525" ] }, "id": "CVE-2024-46726-ce810b9d" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@733ae185502d30bbe79575167b6178cfb6c5d6bd", "signature_version": "v1", "target": { "function": "dcn_bw_update_from_pplib_fclks", "file": "drivers/gpu/drm/amd/display/dc/dml/calcs/dcn_calcs.c" }, "digest": { "function_hash": "243174759525861623498742493517725926495", "length": 1038.0 }, "id": "CVE-2024-46726-dc72e1c1" } ]