Vulnerability · Published Oct 21, 2021 · Assigned by mitre
CVE-2021-42327
Medium 6.7
In plain English
A medium-severity security flaw in the linux package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 5.14.16-1 | DEBIAN-CVE-2021-42327 |
| Debian:13 | linux | 5.14.16-1 | DEBIAN-CVE-2021-42327 |
| Debian:14 | linux | 5.14.16-1 | DEBIAN-CVE-2021-42327 |
Affected products (as reported)
References
- 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%40lists.freedesktop.org/msg69080.html
- FEDORA-2021-a093973910 vendor-advisory
- https://security.netapp.com/advisory/ntap-20211118-0005/
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f23750b5b3d98653b31d4469592935ef6364ad67