Skip to content
Heist/ feed
Back to feed
HighFix available

drm/amd/display: Check gpio_id before used as array index

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.226, 5.15.167, 5.4.284, 6.1.109, 6.10.9, 6.6.50
CVEs
CVE-2024-46818
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 00:41 UTC · Revision 1

Source evidence

drm/amd/display: Check gpio_id before used as array index

core-osv · Original source

Published 27 Sept 2024, 12:35 UTC

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.

osv:CVE-2024-46818

Kernel

Fixed versions: 5.4.284, 5.10.226, 5.15.167, 6.1.109, 6.6.50, 6.10.9

Complete source record
{
  "id": "4b07f794d5d756e0f91ccff273908bf3d805e8941aafb2e7b8a24c36bb4af229",
  "url": "https://osv.dev/vulnerability/CVE-2024-46818",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "drm/amd/display: Check gpio_id before used as array index",
    "summary": "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.",
    "evidence": "osv:CVE-2024-46818",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.284",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.226",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.167",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.109",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.50",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.10.9",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-46818",
      "aliases": [
        "CVE-2024-46818"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "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"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.15.0"
                },
                {
                  "fixed": "5.4.284"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.226"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.167"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.109"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.50"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.10.9"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46818.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.477687044Z",
      "provider": "osv",
      "references": [
        "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",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46818.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-46818",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46818.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-46818",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521049,
  "published_at": "2024-09-27T12:35:59.187+00:00"
}