UBUNTU-CVE-2021-42327
Advisory lineage Upstream: 1 Downstream: 3
Upstream
Downstream
Published: 21 Oct 2021, 17:15
Last modified:04 Feb 2026, 02:17
Vulnerability Summary
Overall Risk (default)
medium
27/100 CVSS Score
6.7 MEDIUM
3.1 (osv_ubuntu)
EPSS Score
No data
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
21 Oct 2021, 17:15
Published
Vulnerability first disclosed
04 Feb 2026, 02:17
Last Modified
Vulnerability information updated
Description
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.
CVSS Metrics
- v3.1•MEDIUM•Score: 6.7CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Affected Systems
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
< 5.11.0-1028.31~20.04.1
- ubuntu•linux-aws-5.13
< 5.13.0-1012.13~20.04.1
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-azure
all
- ubuntu•linux-azure-5.11
< 5.11.0-1028.31~20.04.2
- ubuntu•linux-azure-5.13
< 5.13.0-1013.15~20.04.1
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-edge
all
- ubuntu•linux-gcp
all
- ubuntu•linux-gcp-5.11
< 5.11.0-1029.33~20.04.3
- ubuntu•linux-gcp-5.13
< 5.13.0-1013.16~20.04.1
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-hwe
all
- ubuntu•linux-hwe-5.11
all
- ubuntu•linux-hwe-5.13
< 5.13.0-28.31~20.04.1
- ubuntu•linux-hwe-edge
all | all
- ubuntu•linux-intel-5.13
< 5.13.0-1010.10
- ubuntu•linux-oem
all
- ubuntu•linux-oem-5.10
all
- ubuntu•linux-oem-5.13
< 5.13.0-1029.36
- ubuntu•linux-oem-5.14
< 5.14.0-1008.8
- ubuntu•linux-oem-5.6
all
- ubuntu•linux-oracle-5.0
all
- ubuntu•linux-oracle-5.11
< 5.11.0-1028.31~20.04.1
- ubuntu•linux-oracle-5.13
< 5.13.0-1016.20~20.04.1
- ubuntu•linux-oracle-5.3
all
- ubuntu•linux-oracle-5.8
all
- ubuntu•linux-raspi2
all
- ubuntu•linux-riscv
all
- ubuntu•linux-riscv-5.11
all
- ubuntu•linux-riscv-5.8
all
References (8)
- https://ubuntu.com/security/CVE-2021-42327
- https://lists.freedesktop.org/archives/amd-gfx/2021-October/070170.html
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
- https://www.mail-archive.com/amd-gfx@lists.freedesktop.org/msg69080.html
- https://ubuntu.com/security/notices/USN-5165-1
- https://ubuntu.com/security/notices/USN-5265-1
- https://ubuntu.com/security/notices/USN-5362-1
- https://www.cve.org/CVERecord?id=CVE-2021-42327