{"id":"CVE-2024-46818","summary":"drm/amd/display: Check gpio_id before used as array index","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Check gpio_id before used as array index\n\n[WHY & HOW]\nGPIO_ID_UNKNOWN (-1) is not a valid value for array index and therefore\nshould be checked in advance.\n\nThis fixes 5 OVERRUN issues reported by Coverity.","modified":"2026-04-02T12:19:44.085835Z","published":"2024-09-27T12:35:59.187Z","related":["SUSE-SU-2024:3983-1","SUSE-SU-2024:3984-1","SUSE-SU-2024:3985-1","SUSE-SU-2024:3986-1","SUSE-SU-2024:4081-1","SUSE-SU-2024:4082-1","SUSE-SU-2024:4100-1","SUSE-SU-2024:4103-1","SUSE-SU-2024:4131-1","SUSE-SU-2024:4140-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4364-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:0034-1","SUSE-SU-2025:0885-1","SUSE-SU-2025:0886-1","SUSE-SU-2025:0892-1","SUSE-SU-2025:0893-1","SUSE-SU-2025:0897-1","SUSE-SU-2025:0898-1","SUSE-SU-2025:0903-1","SUSE-SU-2025:0904-1","SUSE-SU-2025:0906-1","SUSE-SU-2025:0908-1","SUSE-SU-2025:0911-1","SUSE-SU-2025:0916-1","SUSE-SU-2025:0917-1","SUSE-SU-2025:0919-1","SUSE-SU-2025:0920-1","SUSE-SU-2025:0922-1","SUSE-SU-2025:0924-1","SUSE-SU-2025:0927-1","SUSE-SU-2025:0942-1","SUSE-SU-2025:0943-1","SUSE-SU-2025:0944-1","SUSE-SU-2025:0946-1","SUSE-SU-2025:0950-1","SUSE-SU-2025:0952-1","SUSE-SU-2025:0961-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20186-1","SUSE-SU-2025:20188-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","SUSE-SU-2025:20285-1","SUSE-SU-2025:4123-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46818.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0184cca30cad74d88f5c875d4e26999e26325700"},{"type":"WEB","url":"https://git.kernel.org/stable/c/08e7755f754e3d2cef7d3a7da538d33526bd6f7c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/276e3fd93e3beb5894eb1cc8480f9f417d51524d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2a5626eeb3b5eec7a36886f9556113dd93ec8ed6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3d4198ab612ad48f73383ad3bb5663e6f0cdf406"},{"type":"WEB","url":"https://git.kernel.org/stable/c/40c2e8bc117cab8bca8814735f28a8b121654a84"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8520fdc8ecc38f240a8e9e7af89cca6739c3e790"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46818.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46818"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c"},{"fixed":"8520fdc8ecc38f240a8e9e7af89cca6739c3e790"},{"fixed":"40c2e8bc117cab8bca8814735f28a8b121654a84"},{"fixed":"0184cca30cad74d88f5c875d4e26999e26325700"},{"fixed":"276e3fd93e3beb5894eb1cc8480f9f417d51524d"},{"fixed":"08e7755f754e3d2cef7d3a7da538d33526bd6f7c"},{"fixed":"3d4198ab612ad48f73383ad3bb5663e6f0cdf406"},{"fixed":"2a5626eeb3b5eec7a36886f9556113dd93ec8ed6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46818.json"}}],"schema_version":"1.7.5"}