CVE-2021-42327

MEDIUM

Linux Kernel < 5.14.14 - Out-of-Bounds Write

Title source: rule
STIX 2.1

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.

Exploits (1)

nomisec WORKING POC 11 stars
by docfate111 · poc
https://github.com/docfate111/CVE-2021-42327

Scores

CVSS v3 6.7
EPSS 0.0027
EPSS Percentile 50.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-787
Status published
Products (10)
fedoraproject/fedora 35
linux/linux_kernel < 5.14.14
netapp/h300e_firmware
netapp/h300s_firmware
netapp/h410c_firmware
netapp/h410s_firmware
netapp/h500e_firmware
netapp/h500s_firmware
netapp/h700e_firmware
netapp/h700s_firmware
Published Oct 21, 2021
Tracked Since Feb 18, 2026