CVE-2021-47348·Kernel vulnerability
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.
- Severity
- critical
- Software
- Kernel
- Fixed in
- 5.13.3
- Published
- 2024-05-21
Affected versions
From: 5.13
Until: 5.13.3
Fixed in: 5.13.3
How to fix this CVE
Update your Linux kernel to version 5.13.3 or later to patch a critical memory read vulnerability in the AMD display driver's HDCP implementation. This vulnerability allows reading beyond allocated buffer boundaries, potentially causing system corruption or information disclosure. Apply the kernel update immediately across all affected systems running kernel versions 5.13 through 5.13.2.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r (should be 5.13.3 or higher, or not in 5.13.0-5.13.2 range)
- Verify AMD GPU driver is in use: lspci | grep -i amd (look for VGA or 3D controller entries)
- Review kernel logs for HDCP-related errors: grep -i hdcp /var/log/kern.log or sudo journalctl -k | grep -i hdcp
- Confirm patch application: grep HDCP_OVER_READ /boot/config-$(uname -r) or verify kernel source hash against git.kernel.org commit 06888d571b513cbfc0b41949948def6cb81021b2
FAQ
What is CVE-2021-47348?
This vulnerability exists in the Linux kernel's AMD display driver HDCP implementation, where the code incorrectly reads 8 bytes from a 5-byte buffer field, potentially corrupting memory with uninitialized or trailing data.
Is CVE-2021-47348 being actively exploited?
No, CVE-2021-47348 is not listed in CISA's Known Exploited Vulnerabilities catalog and has no publicly available exploits.
What versions of Kernel are affected by CVE-2021-47348?
Linux kernel versions 5.13.0 through 5.13.2 are vulnerable; the fix was introduced in kernel 5.13.3.
How do I check if my server is vulnerable to CVE-2021-47348?
Run `uname -r` and check if the output shows 5.13.0, 5.13.1, or 5.13.2; if so, your system is vulnerable. Additionally confirm AMD GPU presence with `lspci | grep -i amd`.
Does Defensia detect CVE-2021-47348?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2021-47348 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/06888d571b513cbfc0b41949948def6cb81021b2
- https://git.kernel.org/stable/c/3b2b93a485fb7a970bc8b5daef16f4cf579d172f
- https://git.kernel.org/stable/c/44c7c901cb368a9f2493748f213b247b5872639f
- https://git.kernel.org/stable/c/c5b518f4b98dbb2bc31b6a55e6aaa1e0e2948f2e
- https://git.kernel.org/stable/c/06888d571b513cbfc0b41949948def6cb81021b2
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2021-47348. Free for 1 server.
Get started free