{"id":"CVE-2021-47046","aliases":["CVE-2021-47046"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amd/display: Fix off by one in hdmi_14_process_transaction()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Fix off by one in hdmi_14_process_transaction()\n\nThe hdcp_i2c_offsets[] array did not have an entry for\nHDCP_MESSAGE_ID_WRITE_CONTENT_STREAM_TYPE so it led to an off by one\nread overflow.  I added an entry and copied the 0x0 value for the offset\nfrom similar code in drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c.\n\nI also declared several of these arrays as having HDCP_MESSAGE_ID_MAX\nentries.  This doesn't change the code, but it's just a belt and\nsuspenders approach to try future proof the code.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Fix off by one in hdmi_14_process_transaction()\n\nThe hdcp_i2c_offsets[] array did not have an entry for\nHDCP_MESSAGE_ID_WRITE_CONTENT_STREAM_TYPE so it led to an off by one\nread overflow.  I added an entry and copied the 0x0 value for the offset\nfrom similar code in drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c.\n\nI also declared several of these arrays as having HDCP_MESSAGE_ID_MAX\nentries.  This doesn't change the code, but it's just a belt and\nsuspenders approach to try future proof the code.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: drm/amd/display: corrección por uno en hdmi_14_process_transaction() La matriz hdcp_i2c_offsets[] no tenía una entrada para HDCP_MESSAGE_ID_WRITE_CONTENT_STREAM_TYPE, por lo que provocó un desbordamiento de lectura desactivado por uno. Agregué una entrada y copié el valor 0x0 para el desplazamiento de un código similar en drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c. También declaré que varias de estas matrices tenían entradas HDCP_MESSAGE_ID_MAX. Esto no cambia el código, pero es solo un enfoque de cinturón y tirantes para probar el código a prueba de futuro.","source":"nvd"}],"published":"2024-02-28T08:13:50.320Z","modified":"2026-06-17T04:16:18.060Z","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-193"],"affected":[{"ranges":[{"type":"git","introduced":"4c283fdac08abf3211533f70623c90a34f41d08d","fixed":"403c4528e5887af3deb9838cb77a557631d1e138","status":"affected"},{"type":"git","introduced":"4c283fdac08abf3211533f70623c90a34f41d08d","fixed":"6a58310d5d1e5b02d0fc9b393ba540c9367bced5","status":"affected"},{"type":"git","introduced":"4c283fdac08abf3211533f70623c90a34f41d08d","fixed":"080bd41d6478a64edf96704fddcda52b1fd5fed7","status":"affected"},{"type":"git","introduced":"4c283fdac08abf3211533f70623c90a34f41d08d","fixed":"8e6fafd5a22e7a2eb216f5510db7aab54cc545c1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.5","status":"unaffected"},{"type":"semver","introduced":"5.10.37","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.11.21","lastAffected":"5.11.*","status":"unaffected"},{"type":"semver","introduced":"5.12.4","lastAffected":"5.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.13","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":"5.5","fixed":"5.10.37"},{"status":"affected","introduced":"5.11","fixed":"5.11.21"},{"status":"affected","introduced":"5.12","fixed":"5.12.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/403c4528e5887af3deb9838cb77a557631d1e138","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6a58310d5d1e5b02d0fc9b393ba540c9367bced5","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/080bd41d6478a64edf96704fddcda52b1fd5fed7","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8e6fafd5a22e7a2eb216f5510db7aab54cc545c1","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-02-28T20:31:21.379Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47046","url":"https://www.cve.org/CVERecord?id=CVE-2021-47046","licence":"CVE Terms of Use","modified":"2026-05-11T13:47:01.480Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47046","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47046","licence":"Public domain","modified":"2026-06-17T04:16:18.060Z"}],"updatedAt":"2026-11-25T22:58:08.633Z","epss":{"score":0.00245,"percentile":0.168,"date":"2026-12-01T12:00:22.000Z"}}