CVE-2024-42121

drm/amd/display: Check index msg_id before read or write

State
Published
Severity
Not scored
Published
Jul 30, 2024
Updated
May 11, 2026
Reserved
Jul 29, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

drm/amd/display: Check index msg_id before read or write

[WHAT] msg_id is used as an array index and it cannot be a negative value, and therefore cannot be equal to MOD_HDCP_MESSAGE_ID_INVALID (-1).

[HOW] Check whether msg_id is valid before reading and setting.

This fixes 4 OVERRUN issues reported by Coverity.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before b5b8837d066cc182ff69fb5629ad32ade5484567Affected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before fbb0701af9734cff13917a4b98b5ee9da2fde48dAffected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before ae91ffbc8b8d942e3e7f188728cad557b7ed5ee4Affected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before 9933eca6ada0cd612e19522e7a319bcef464c0ebAffected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before a31ea49dc8064a557565725cf045944307476a6eAffected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before 59d99deb330af206a4541db0c4da8f73880fba03Affected
LinuxLinux
  • 4.15Affected
  • before 4.15Not affected
  • 5.10.222 through 5.10.*Not affected
  • 5.15.163 through 5.15.*Not affected
  • 6.1.98 through 6.1.*Not affected
  • 6.6.39 through 6.6.*Not affected
  • 6.9.9 through 6.9.*Not affected
  • 6.10 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.