Vulnerability in Linux
CVE-2024-42117
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: ASSERT when failing to find index by plane/stream id [WHY] find_disp_cfg_idx_by_plane_id and find_disp_cfg_idx_by_stream_id returns an array index and they return -1 when not found; however, -1 is not a valid index number. [HOW] When this happens, call ASSERT(), and return a positive number (which is fewer than callers' array size) instead. This fixes 4 OVERRUN and 2 NEGATIVE_RETURNS issues reported by Coverity.
EPSS: 0.002 (14.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Linux — versions 7966f319c66d9468623c6a6a017ecbc0dd79be75, 6.7, 0
- Linux Linux_kernel
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2024-42117?
- CVE-2024-42117 is a high-severity vulnerability in Linux, classified under Improper Validation of Array Index. CVSS score: 7.8/10. Published 2024-07-30.
- How severe is CVE-2024-42117?
- High severity. CVSS v3 base score is 7.8 out of 10.