{ "id": "CVE-2024-42117", "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "published": "2024-07-30T08:15:04.030", "lastModified": "2024-07-30T13:32:45.943", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [ { "lang": "en", "value": "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." }, { "lang": "es", "value": " En el kernel de Linux, se resolvi\u00f3 la siguiente vulnerabilidad: drm/amd/display: ASSERT cuando no se puede encontrar el \u00edndice por avi\u00f3n/ID de flujo [POR QU\u00c9] find_disp_cfg_idx_by_plane_id y find_disp_cfg_idx_by_stream_id devuelven un \u00edndice de matriz y devuelven -1 cuando no se encuentran; sin embargo, -1 no es un n\u00famero de \u00edndice v\u00e1lido. [C\u00d3MO] Cuando esto suceda, llame a ASSERT() y devuelva un n\u00famero positivo (que es menor que el tama\u00f1o de la matriz de quienes llaman). Esto soluciona 4 problemas de OVERRUN y 2 NEGATIVE_RETURNS informados por Coverity." } ], "metrics": {}, "references": [ { "url": "https://git.kernel.org/stable/c/01eb50e53c1ce505bf449348d433181310288765", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67" }, { "url": "https://git.kernel.org/stable/c/a9c047a5cf3135b8b66bd28fbe2c698b9cace0b3", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67" } ] }