CVE-2025-40334: Linux kernel · drm/amdgpu: validate userq buffer virtual address and size
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.3 High · fixed in 6.17.0-1007.7~24.04.1 : patch Linux kernel soon.
Data as of 26 Oct 2026, 12:55 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.17.0-1007.7~24.04.1, 6.17.0-1008.8~24.04.1, 6.17.0-1008.8 +6
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 9 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10linuxpkg:deb/ubuntu/linux@6.17.0-14.14?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10linux-awspkg:deb/ubuntu/linux-aws@6.17.0-1007.7?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10linux-azurepkg:deb/ubuntu/linux-azure@6.17.0-1008.8?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde@6.17.0-1017.17?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10linux-gcppkg:deb/ubuntu/linux-gcp@6.17.0-1007.7?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10linux-oraclepkg:deb/ubuntu/linux-oracle@6.17.0-1007.7?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch addressing this vulnerability is available and should be applied by upgrading to Linux kernel versions 6.17.0-1007.7~24.04.1 or later, or the corresponding fixed versions listed. The Ubuntu security advisory USN-8029-1 provides official updates and guidance. Users should apply these kernel updates promptly to remediate the issue. No additional mitigations are specified by the vendor advisory.
Description
A vulnerability in the Linux kernel's drm/amdgpu subsystem related to improper validation of user queue buffer virtual addresses and sizes has been resolved. The flaw involved insufficient validation of the userq object virtual address to confirm it resides within a valid virtual memory mapping. This issue was addressed in Linux kernel versions 6.17.0-1007.7~24.04.1, 6.17.0-1008.8~24.04.1, 6.17.0-1008.8, and 6.17.0-1011.11. The vulnerability has a CVSS score of 7.3, indicating a medium severity level. A patch is available and has been incorporated in updated kernel releases. The vendor advisory confirms multiple Linux kernel security fixes including this one.
References
- ubuntu.com/security/CVE-2025-40334 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-40334 (opens in a new tab)
- git.kernel.org/linus/9e46b8bb0539d7bc9a9e7b3072fa4f6082490392 (opens in a new tab)
- git.kernel.org/stable/c/5a577de86c4a1c67ca405571d6ef84e65c6897d1 (opens in a new tab)
- git.kernel.org/stable/c/9e46b8bb0539d7bc9a9e7b3072fa4f6082490392 (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8030-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8048-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-3 (opens in a new tab)