{"id":"CVE-2024-42121","summary":"drm/amd/display: Check index msg_id before read or write","details":"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.","modified":"2026-04-16T04:33:08.310933589Z","published":"2024-07-30T07:46:13.064Z","related":["SUSE-SU-2024:3190-1","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3209-1","SUSE-SU-2024:3383-1","SUSE-SU-2024:3483-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42121.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/59d99deb330af206a4541db0c4da8f73880fba03"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9933eca6ada0cd612e19522e7a319bcef464c0eb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a31ea49dc8064a557565725cf045944307476a6e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ae91ffbc8b8d942e3e7f188728cad557b7ed5ee4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b5b8837d066cc182ff69fb5629ad32ade5484567"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fbb0701af9734cff13917a4b98b5ee9da2fde48d"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42121.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42121"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c"},{"fixed":"b5b8837d066cc182ff69fb5629ad32ade5484567"},{"fixed":"fbb0701af9734cff13917a4b98b5ee9da2fde48d"},{"fixed":"ae91ffbc8b8d942e3e7f188728cad557b7ed5ee4"},{"fixed":"9933eca6ada0cd612e19522e7a319bcef464c0eb"},{"fixed":"a31ea49dc8064a557565725cf045944307476a6e"},{"fixed":"59d99deb330af206a4541db0c4da8f73880fba03"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42121.json"}}],"schema_version":"1.7.5"}