CVE-2025-40335 drm/amdgpu: validate userq input args
A missing input validation in the AMD GPU kernel driver allows local attackers to bypass checks, 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-40335?
CVE-2025-40335 is a 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 input args
This will help on validating the userq input args, and rejecting for the invalid userq request at the IOCTLs first place.
Which versions are affected by CVE-2025-40335?
How do I fix CVE-2025-40335?
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-40335 being exploited?
There is no known exploitation of CVE-2025-40335 in the wild and no public exploit code.
Sources
Also known as BELL-CVE-2025-40335, DEBIAN-CVE-2025-40335, GHSA-cqm7-f8m7-q4v8, ROOT-OS-DEBIAN-12-CVE-2025-40335, ROOT-OS-DEBIAN-13-CVE-2025-40335, ROOT-OS-UBUNTU-2204-CVE-2025-40335 and 2 more.