# CVE-2024-46818: drm/amd/display: Check gpio_id before used as array index

- 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.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2024-09-27T12:35:59.187Z
- Modified: 2026-08-05T11:38:49.209Z
- 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: 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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.*; from 6.10.9 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: before 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.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/8520fdc8ecc38f240a8e9e7af89cca6739c3e790> (patch)
- <https://git.kernel.org/stable/c/40c2e8bc117cab8bca8814735f28a8b121654a84> (patch)
- <https://git.kernel.org/stable/c/0184cca30cad74d88f5c875d4e26999e26325700> (patch)
- <https://git.kernel.org/stable/c/276e3fd93e3beb5894eb1cc8480f9f417d51524d> (patch)
- <https://git.kernel.org/stable/c/08e7755f754e3d2cef7d3a7da538d33526bd6f7c> (patch)
- <https://git.kernel.org/stable/c/3d4198ab612ad48f73383ad3bb5663e6f0cdf406> (patch)
- <https://git.kernel.org/stable/c/2a5626eeb3b5eec7a36886f9556113dd93ec8ed6> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>

## Sources

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

---

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