Buffer overflow in Linux Kernel
CVE-2021-42327
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.
Vulnerability class: Buffer Overflow
EPSS: 0.008 (53.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.7 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve@mitre.org (Vendor Advisory)
- cve@mitre.org
- cve@mitre.org (vendor-advisory)
- cve@mitre.org (Third Party Advisory)
- cve@mitre.org
Frequently asked questions
- What is CVE-2021-42327?
- CVE-2021-42327 is a medium-severity vulnerability in Linux Kernel, classified under Out-of-bounds Write. CVSS score: 6.7/10. Published 2021-10-21.
- How severe is CVE-2021-42327?
- Medium severity. CVSS v3 base score is 6.7 out of 10.
- Is CVE-2021-42327 known to be exploited?
- 23 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.