What’s Vulnerable › Vulnerabilities

CVE-2024-42121: drm/amd/display: Check index msg_id before read or write

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.222, 5.15.163, 6.1.98, 6.6.39. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-42121 or the next vulnerability affects your stack