Vulnerability database / CVE-2021-42327
CVE-2021-42327
MEDIUM 6.7 CVSS 3.1 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.
Published 21 Oct 2021
Last modified 17 Jun 2026 Assigned by cve@mitre.org NVD status Modified Weakness
CWE-787 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
MEDIUM 6.7
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HNVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 4.6
AV:L/AC:L/Au:N/C:P/I:P/A:P
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
linux
linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
<= 5.14.14
NVD
fedoraproject
fedoracpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
= 35
NVD
netapp
h300s_firmwarecpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:*
(no version)
NVD
netapp
h500s_firmwarecpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:*
(no version)
NVD
netapp
h700s_firmwarecpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:*
(no version)
NVD
netapp
h300e_firmwarecpe:2.3:o:netapp:h300e_firmware:-:*:*:*:*:*:*:*
(no version)
NVD
netapp
h500e_firmwarecpe:2.3:o:netapp:h500e_firmware:-:*:*:*:*:*:*:*
(no version)
NVD
netapp
h700e_firmwarecpe:2.3:o:netapp:h700e_firmware:-:*:*:*:*:*:*:*
(no version)
NVD
netapp
h410s_firmwarecpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:*
(no version)
NVD
netapp
h410c_firmwarecpe:2.3:o:netapp:h410c_firmware:-:*:*:*:*:*:*:*
(no version)
References
History
25 Nov 2026 20:33 UTC · NVD: first stored (published 21 Oct 2021)