CVE-2024-42121 drm/amd/display: Check index msg_id before read or write
A missing bounds check on an array index in the AMD display driver allows out-of-bounds memory access, potentially causing system crashes or undefined behavior.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-42121?
CVE-2024-42121 is a high-severity vulnerability in Linux kernel, published on 30 Jul 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-129
Which versions are affected by CVE-2024-42121?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-42121?
Apply the vendor's patch.
Is CVE-2024-42121 being exploited?
There is no known exploitation of CVE-2024-42121 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-42121, DEBIAN-CVE-2024-42121, GHSA-vc9q-498x-49qm, UBUNTU-CVE-2024-42121.