CVE-2026-53144

Source
https://cve.org/CVERecord?id=CVE-2026-53144
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53144.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-53144
Downstream
Published
2026-06-25T08:38:31.569Z
Modified
2026-07-09T03:51:18.458013675Z
Summary
drm/amdkfd: fix NULL dereference in get_queue_ids()
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/amdkfd: fix NULL dereference in getqueueids()

When usrqueueidarray is NULL and numqueues is non-zero, getqueueids() returns NULL. The callers check only ISERR() on the return value; since ISERR(NULL) == false the check passes, and suspendqueues() calls qarrayinvalidate() which immediately dereferences NULL while iterating numqueues times.

Userspace can trigger this via kfdioctlsetdebugtrap() by supplying numqueues > 0 with a zero queuearray_ptr, causing a kernel panic.

A NULL usrqueueidarray with numqueues == 0 is a legitimate no-op (qarrayinvalidate never executes, and resumequeues already guards all queueids dereferences behind a NULL check). Return ERRPTR(-EINVAL) only when numqueues is non-zero and the pointer is absent; both callers already propagate IS_ERR() returns correctly to userspace.

(cherry picked from commit f165a82cdf503884bb1797771c61b2fcc72113d4)

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53144.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a70a93fa568b4f05aba548dadb673703eccf5480
Fixed
62bd09e23a23da70f9aae02748eba3e6bd93095d
Fixed
daeceb0fe2a19651c58bbfa3d9d515ecb6ca8996
Fixed
72e259a32084c42816152c346096d2edd4213e23
Fixed
e1965e8913cfbf17622ca12638e7a07f68ba0848
Fixed
2bd550b547deabef98bd3b017ff743b7c34d3a6d

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53144.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.5.0
Fixed
6.6.143
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.94
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.36
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.13

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53144.json"