CVE-2021-42327

MEDIUM

Linux Kernel < 5.14.14 - Heap-Based Buffer Overflow in AMD GPU Display Debug Filesystem

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2021-42327. PoCs published by docfate111.

AI-analyzed exploit summary This repository contains a working exploit for CVE-2021-42327, a SLUB overflow vulnerability. The exploit leverages heap manipulation techniques to achieve arbitrary write and ultimately escalate privileges by overwriting modprobe_path.

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.

Exploits (1)

nomisec WORKING POC 11 stars
by docfate111 · poc
https://github.com/docfate111/CVE-2021-42327

This repository contains a working exploit for CVE-2021-42327, a SLUB overflow vulnerability. The exploit leverages heap manipulation techniques to achieve arbitrary write and ultimately escalate privileges by overwriting modprobe_path.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Racy
Target: Linux Kernel (specific version not specified)
No auth needed
Prerequisites: Kernel with vulnerable SLUB implementation · Ability to load a custom kernel module or access to /dev/vuln
mistral-large-3 · analyzed Feb 16, 2026 Full analysis →

Scores

CVSS v3 6.7
EPSS 0.0083
EPSS Percentile 53.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-787
Status published
Products (10)
fedoraproject/fedora 35
linux/linux_kernel < 5.14.14
netapp/h300e_firmware
netapp/h300s_firmware
netapp/h410c_firmware
netapp/h410s_firmware
netapp/h500e_firmware
netapp/h500s_firmware
netapp/h700e_firmware
netapp/h700s_firmware
Published Oct 21, 2021
Tracked Since Feb 18, 2026