{"id":"CVE-2024-42117","published":"2024-07-30T07:46:09Z","modified":"2026-08-05T11:35:46Z","title":"drm/amd/display: ASSERT when failing to find index by plane/stream id","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: ASSERT when failing to find index by plane/stream id\n\n[WHY]\nfind_disp_cfg_idx_by_plane_id and find_disp_cfg_idx_by_stream_id returns\nan array index and they return -1 when not found; however, -1 is not a\nvalid index number.\n\n[HOW]\nWhen this happens, call ASSERT(), and return a positive number (which is\nfewer than callers' array size) instead.\n\nThis fixes 4 OVERRUN and 2 NEGATIVE_RETURNS issues reported by Coverity.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00307,"percentile":0.16032,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/a9c047a5cf3135b8b66bd28fbe2c698b9cace0b3","tags":[]},{"url":"https://git.kernel.org/stable/c/01eb50e53c1ce505bf449348d433181310288765","tags":[]}],"priority":{"score":8.7,"factors":[{"name":"EPSS percentile","points":3.21},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 7966f319c66d9468623c6a6a017ecbc0dd79be75, < a9c047a5cf3135b8b66bd28fbe2c698b9cace0b3",">= 7966f319c66d9468623c6a6a017ecbc0dd79be75, < 01eb50e53c1ce505bf449348d433181310288765"]},{"vendor":"Linux","product":"Linux","versions":["6.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T16:17:10.514634Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-39949","exploited":false,"provenance":"source"}}