CVE-2024-42121

Source
https://cve.org/CVERecord?id=CVE-2024-42121
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42121.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-42121
Downstream
Related
Published
2024-07-30T07:46:13.064Z
Modified
2026-03-20T12:38:42.198105Z
Summary
drm/amd/display: Check index msg_id before read or write
Details

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

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

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

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

This fixes 4 OVERRUN issues reported by Coverity.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42121.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c
Fixed
b5b8837d066cc182ff69fb5629ad32ade5484567
Fixed
fbb0701af9734cff13917a4b98b5ee9da2fde48d
Fixed
ae91ffbc8b8d942e3e7f188728cad557b7ed5ee4
Fixed
9933eca6ada0cd612e19522e7a319bcef464c0eb
Fixed
a31ea49dc8064a557565725cf045944307476a6e
Fixed
59d99deb330af206a4541db0c4da8f73880fba03

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42121.json"