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.
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
ubuntu | 20.04 | noarch | linux | < any | UNKNOWN |
ubuntu | 22.04 | noarch | linux | < any | UNKNOWN |
ubuntu | 24.04 | noarch | linux | < any | UNKNOWN |
ubuntu | 20.04 | noarch | linux-aws | < any | UNKNOWN |
ubuntu | 22.04 | noarch | linux-aws | < any | UNKNOWN |
ubuntu | 24.04 | noarch | linux-aws | < any | UNKNOWN |
ubuntu | 20.04 | noarch | linux-aws-5.15 | < any | UNKNOWN |
ubuntu | 20.04 | noarch | linux-azure | < any | UNKNOWN |
ubuntu | 22.04 | noarch | linux-azure | < any | UNKNOWN |
ubuntu | 24.04 | noarch | linux-azure | < any | UNKNOWN |
git.kernel.org/linus/59d99deb330af206a4541db0c4da8f73880fba03 (6.10-rc1)
git.kernel.org/stable/c/59d99deb330af206a4541db0c4da8f73880fba03
git.kernel.org/stable/c/9933eca6ada0cd612e19522e7a319bcef464c0eb
git.kernel.org/stable/c/a31ea49dc8064a557565725cf045944307476a6e
git.kernel.org/stable/c/ae91ffbc8b8d942e3e7f188728cad557b7ed5ee4
git.kernel.org/stable/c/b5b8837d066cc182ff69fb5629ad32ade5484567
git.kernel.org/stable/c/fbb0701af9734cff13917a4b98b5ee9da2fde48d
launchpad.net/bugs/cve/CVE-2024-42121
nvd.nist.gov/vuln/detail/CVE-2024-42121
security-tracker.debian.org/tracker/CVE-2024-42121
www.cve.org/CVERecord?id=CVE-2024-42121