CVE-2025-40334 drm/amdgpu: validate userq buffer virtual address and size
A missing validation in the AMD GPU driver allows attackers to access invalid memory mappings, potentially leading to privilege escalation or code execution.
- 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-40334?
CVE-2025-40334 is a high-severity missing authorization vulnerability in Linux, published on 9 Dec 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: validate userq buffer virtual address and size
It needs to validate the userq object virtual address to determine whether it is residented in a valid vm mapping.
Which versions are affected by CVE-2025-40334?
How do I fix CVE-2025-40334?
Apply the vendor's patch.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2025-40334 being exploited?
There is no known exploitation of CVE-2025-40334 in the wild and no public exploit code.
Sources
Also known as BELL-CVE-2025-40334, DEBIAN-CVE-2025-40334, GHSA-qw3c-jf69-33ww, ROOT-OS-DEBIAN-12-CVE-2025-40334, ROOT-OS-DEBIAN-13-CVE-2025-40334, ROOT-OS-UBUNTU-2204-CVE-2025-40334 and 2 more.