CVE-2021-47042: 
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47042 is a memory leak vulnerability in the Linux kernel's AMD display driver component, specifically in the dc_link_construct() function. The vulnerability was discovered in the Linux kernel versions from 5.12 up to (excluding) 5.12.4. The issue occurs in the drm/amd/display module during AMD module loading process (NVD).

Technical details

The vulnerability is classified as CWE-401 (Missing Release of Memory after Effective Lifetime) with a CVSS v3.1 Base Score of 5.5 (Medium). The issue manifests as an unreferenced object of size 1024 bytes in the amd_module_load process, specifically during the dc_link_construct() function execution. The vulnerability stems from a failure to free local data after use, which was introduced in the commit that moved local data from stack to heap (Kernel Patch).

Impact

The memory leak can lead to resource exhaustion over time, potentially affecting system stability and performance. The vulnerability requires local access and low privileges to exploit, with the primary impact being on system availability (NVD).

Exploitability

The vulnerability requires local access with low privileges to exploit. There are no known public exploits targeting this vulnerability in the wild (NVD).

Mitigation and workarounds

The vulnerability has been patched in the Linux kernel. The fix involves adding a proper memory deallocation call (kfree(info)) after the successful execution of the dc_link_construct function. Users should upgrade to Linux kernel version 5.12.4 or later which contains the fix (Kernel Patch).

Additional resources


Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-98424MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • linux-aws
NoYesOct 14, 2026
CVE-2026-98422MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • linux-azure-nvidia-6.14
NoYesOct 14, 2026
CVE-2026-98429NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-fips
NoYesOct 14, 2026
CVE-2026-98425NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-aws-6.14
NoYesOct 14, 2026
CVE-2026-98421NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-modules-extra
NoYesOct 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management