CVE-2024-42121
HIGH 7.8CVSS 3.1In 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.
- Published
- 30 Jul 2024
- Last modified
- 17 Jun 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Modified
- Weakness
- CWE-129
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.15, < 5.10.222 | 5.10.222 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.11, < 5.15.163 | 5.15.163 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.16, < 6.1.98 | 6.1.98 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.2, < 6.6.39 | 6.6.39 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.7, < 6.9.9 | 6.9.9 |
References
- https://git.kernel.org/stable/c/59d99deb330af206a4541db0c4da8f73880fba03 · Patch
- https://git.kernel.org/stable/c/9933eca6ada0cd612e19522e7a319bcef464c0eb · Patch
- https://git.kernel.org/stable/c/a31ea49dc8064a557565725cf045944307476a6e · Patch
- https://git.kernel.org/stable/c/ae91ffbc8b8d942e3e7f188728cad557b7ed5ee4 · Patch
- https://git.kernel.org/stable/c/b5b8837d066cc182ff69fb5629ad32ade5484567 · Patch
- https://git.kernel.org/stable/c/fbb0701af9734cff13917a4b98b5ee9da2fde48d · Patch
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 30 Jul 2024)