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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-09-27 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2024-46818, DEBIAN-CVE-2024-46818
- Record: https://cvemate.com/vulnerability/CVE-2024-46818 · JSON: https://cvemate.com/vulnerability/CVE-2024-46818/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.269%, percentile 20.278%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 134)

- debian linux (Debian): \< 6.1.112-1 \| \< 6.10.9-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-200.220 \| \< 5.15.0-125.135 \| \< 6.8.0-50.51
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1135.145 \| \< 5.15.0-1072.78 \| \< 6.8.0-1020.22
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1072.78~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1135.145~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1020.22~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1135.145+fips1 \| \< 5.15.0-1072.78+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1140.147 \| \< 5.15.0-1075.84 \| \< 6.8.0-1020.23
- ubuntu linux-azure-4.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 30)

- <https://git.kernel.org/stable/c/8520fdc8ecc38f240a8e9e7af89cca6739c3e790>
- <https://git.kernel.org/stable/c/40c2e8bc117cab8bca8814735f28a8b121654a84>
- <https://git.kernel.org/stable/c/0184cca30cad74d88f5c875d4e26999e26325700>
- <https://git.kernel.org/stable/c/276e3fd93e3beb5894eb1cc8480f9f417d51524d>
- <https://git.kernel.org/stable/c/08e7755f754e3d2cef7d3a7da538d33526bd6f7c>
- <https://git.kernel.org/stable/c/3d4198ab612ad48f73383ad3bb5663e6f0cdf406>
- <https://git.kernel.org/stable/c/2a5626eeb3b5eec7a36886f9556113dd93ec8ed6>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>
- <https://ubuntu.com/security/CVE-2024-46818>
- <https://www.cve.org/CVERecord?id=CVE-2024-46818>
- <https://git.kernel.org/linus/2a5626eeb3b5eec7a36886f9556113dd93ec8ed6>
- <https://ubuntu.com/security/notices/USN-7088-1>
- <https://ubuntu.com/security/notices/USN-7088-2>
- <https://ubuntu.com/security/notices/USN-7088-3>
- <https://ubuntu.com/security/notices/USN-7088-4>
- <https://ubuntu.com/security/notices/USN-7100-1>
- <https://ubuntu.com/security/notices/USN-7100-2>
- <https://ubuntu.com/security/notices/USN-7088-5>
- <https://ubuntu.com/security/notices/USN-7119-1>

---

Data as of 2026-12-05T14:09:35.463Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
