Buffer Overflow Vulnerability in Linux Kernel's AMDGPU Driver

linux Updated 02 Oct 2025

Summary

27/02/2025
N/A
No i
High
7.8

CVE-2025-21780: In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: avoid buffer overflow attach in smu_sys_set_pp_table() It malicious user provides a small pptable through sysfs and then a bigger pptable, i... 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 a core component of the operating system that manages hardware and system resources. The AMDGPU driver is responsible for managing AMD graphics cards, providing essential functionalities for rendering graphics and handling GPU tasks. This driver is crucial for users relying on AMD hardware for gaming, graphic design, and other intensive applications. However, vulnerabilities in the driver can lead to severe security risks, including unauthorized access and system instability.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the AMDGPU driver, specifically in the function smu_sys_set_pp_table(). This vulnerability arises when a malicious user provides a smaller power table (pptable) through the sysfs interface followed by a larger one. This sequence can lead to a buffer overflow attack, potentially allowing the attacker to execute arbitrary code or crash the system. The vulnerability underscores the importance of validating input sizes in system calls to prevent such exploits.

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

As a temporary workaround, users can restrict access to the sysfs interface for non-privileged users to prevent unauthorized manipulation of the pptable. This can be done by modifying the permissions of the relevant sysfs entries.

Conclusion

The CVE-2025-21780 vulnerability in the Linux kernel's AMDGPU driver poses significant risks, including buffer overflow attacks. Users are strongly encouraged to update their systems to the latest kernel version to mitigate these risks. Additionally, implementing temporary workarounds can help protect systems until updates are applied.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-21780 is a vulnerability in the Linux kernel's AMDGPU driver that can lead to a buffer overflow attack.

Exploitation of this vulnerability can allow attackers to execute arbitrary code or crash the system, leading to potential data loss or unauthorized access.

Yes, users are advised to update their Linux kernel to the latest version that includes the patch for this vulnerability.

As a temporary measure, restrict access to the sysfs interface for non-privileged users to mitigate the risk of exploitation.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.

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