CVE-2021-47348 drm/amd/display: Avoid HDCP over-read and corruption

Critical 9.1 Published Updated

A buffer over-read in the AMD display driver could lead to data corruption or information disclosure, requiring a kernel patch.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-47348?

CVE-2021-47348 is a critical memory corruption vulnerability in Linux kernel, published on 21 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

drm/amd/display: Avoid HDCP over-read and corruption

Instead of reading the desired 5 bytes of the actual target field, the code was reading 8. This could result in a corrupted value if the trailing 3 bytes were non-zero, so instead use an appropriately sized and zero-initialized bounce buffer, and read only 5 bytes before casting to u64.

Weakness: CWE-119

Which versions are affected by CVE-2021-47348?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2021-47348?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-47348 being exploited?

There is no known exploitation of CVE-2021-47348 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-47348, GHSA-jq29-8xm6-ccxq, UBUNTU-CVE-2021-47348.

Is CVE-2021-47348 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free