CVE-2024-46818

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

State
Published
Severity
7.8 High
Published
Sep 27, 2024
Updated
Aug 5, 2026
Reserved
Sep 11, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before 8520fdc8ecc38f240a8e9e7af89cca6739c3e790Affected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before 40c2e8bc117cab8bca8814735f28a8b121654a84Affected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before 0184cca30cad74d88f5c875d4e26999e26325700Affected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before 276e3fd93e3beb5894eb1cc8480f9f417d51524dAffected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before 08e7755f754e3d2cef7d3a7da538d33526bd6f7cAffected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before 3d4198ab612ad48f73383ad3bb5663e6f0cdf406Affected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before 2a5626eeb3b5eec7a36886f9556113dd93ec8ed6Affected
LinuxLinux
  • 4.15Affected
  • before 4.15Not affected
  • 5.4.284 through 5.4.*Not affected
  • 5.10.226 through 5.10.*Not affected
  • 5.15.167 through 5.15.*Not affected
  • 6.1.109 through 6.1.*Not affected
  • 6.6.50 through 6.6.*Not affected
  • 6.10.9 through 6.10.*Not affected
  • 6.11 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.