Memory Leak Vulnerability in Linux Kernel: GPU Metrics Table Not Freed

linux Updated 02 Oct 2025

Summary

26/02/2025
N/A
No i
Unrated
Not published

CVE-2021-47658: In the Linux kernel, the following vulnerability has been resolved: drm/amd/pm: fix a potential gpu_metrics_table memory leak Memory is allocated for gpu_metrics_table in renoir_init_smc_tables(), but not freed in int sm... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is the core component of many operating systems, managing hardware resources and providing essential services for software applications. It is known for its stability, performance, and flexibility. However, like any complex software, it is susceptible to vulnerabilities. This specific issue relates to the AMD GPU metrics table, which, if not properly managed, can lead to memory leaks, affecting system performance and stability.

Vulnerability Detail

In the Linux kernel, specifically within the AMD DRM (Direct Rendering Manager) subsystem, a vulnerability has been identified where memory allocated for the gpu_metrics_table is not freed during the shutdown process. This oversight occurs in the renoir_init_smc_tables() function, where memory is allocated, but not released in the smu_v12_0_fini_smc_tables() function. The failure to free this memory can lead to a gradual increase in memory usage, potentially exhausting system resources and causing crashes or degraded performance over time.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

Currently, there are no specific workarounds available for this vulnerability. The best course of action is to apply the patch as soon as it becomes available.

Conclusion

The CVE-2021-47658 vulnerability in the Linux kernel poses a significant risk due to a memory leak associated with the AMD GPU metrics table. Users are encouraged to update their systems promptly to mitigate potential impacts. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2021-47658 is a vulnerability in the Linux kernel related to a memory leak in the AMD GPU metrics table.

If left unaddressed, this vulnerability can lead to increased memory usage, potentially causing system slowdowns or crashes.

The vulnerability affects Linux versions in Debian 11, 12, and 13. It is recommended to check for updates.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using a manifest file like package-lock.json.

You can use the Vulert playground at Vulert Scanner to check for vulnerabilities without requiring signup.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback