CVE-2025-21784 drm/amdgpu: bail out when failed to load fw in psp_init_cap_microcode()
A missing error check in the AMD GPU driver allows invalid memory access when firmware loading fails, potentially causing a system crash.
- 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-21784?
CVE-2025-21784 is a medium-severity 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: bail out when failed to load fw in psp_init_cap_microcode()
In function psp_init_cap_microcode(), it should bail out when failed to load firmware, otherwise it may cause invalid memory access.
Which versions are affected by CVE-2025-21784?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-21784?
Apply the vendor's patch.
Is CVE-2025-21784 being exploited?
There is no known exploitation of CVE-2025-21784 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2025-21784, DEBIAN-CVE-2025-21784, GHSA-qrmx-v336-349c, ROOT-OS-UBUNTU-2404-CVE-2025-21784, UBUNTU-CVE-2025-21784.