CVE-2024-46818
published high CVSS 3.1 · 7.8drm/amd/display: Check gpio_id before used as array index
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < 8520fdc8ecc38f240a8e9e7af89cca6739c3e790 · 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < 40c2e8bc117cab8bca8814735f28a8b121654a84 · 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < 0184cca30cad74d88f5c875d4e26999e26325700 · 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < 276e3fd93e3beb5894eb1cc8480f9f417d51524d · 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < 08e7755f754e3d2cef7d3a7da538d33526bd6f7c · 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < 3d4198ab612ad48f73383ad3bb5663e6f0cdf406 · 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < 2a5626eeb3b5eec7a36886f9556113dd93ec8ed6 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.15 (affected) · 0 to < 4.15 (unaffected · semver) · 5.4.284 through 5.4.* (unaffected · semver) · 5.10.226 through 5.10.* (unaffected · semver) · 5.15.167 through 5.15.* (unaffected · semver) · 6.1.109 through 6.1.* (unaffected · semver) · 6.6.50 through 6.6.* (unaffected · semver) · 6.10.9 through 6.10.* (unaffected · semver) · 6.11 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.112-1 | DSA-5782-1 |
| Oracle Linux | 7 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 4.12.14-122.234.1 | SUSE-SU-2025:0034-1 |
| Debian | bullseye | linux | Advisory build | 5.10.226-1 | DLA-3912-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.119-1~deb11u1 | DLA-4008-1 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-toolsaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-tools-libsaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | perfaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | python-perfaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 4.12.14-122.234.1 | SUSE-SU-2025:0034-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaults390x | Advisory build | 4.12.14-122.234.1 | SUSE-SU-2025:0034-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 4.12.14-122.234.1 | SUSE-SU-2025:0034-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 4.12.14-122.234.1 | SUSE-SU-2025:0034-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultppc64le | Advisory build | 4.12.14-122.234.1 | SUSE-SU-2025:0034-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaults390x | Advisory build | 4.12.14-122.234.1 | SUSE-SU-2025:0034-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 4.12.14-122.234.1 | SUSE-SU-2025:0034-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 4.12.14-122.234.1 | SUSE-SU-2025:0034-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.234.1 | SUSE-SU-2025:0034-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaults390x | Advisory build | 4.12.14-122.234.1 | SUSE-SU-2025:0034-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.234.1 | SUSE-SU-2025:0034-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable GPIO service paths are reached only through the local AMD display driver — DRM atomic modeset/stereo ioctls on /dev/dri/card0 and link detect/encoder enable on hotplug. There is no network or remote-peer input anywhere on the path. AC:L - In the affected versions `id` is an uninitialized stack variable in `dal_gpio_service_create_generic_mux()`/`create_irq()` that `offset_to_id()` leaves unwritten on its DDC arms, so the index is residual stack data a local caller can groom via repeated ioctls before triggering the modeset. No race or unpredictable external state is required. PR:L - An unprivileged local user with a graphical session holds DRM master on the card node and can issue the atomic commits that drive `dc_set_generic_gpio_for_stereo()` and encoder enable/disable. No CAP_SYS_ADMIN or root is needed. UI:N - The attacker drives the modeset and GPIO open/close sequence entirely from their own process; no second user must open a file, plug in a display, or take any action. S:U - The out-of-bounds access corrupts kernel memory belonging to the same kernel security authority; there is no VM, IOMMU, or sandbox boundary crossed. C:H - `busyness[-1]` loads `factory.funcs` (a kernel `.rodata` pointer) and `is_pin_busy()` dereferences it at attacker-influenced offset `en`, and a groomed index yields an out-of-bounds pointer load plus read — memory corruption of this shape is leverageable for kernel memory disclosure and KASLR defeat. I:H - `set_pin_busy()`/`set_pin_free()` perform an out-of-bounds write (`busyness[id][en] = true/false`) through that out-of-bounds-loaded pointer, landing in the `const struct hw_factory_funcs` vtable whose entries are later invoked indirectly (`funcs->init_ddc_data`, `funcs->get_ddc_pin`), giving a path to control-flow corruption. A:H - Writing through the negative index hits read-only `.rodata` under CONFIG_STRICT_KERNEL_RWX, or a wild pointer with a groomed index, producing an immediate kernel oops/panic; the ASSERT_CRITICAL paths do not prevent the access.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < 8520fdc8ecc38f240a8e9e7af89cca6739c3e790 (affected · git)4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < 40c2e8bc117cab8bca8814735f28a8b121654a84 (affected · git)4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < 0184cca30cad74d88f5c875d4e26999e26325700 (affected · git)4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < 276e3fd93e3beb5894eb1cc8480f9f417d51524d (affected · git)4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < 08e7755f754e3d2cef7d3a7da538d33526bd6f7c (affected · git)4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < 3d4198ab612ad48f73383ad3bb5663e6f0cdf406 (affected · git)4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < 2a5626eeb3b5eec7a36886f9556113dd93ec8ed6 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.15 (affected)0 to < 4.15 (unaffected · semver)5.4.284 through 5.4.* (unaffected · semver)5.10.226 through 5.10.* (unaffected · semver)5.15.167 through 5.15.* (unaffected · semver)6.1.109 through 6.1.* (unaffected · semver)6.6.50 through 6.6.* (unaffected · semver)6.10.9 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
9- https://git.kernel.org/stable/c/0184cca30cad74d88f5c875d4e26999e26325700
- https://git.kernel.org/stable/c/08e7755f754e3d2cef7d3a7da538d33526bd6f7c
- https://git.kernel.org/stable/c/276e3fd93e3beb5894eb1cc8480f9f417d51524d
- https://git.kernel.org/stable/c/2a5626eeb3b5eec7a36886f9556113dd93ec8ed6
- https://git.kernel.org/stable/c/3d4198ab612ad48f73383ad3bb5663e6f0cdf406
- https://git.kernel.org/stable/c/40c2e8bc117cab8bca8814735f28a8b121654a84
- https://git.kernel.org/stable/c/8520fdc8ecc38f240a8e9e7af89cca6739c3e790
- https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Provider assertions
3Linux · cna
drm/amd/display: Check gpio_id before used as array index
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 74b930c96bf5aea6f512e19b871db280636a716f5e58be6ee81468a984d308a2
- Ingested
- 23 Sep 2026, 08:28:03 UTC
- Source record
- Official CVE record