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

CVE-2024-42121
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.26 % · percentile 18 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-129 — Improper Validation of Array Index

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c < b5b8837d066cc182ff69fb5629ad32ade5484567 ; affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c < fbb0701af9734cff13917a4b98b5ee9da2fde48d ; affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c < ae91ffbc8b8d942e3e7f188728cad557b7ed5ee4 ; affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c < 9933eca6ada0cd612e19522e7a319bcef464c0eb ; affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c < a31ea49dc8064a557565725cf045944307476a6e ; affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c < 59d99deb330af206a4541db0c4da8f73880fba03
Linux · Linuxaffected 4.15 ; unaffected 0 < 4.15 ; unaffected 5.10.222 ≤ 5.10.* ; unaffected 5.15.163 ≤ 5.15.* ; unaffected 6.1.98 ≤ 6.1.* ; unaffected 6.6.39 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD