5.5medium
drm/amd/display: Avoid overflow from uint32_t to uint8_t
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.25% (higher than 17% 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: Avoid overflow from uint32_t to uint8_t [WHAT & HOW] dmub_rb_cmd's ramping_boundary has size of uint8_t and it is assigned 0xFFFF. Fix it by changing it to uint8_t with value of 0xFF. This fixes 2 INTEGER_OVERFLOW issues reported by Coverity.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 1f95056cae7bded5614ecda415af1d6d4428494e, from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 6fc6ef4cd858a45479fed881e326d2449a2c9e51, from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 30d1b783b6eeaf49d311a072c70d618d993d01ec, from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before d6b54900c564e35989cf6813e4071504fa0a90e0, 4.15 Not affected: before 4.15, from 6.1.191 up to 6.1.*, from 6.6.160 up to 6.6.*, from 6.10.9 up to 6.10.*, from 6.11 up to * | CVE List |
| linux linux_kernel | before 6.10.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: Avoid overflow from uint32_t to uint8_t [WHAT & HOW] dmub_rb_cmd's ramping_boundary has size of uint8_t and it is assigned 0xFFFF. Fix it by changing it to uint8_t with value of 0xFF. This fixes 2 INTEGER_OVERFLOW issues reported by Coverity.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/amd/display: evitar el desbordamiento de uint32_t a uint8_t [QUÉ Y CÓMO] El tamaño de ramping_boundary de dmub_rb_cmd es uint8_t y se le asigna 0xFFFF. Solucione el problema cambiándolo a uint8_t con el valor 0xFF. Esto soluciona 2 problemas de INTEGER_OVERFLOW informados por Coverity.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-47661 changed 2026-10-30 | CVE Terms of Use |
| NVD | CVE-2024-47661 changed 2026-10-30 | Public domain |