CVE & CISA-KEV Catalog

CVE-2021-42327

MEDIUM
6.7
CVSS v3
NVD

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.

How to fix

Remediation Available
linuxDebian
Fixed in:5.10.84-1CVE-2021-42327
Fixed in:5.14.16-1CVE-2021-42327
Fixed in:5.14.16-1CVE-2021-42327
Fixed in:5.14.16-1CVE-2021-42327
linux-aws-5.11Ubuntu
Fixed in:5.11.0-1028.31~20.04.1USN-5265-1
linux-aws-5.13Ubuntu
Fixed in:5.13.0-1012.13~20.04.1USN-5265-1
linux-azure-5.11Ubuntu
Fixed in:5.11.0-1028.31~20.04.2USN-5265-1
linux-gcp-5.11Ubuntu
Fixed in:5.11.0-1029.33~20.04.3USN-5265-1
linux-hwe-5.13Ubuntu
Fixed in:5.13.0-28.31~20.04.1USN-5265-1
linux-image-5.11.0-1028-azureUbuntu
Fixed in:5.11.0-1028.31~20.04.2USN-5265-1
linux-image-5.11.0-1028-oracleUbuntu
Fixed in:5.11.0-1028.31~20.04.1USN-5265-1
linux-image-5.11.0-1029-gcpUbuntu
Fixed in:5.11.0-1029.33~20.04.3USN-5265-1
linux-image-5.13.0-1010-intelUbuntu
Fixed in:5.13.0-1010.10USN-5362-1
linux-image-5.13.0-1029-oemUbuntu
Fixed in:5.13.0-1029.36USN-5265-1
linux-image-5.13.0-28-genericUbuntu
Fixed in:5.13.0-28.31~20.04.1USN-5265-1
linux-image-5.13.0-28-generic-64kUbuntu
Fixed in:5.13.0-28.31~20.04.1USN-5265-1
linux-image-5.13.0-28-generic-lpaeUbuntu
Fixed in:5.13.0-28.31~20.04.1USN-5265-1
linux-image-5.13.0-28-lowlatencyUbuntu
Fixed in:5.13.0-28.31~20.04.1USN-5265-1
linux-image-5.14.0-1008-oemUbuntu
Fixed in:5.14.0-1008.8USN-5165-1
linux-image-awsUbuntu
Fixed in:5.11.0.1028.31~20.04.26USN-5265-1
linux-image-azureUbuntu
Fixed in:5.11.0.1028.31~20.04.26USN-5265-1
linux-image-gcpUbuntu
Fixed in:5.11.0.1029.33~20.04.27USN-5265-1
linux-image-generic-64k-hwe-20.04Ubuntu
Fixed in:5.13.0.28.31~20.04.15USN-5265-1
linux-image-generic-hwe-20.04Ubuntu
Fixed in:5.13.0.28.31~20.04.15USN-5265-1
linux-image-generic-lpae-hwe-20.04Ubuntu
Fixed in:5.13.0.28.31~20.04.15USN-5265-1
linux-image-intelUbuntu
Fixed in:5.13.0.1010.11USN-5362-1
linux-image-lowlatency-hwe-20.04Ubuntu
Fixed in:5.13.0.28.31~20.04.15USN-5265-1
linux-image-oem-20.04cUbuntu
Fixed in:5.13.0.1029.31USN-5265-1
linux-image-oem-20.04dUbuntu
Fixed in:5.14.0.1008.8USN-5165-1
linux-image-oracleUbuntu
Fixed in:5.11.0.1028.31~20.04.20USN-5265-1
linux-image-virtual-hwe-20.04Ubuntu
Fixed in:5.13.0.28.31~20.04.15USN-5265-1
linux-intel-5.13Ubuntu
Fixed in:5.13.0-1010.10USN-5362-1
linux-oem-5.13Ubuntu
Fixed in:5.13.0-1029.36USN-5265-1
linux-oem-5.14Ubuntu
Fixed in:5.14.0-1008.8USN-5165-1
linux-oracle-5.11Ubuntu
Fixed in:5.11.0-1028.31~20.04.1USN-5265-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredHigh
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

0.83%probability of exploitation in 30 days
53rdpercentile

Moderate risk: more likely to be exploited than 53% of all known CVEs.

References

Related Vulnerabilities

Other CWE-787 (Out-of-bounds Write) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-22457Critical9.0100%KEV + RansomFix
CVE-2025-0282Critical9.0100%KEV + Ransom-
CVE-2015-3113Critical9.8100%KEVFix
CVE-2021-20038Critical9.8100%KEV + Ransom-
CVE-2023-4863High8.8100%KEVFix
CVE-2020-16040Medium6.5100%-Fix
Embed a live status badge for CVE-2021-42327
CVE-2021-42327 severity badge

Markdown

[![CVE-2021-42327](https://tridentstack.com/cve/badge/CVE-2021-42327.svg)](https://tridentstack.com/cve/CVE-2021-42327)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-42327"><img src="https://tridentstack.com/cve/badge/CVE-2021-42327.svg" alt="CVE-2021-42327"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.