CVE-2025-21940

published 1 Apr 2025 · updated 11 May 2026

drm/amdkfd: Fix NULL Pointer Dereference in KFD queue

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 33eb8041c5d6c19d46e7bfd23a031844336afd80, Kernel c3cbeafb4e0001d9146df50b470885e02664f3c7 and Kernel fd617ea3b79d2116d53f76cdb5a3601c0ba6e42f.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.12, >=629568d25fea8ece4f65073f039aeef4e240ab67 <33eb8041c5d6c19d46e7bfd23a031844336afd80, >=629568d25fea8ece4f65073f039aeef4e240ab67 <c3cbeafb4e0001d9146df50b470885e02664f3c7, >=629568d25fea8ece4f65073f039aeef4e240ab67 <fd617ea3b79d2116d53f76cdb5a3601c0ba6e42f33eb8041c5d6c19d46e7bfd23a031844336afd80, c3cbeafb4e0001d9146df50b470885e02664f3c7, fd617ea3b79d2116d53f76cdb5a3601c0ba6e42f

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-21940 severity on Zeptric[![CVE-2025-21940](https://zeptric.io/badge/cve/CVE-2025-21940.svg)](https://zeptric.io/cve/CVE-2025-21940)