What’s Vulnerable › Vulnerabilities
CVE-2025-21940: drm/amdkfd: Fix NULL Pointer Dereference in KFD queue
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-04-01 · updated 2026-06-17
- Weakness: CWE-476
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Fix NULL Pointer Dereference in KFD queue Through KFD IOCTL Fuzzing we encountered a NULL pointer derefrence when calling kfd_queue_acquire_buffers. (cherry picked from commit 049e5bf3c8406f87c3d8e1958e0a16804fa1d530)
Affected products
- Linux kernel: from 6.12 before 6.12.19; from 6.13 before 6.13.7; 6.14-rc1, 6.14-rc2, 6.14-rc3, 6.14-rc4, 6.14-rc5 — fixed in 6.12.19, 6.13.7
How to fix
Upgrade to a fixed version: Linux kernel 6.12.19, 6.13.7. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/33eb8041c5d6c19d46e7bfd23a031844336afd80
- https://git.kernel.org/stable/c/c3cbeafb4e0001d9146df50b470885e02664f3c7
- https://git.kernel.org/stable/c/fd617ea3b79d2116d53f76cdb5a3601c0ba6e42f
Get alerted when CVE-2025-21940 or the next vulnerability affects your stack