Vulnerabilities · 2021 · Linux
CVE-2021-42327
Linux Kernel vulnerability
dp_link_settings_write in drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c in the Linux kernel through 5.14.14 allows a heap-based buffer overflow by an attacker who can write a string to the AMD GPU display drivers debug filesystem. There are no checks on size within parse_write_buffer_into_params when it uses the size of copy_from_user to copy a userspace buffer into a 40-byte heap buffer.
Affected products
Linux Kernel, Fedora, H300s Firmware, H500s Firmware, H700s Firmware, H300e Firmware, H500e Firmware, H700e Firmware, H410s Firmware, H410c Firmware and more. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/drivers/gpu/drm/amd/display · Vendor Advisory
- security.netapp.com/advisory/ntap-20211118-0005/ · Third Party Advisory
- git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f23750b5b3d98653b31d446
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R
- www.mail-archive.com/amd-gfx%40lists.freedesktop.org/msg69080.html
- nvd.nist.gov/vuln/detail/CVE-2021-42327
- cve.org/CVERecord?id=CVE-2021-42327
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.