7.8high
drm/amd/display: Check index msg_id before read or write
- Severity
- 7.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.26% (higher than 18% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Check index msg_id before read or write [WHAT] msg_id is used as an array index and it cannot be a negative value, and therefore cannot be equal to MOD_HDCP_MESSAGE_ID_INVALID (-1). [HOW] Check whether msg_id is valid before reading and setting. This fixes 4 OVERRUN issues reported by Coverity.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before b5b8837d066cc182ff69fb5629ad32ade5484567, from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before fbb0701af9734cff13917a4b98b5ee9da2fde48d, from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before ae91ffbc8b8d942e3e7f188728cad557b7ed5ee4, from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 9933eca6ada0cd612e19522e7a319bcef464c0eb, from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before a31ea49dc8064a557565725cf045944307476a6e, from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 59d99deb330af206a4541db0c4da8f73880fba03, 4.15 Not affected: before 4.15, from 5.10.222 up to 5.10.*, from 5.15.163 up to 5.15.*, from 6.1.98 up to 6.1.*, from 6.6.39 up to 6.6.*, from 6.9.9 up to 6.9.* | CVE List |
| linux linux_kernel | from 4.15 before 5.10.222, from 5.11 before 5.15.163, from 5.16 before 6.1.98, from 6.2 before 6.6.39, from 6.7 before 6.9.9 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Check index msg_id before read or write [WHAT] msg_id is used as an array index and it cannot be a negative value, and therefore cannot be equal to MOD_HDCP_MESSAGE_ID_INVALID (-1). [HOW] Check whether msg_id is valid before reading and setting. This fixes 4 OVERRUN issues reported by Coverity.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/amd/display: Verifique el índice msg_id antes de leer o escribir [QUÉ] msg_id se usa como índice de matriz y no puede ser un valor negativo y, por lo tanto, no puede ser igual a MOD_HDCP_MESSAGE_ID_INVALID (-1). [CÓMO] Verifique si msg_id es válido antes de leer y configurar. Esto soluciona 4 problemas de OVERRUN informados por Coverity.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-42121 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-42121 changed 2026-06-17 | Public domain |