What’s Vulnerable › Vulnerabilities
CVE-2024-42117: drm/amd/display: ASSERT when failing to find index by plane/stream id
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-07-30 · updated 2026-08-04
- Weakness: CWE-129
Description
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.
Affected products
- Linux kernel: from 6.7 before 6.9.9 — fixed in 6.9.9
How to fix
Upgrade to a fixed version: Linux kernel 6.9.9. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/01eb50e53c1ce505bf449348d433181310288765
- https://git.kernel.org/stable/c/a9c047a5cf3135b8b66bd28fbe2c698b9cace0b3
- https://git.kernel.org/stable/c/01eb50e53c1ce505bf449348d433181310288765
- https://git.kernel.org/stable/c/a9c047a5cf3135b8b66bd28fbe2c698b9cace0b3
Get alerted when CVE-2024-42117 or the next vulnerability affects your stack