CVE-2021-47046: drm/amd/display: Fix off by one in hdmi_14_process_transaction()
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix off by one in hdmi14processtransaction()
The hdcpi2coffsets[] array did not have an entry for HDCPMESSAGEIDWRITECONTENTSTREAMTYPE so it led to an off by one read overflow. I added an entry and copied the 0x0 value for the offset from similar code in drivers/gpu/drm/amd/display/modules/hdcp/hdcpddc.c.
I also declared several of these arrays as having HDCPMESSAGEIDMAX entries. This doesn't change the code, but it's just a belt and suspenders approach to try future proof the code.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2021-47046?
CVE-2021-47046 is classified as a medium severity vulnerability.
How do I fix CVE-2021-47046?
To fix CVE-2021-47046, update your Linux kernel to a version above 5.10.37, 5.11.21, or 5.12.4.
Which versions of the Linux kernel are affected by CVE-2021-47046?
CVE-2021-47046 affects Linux kernel versions from 5.5 to 5.10.37, 5.11 to 5.11.21, and 5.12 to 5.12.4.
What kind of vulnerability is CVE-2021-47046?
CVE-2021-47046 is an off-by-one read overflow vulnerability in the Linux kernel's HDMI processing.
What component of the Linux kernel is affected by CVE-2021-47046?
CVE-2021-47046 specifically affects the drm/amd/display component of the Linux kernel.