PT-2021-23571 · Amd+5 · Amdgpu+5
Thelford Williams
·
Published
2021-10-21
·
Updated
2025-09-29
·
CVE-2021-42327
CVSS v3.1
6.7
Medium
| Vector | AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 5.14.15
Description
The issue 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. This occurs in the dp link settings write function in the amdgpu dm debugfs.c file.Recommendations
For Linux kernel versions prior to 5.14.15, update to version 5.14.15 or later to resolve the issue. As a temporary workaround, consider restricting access to the AMD GPU display drivers debug filesystem to minimize the risk of exploitation.
Exploit
Fix
Memory Corruption
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Amdgpu
Astra Linux
Linuxmint
Suse
Ubuntu