CVE-2024-46818
JSON

7.8high

drm/amd/display: Check gpio_id before used as array index

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.27% (higher than 20% 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 gpio_id before used as array index [WHY & HOW] GPIO_ID_UNKNOWN (-1) is not a valid value for array index and therefore should be checked in advance. This fixes 5 OVERRUN issues reported by Coverity.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 8520fdc8ecc38f240a8e9e7af89cca6739c3e790, from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 40c2e8bc117cab8bca8814735f28a8b121654a84, from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 0184cca30cad74d88f5c875d4e26999e26325700, from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 276e3fd93e3beb5894eb1cc8480f9f417d51524d, from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 08e7755f754e3d2cef7d3a7da538d33526bd6f7c, from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 3d4198ab612ad48f73383ad3bb5663e6f0cdf406, from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 2a5626eeb3b5eec7a36886f9556113dd93ec8ed6, 4.15
Not affected: before 4.15, from 5.4.284 up to 5.4.*, from 5.10.226 up to 5.10.*, from 5.15.167 up to 5.15.*, from 6.1.109 up to 6.1.*, from 6.6.50 up to 6.6.*
CVE List
linux linux_kernelbefore 5.4.284, from 5.5 before 5.10.226, from 5.11 before 5.15.167, from 5.16 before 6.1.109, from 6.2 before 6.6.50, from 6.7 before 6.10.9NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-129

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 gpio_id before used as array index [WHY & HOW] GPIO_ID_UNKNOWN (-1) is not a valid value for array index and therefore should be checked in advance. This fixes 5 OVERRUN issues reported by Coverity.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/amd/display: comprobar gpio_id antes de usarlo como índice de matriz [POR QUÉ Y CÓMO] GPIO_ID_UNKNOWN (-1) no es un valor válido para el índice de matriz y, por lo tanto, se debe comprobar con antelación. Esto soluciona 5 problemas de OVERRUN informados por Coverity.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-46818 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-46818 changed 2026-08-04Public domain