drm/amd/display: Check gpio_id before used as array index
Summary
| CVE | CVE-2024-46818 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-09-27 13:15:14 UTC |
| Updated | 2026-08-04 11:20:30 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Problem Types: CWE-129
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c 8520fdc8ecc38f240a8e9e7af89cca6739c3e790 git | Not specified |
| CNA | Linux | Linux | affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c 40c2e8bc117cab8bca8814735f28a8b121654a84 git | Not specified |
| CNA | Linux | Linux | affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c 0184cca30cad74d88f5c875d4e26999e26325700 git | Not specified |
| CNA | Linux | Linux | affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c 276e3fd93e3beb5894eb1cc8480f9f417d51524d git | Not specified |
| CNA | Linux | Linux | affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c 08e7755f754e3d2cef7d3a7da538d33526bd6f7c git | Not specified |
| CNA | Linux | Linux | affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c 3d4198ab612ad48f73383ad3bb5663e6f0cdf406 git | Not specified |
| CNA | Linux | Linux | affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c 2a5626eeb3b5eec7a36886f9556113dd93ec8ed6 git | Not specified |
| CNA | Linux | Linux | affected 4.15 | Not specified |
| CNA | Linux | Linux | unaffected 4.15 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.4.284 5.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.226 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.167 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.109 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.50 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.10.9 6.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.11 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/276e3fd93e3beb5894eb1cc8480f9f417d51524d | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/08e7755f754e3d2cef7d3a7da538d33526bd6f7c | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/40c2e8bc117cab8bca8814735f28a8b121654a84 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/8520fdc8ecc38f240a8e9e7af89cca6739c3e790 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/0184cca30cad74d88f5c875d4e26999e26325700 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/3d4198ab612ad48f73383ad3bb5663e6f0cdf406 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2024/10/msg00003.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| lists.debian.org/debian-lts-announce/2025/01/msg00001.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| git.kernel.org/stable/c/2a5626eeb3b5eec7a36886f9556113dd93ec8ed6 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.