CVE-2024-42121

published 30 Jul 2024 · updated 11 May 2026

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

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 59d99deb330af206a4541db0c4da8f73880fba03, Kernel 9933eca6ada0cd612e19522e7a319bcef464c0eb, Kernel a31ea49dc8064a557565725cf045944307476a6e and 3 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.15, >=4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c <59d99deb330af206a4541db0c4da8f73880fba03, >=4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c <9933eca6ada0cd612e19522e7a319bcef464c0eb, >=4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c <a31ea49dc8064a557565725cf045944307476a6e, >=4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c <ae91ffbc8b8d942e3e7f188728cad557b7ed5ee4, >=4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c <b5b8837d066cc182ff69fb5629ad32ade5484567, >=4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c <fbb0701af9734cff13917a4b98b5ee9da2fde48d59d99deb330af206a4541db0c4da8f73880fba03, 9933eca6ada0cd612e19522e7a319bcef464c0eb, a31ea49dc8064a557565725cf045944307476a6e, ae91ffbc8b8d942e3e7f188728cad557b7ed5ee4, b5b8837d066cc182ff69fb5629ad32ade5484567, fbb0701af9734cff13917a4b98b5ee9da2fde48d

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-42121 severity on Zeptric[![CVE-2024-42121](https://zeptric.io/badge/cve/CVE-2024-42121.svg)](https://zeptric.io/cve/CVE-2024-42121)