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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 5.14.16-1 | — |
| Debian 13 | linux | 5.14.16-1 | — |
| Debian 12 | linux | 5.14.16-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | linux-aws-5.11 +1 | 5.11.0-1028.31~20.04.1 | USN-5265-1 |
| Ubuntu 20.04 LTS | linux-aws-5.13 | 5.13.0-1012.13~20.04.1 | USN-5265-1 |
| Ubuntu 20.04 LTS | linux-azure-5.11 | 5.11.0-1028.31~20.04.2 | USN-5265-1 |
| Ubuntu 20.04 LTS | linux-azure-5.13 | 5.13.0-1013.15~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-gcp-5.11 | 5.11.0-1029.33~20.04.3 | USN-5265-1 |
| Ubuntu 20.04 LTS | linux-gcp-5.13 | 5.13.0-1013.16~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-hwe-5.13 | 5.13.0-28.31~20.04.1 | USN-5265-1 |
| Ubuntu 20.04 LTS | linux-intel-5.13 | 5.13.0-1010.10 | USN-5362-1 |
| Ubuntu 20.04 LTS | linux-oem-5.13 | 5.13.0-1029.36 | USN-5265-1 |
| Ubuntu 20.04 LTS | linux-oem-5.14 | 5.14.0-1008.8 | USN-5165-1 |
| Ubuntu 20.04 LTS | linux-oracle-5.13 | 5.13.0-1016.20~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-riscv +10 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp +12 | No fix yet | — |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Micro 5.5 | kernel-rt +1 | 5.14.21-150500.13.58.1 | SUSE-SU-2024:2008-1 |
| SLE Micro 5.4 | kernel-rt +1 | 5.14.21-150400.15.106.1 | SUSE-SU-2025:0231-1 |
| SLE Micro 5.3 | kernel-rt +1 | 5.14.21-150400.15.106.1 | SUSE-SU-2025:0231-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5-RT_Update_16 | 1-150500.11.3.1 | SUSE-SU-2024:2008-1 |
| SUSE Real Time Module 15 SP5 | kernel-rt +3 | 5.14.21-150500.13.58.1 | SUSE-SU-2024:2008-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.5 | kernel-rt +3 | 5.14.21-150500.13.58.1 | SUSE-SU-2024:2008-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | kernel | 5.10.78.1-1 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
docfate111/CVE-2021-42327 ★ 10 · Oct 28, 2021
kernel exploit POC for vulnerability i found in amd gpu driver
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 6
- USN-5362-1 linux-intel-5.13 vulnerabilities Ubuntu Security Notices (USN) · Sep 14, 2026
- USN-5265-1 linux, linux-aws, linux-aws-5.11, linux-aws-5.13, linux-azure-5.11, linux-gcp, linux-gcp-5.11, linux-hwe-5.13, linux-kvm, linux-oem-5.13, linux-oracle, linux-oracle-5.11, linux-raspi vulnerabilities Ubuntu Security Notices (USN) · Sep 10, 2026
- USN-5165-1 linux-oem-5.14 vulnerabilities Ubuntu Security Notices (USN) · Sep 9, 2026
- SUSE-SU-2024:2008-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:0231-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2024-1372 Linux Kernel: Schwachstelle ermöglicht nicht spezifizierten Angriff BSI CERT-Bund (WID) · Jan 26, 2025
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