Skip to content
Fencer Vulns
medium 6.7

CVE-2021-42327 json

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…

published 2021-10-21 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-29301

cvss
6.7
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.9%
EPSS 0.9% chance of exploitation in 30 days, percentile 59%
public exploits
0
none known

Summary

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.

Patch / fix

  • linux Debian 14, Debian 13, Debian 12 5.14.16-1

debian advisories DEBIAN-CVE-2021-42327

  • linux-aws-5.11 Ubuntu 20.04 LTS 5.11.0-1028.31~20.04.1
  • linux-aws-5.13 Ubuntu 20.04 LTS 5.13.0-1012.13~20.04.1
  • linux-gcp-5.11 Ubuntu 20.04 LTS 5.11.0-1029.33~20.04.3
  • linux-gcp-5.13 Ubuntu 20.04 LTS 5.13.0-1013.16~20.04.1
  • linux-hwe-5.13 Ubuntu 20.04 LTS 5.13.0-28.31~20.04.1
  • linux-oem-5.13 Ubuntu 20.04 LTS 5.13.0-1029.36
  • linux-oem-5.14 Ubuntu 20.04 LTS 5.14.0-1008.8
  • linux-azure-5.11 Ubuntu 20.04 LTS 5.11.0-1028.31~20.04.2

ubuntu advisories UBUNTU-CVE-2021-42327

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel-rt SLE Micro 5.4, SLE Micro 5.3 5.14.21-150400.15.106.1
  • kernel-source-rt SLE Micro 5.4, SLE Micro 5.3 5.14.21-150400.15.106.1
  • kernel-rt SLE Micro 5.5, Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.58.1
  • kernel-syms-rt Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.58.1
  • kernel-rt_debug Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.58.1
  • kernel-source-rt SLE Micro 5.5, Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.58.1
  • kernel-livepatch-SLE15-SP5-RT_Update_16 SLE Live Patching 15 SP5 1-150500.11.3.1

suse advisories SUSE-SU-2025:0231-1SUSE-SU-2024:2008-1

  • kernel CBL-Mariner 2.0 5.10.78.1-1

azure linux advisories AZL-6600

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

  • linux-hardened Arch Linux 5.14.16.hardened1-1
  • linux Arch Linux 5.14.16.arch1-1
  • linux-zen Arch Linux 5.14.16.zen1-1
  • linux-lts Arch Linux 5.10.77-1

arch linux advisories AVG-2499AVG-2513AVG-2514AVG-2515

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-42327 updated cvss 6.7

kernel: heap-based buffer overflow in dp_link_settings_write() in drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c

  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, kernel-alt, python-perf, +9 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +82 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.87% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 6.7 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 4.6 AV:L/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.