# CVE-2024-42117: drm/amd/display: ASSERT when failing to find index by plane/stream id

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-07-30T07:46:09.648Z
- Modified: 2026-08-05T11:35:46.481Z
- Weaknesses: CWE-129
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 7966f319c66d9468623c6a6a017ecbc0dd79be75 before a9c047a5cf3135b8b66bd28fbe2c698b9cace0b3; from 7966f319c66d9468623c6a6a017ecbc0dd79be75 before 01eb50e53c1ce505bf449348d433181310288765; 6.7 (not affected: before 6.7; from 6.9.9 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 6.7 before 6.9.9

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/a9c047a5cf3135b8b66bd28fbe2c698b9cace0b3> (patch)
- <https://git.kernel.org/stable/c/01eb50e53c1ce505bf449348d433181310288765> (patch)

## Sources

- CVE List: [CVE-2024-42117](https://www.cve.org/CVERecord?id=CVE-2024-42117), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-42117](https://nvd.nist.gov/vuln/detail/CVE-2024-42117), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-42117 · Whole record: https://cve.day/CVE-2024-42117.json · Rebuilt by cve.day 2026-11-25T22:58:43.405Z
