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
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.009 (57.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 57th percentile — 57.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.009 · newest: 0.009 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/drivers/gpu/drm/… (Vendor Advisory)
- www.mail-archive.com/amd-gfx@lists.freedesktop.org/msg69080.html
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- security.netapp.com/advisory/ntap-20211118-0005/ (Third Party Advisory)
- git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/
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.