CVE-2025-21780 drm/amdgpu: avoid buffer overflow attach in smu_sys_set_pp_table()
A buffer overflow in the AMD GPU driver allows a malicious user to trigger memory corruption via sysfs, potentially leading to code execution or privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-21780?
CVE-2025-21780 is a high-severity memory corruption vulnerability in Linux kernel, published on 27 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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, it may cause buffer overflow attack in function smu_sys_set_pp_table().
Weakness: CWE-120
Which versions are affected by CVE-2025-21780?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-21780?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-21780 being exploited?
There is no known exploitation of CVE-2025-21780 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-57776, AZL-57968, BELL-CVE-2025-21780, DEBIAN-CVE-2025-21780, GHSA-jm43-c5vr-q3fg, ROOT-OS-DEBIAN-11-CVE-2025-21780 and 3 more.