CVE-2024-42121

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

29 Sep 2025, 14:36

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
CWE CWE-129
References () https://git.kernel.org/stable/c/59d99deb330af206a4541db0c4da8f73880fba03 - () https://git.kernel.org/stable/c/59d99deb330af206a4541db0c4da8f73880fba03 - Patch
References () https://git.kernel.org/stable/c/9933eca6ada0cd612e19522e7a319bcef464c0eb - () https://git.kernel.org/stable/c/9933eca6ada0cd612e19522e7a319bcef464c0eb - Patch
References () https://git.kernel.org/stable/c/a31ea49dc8064a557565725cf045944307476a6e - () https://git.kernel.org/stable/c/a31ea49dc8064a557565725cf045944307476a6e - Patch
References () https://git.kernel.org/stable/c/ae91ffbc8b8d942e3e7f188728cad557b7ed5ee4 - () https://git.kernel.org/stable/c/ae91ffbc8b8d942e3e7f188728cad557b7ed5ee4 - Patch
References () https://git.kernel.org/stable/c/b5b8837d066cc182ff69fb5629ad32ade5484567 - () https://git.kernel.org/stable/c/b5b8837d066cc182ff69fb5629ad32ade5484567 - Patch
References () https://git.kernel.org/stable/c/fbb0701af9734cff13917a4b98b5ee9da2fde48d - () https://git.kernel.org/stable/c/fbb0701af9734cff13917a4b98b5ee9da2fde48d - Patch
First Time Linux
Linux linux Kernel

21 Nov 2024, 09:33

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/59d99deb330af206a4541db0c4da8f73880fba03 - () https://git.kernel.org/stable/c/59d99deb330af206a4541db0c4da8f73880fba03 -
References () https://git.kernel.org/stable/c/9933eca6ada0cd612e19522e7a319bcef464c0eb - () https://git.kernel.org/stable/c/9933eca6ada0cd612e19522e7a319bcef464c0eb -
References () https://git.kernel.org/stable/c/a31ea49dc8064a557565725cf045944307476a6e - () https://git.kernel.org/stable/c/a31ea49dc8064a557565725cf045944307476a6e -
References () https://git.kernel.org/stable/c/ae91ffbc8b8d942e3e7f188728cad557b7ed5ee4 - () https://git.kernel.org/stable/c/ae91ffbc8b8d942e3e7f188728cad557b7ed5ee4 -
References () https://git.kernel.org/stable/c/b5b8837d066cc182ff69fb5629ad32ade5484567 - () https://git.kernel.org/stable/c/b5b8837d066cc182ff69fb5629ad32ade5484567 -
References () https://git.kernel.org/stable/c/fbb0701af9734cff13917a4b98b5ee9da2fde48d - () https://git.kernel.org/stable/c/fbb0701af9734cff13917a4b98b5ee9da2fde48d -

30 Jul 2024, 13:32

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/amd/display: Verifique el índice msg_id antes de leer o escribir [QUÉ] msg_id se usa como índice de matriz y no puede ser un valor negativo y, por lo tanto, no puede ser igual a MOD_HDCP_MESSAGE_ID_INVALID (-1). [CÓMO] Verifique si msg_id es válido antes de leer y configurar. Esto soluciona 4 problemas de OVERRUN informados por Coverity.

30 Jul 2024, 08:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-07-30 08:15

Updated : 2025-09-29 14:36


NVD link : CVE-2024-42121

Mitre link : CVE-2024-42121

CVE.ORG link : CVE-2024-42121


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-129

Improper Validation of Array Index