{"id":"CVE-2024-42121","aliases":["CVE-2024-42121"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amd/display: Check index msg_id before read or write","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Check index msg_id before read or write\n\n[WHAT]\nmsg_id is used as an array index and it cannot be a negative value, and\ntherefore cannot be equal to MOD_HDCP_MESSAGE_ID_INVALID (-1).\n\n[HOW]\nCheck whether msg_id is valid before reading and setting.\n\nThis fixes 4 OVERRUN issues reported by Coverity.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Check index msg_id before read or write\n\n[WHAT]\nmsg_id is used as an array index and it cannot be a negative value, and\ntherefore cannot be equal to MOD_HDCP_MESSAGE_ID_INVALID (-1).\n\n[HOW]\nCheck whether msg_id is valid before reading and setting.\n\nThis fixes 4 OVERRUN issues reported by Coverity.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-07-30T07:46:13.064Z","modified":"2026-06-17T07:48:52.753Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-129"],"affected":[{"ranges":[{"type":"git","introduced":"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c","fixed":"b5b8837d066cc182ff69fb5629ad32ade5484567","status":"affected"},{"type":"git","introduced":"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c","fixed":"fbb0701af9734cff13917a4b98b5ee9da2fde48d","status":"affected"},{"type":"git","introduced":"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c","fixed":"ae91ffbc8b8d942e3e7f188728cad557b7ed5ee4","status":"affected"},{"type":"git","introduced":"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c","fixed":"9933eca6ada0cd612e19522e7a319bcef464c0eb","status":"affected"},{"type":"git","introduced":"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c","fixed":"a31ea49dc8064a557565725cf045944307476a6e","status":"affected"},{"type":"git","introduced":"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c","fixed":"59d99deb330af206a4541db0c4da8f73880fba03","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.15","status":"unaffected"},{"type":"semver","introduced":"5.10.222","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.163","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.98","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.39","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.9.9","lastAffected":"6.9.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.10","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.15","fixed":"5.10.222"},{"status":"affected","introduced":"5.11","fixed":"5.15.163"},{"status":"affected","introduced":"5.16","fixed":"6.1.98"},{"status":"affected","introduced":"6.2","fixed":"6.6.39"},{"status":"affected","introduced":"6.7","fixed":"6.9.9"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/b5b8837d066cc182ff69fb5629ad32ade5484567","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fbb0701af9734cff13917a4b98b5ee9da2fde48d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ae91ffbc8b8d942e3e7f188728cad557b7ed5ee4","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9933eca6ada0cd612e19522e7a319bcef464c0eb","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a31ea49dc8064a557565725cf045944307476a6e","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/59d99deb330af206a4541db0c4da8f73880fba03","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T16:16:57.136Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-42121","url":"https://www.cve.org/CVERecord?id=CVE-2024-42121","licence":"CVE Terms of Use","modified":"2026-05-11T20:27:23.851Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-42121","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42121","licence":"Public domain","modified":"2026-06-17T07:48:52.753Z"}],"updatedAt":"2026-11-25T22:58:43.406Z","epss":{"score":0.0026,"percentile":0.18927,"date":"2026-12-01T12:00:22.000Z"}}