Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.
Linux Linux — amdkfd: properly free gang_ctx_bo when failed to init user queue
AV AC PR UI S C I A CVSS EPSS %ile KEV
L L L N U N N H 5.5 .0024 14.7 —
AFFECTED
Product Versions Fixed
Linux fb91065851cd5f2735348c5f3eddeeca3d7c2973 – —
Linux 6.12 – 6.12.16
TIMELINE
Dec 29 Reserved by Linux
Mar 7 Published (CNA: Linux)
Jul 30 RESCORED — CVE-2025-21842 (Linux). CVSS 7.8 → 5.5 (NVD).
Description
In the Linux kernel, the following vulnerability has been resolved:
amdkfd: properly free gang_ctx_bo when failed to init user queue
The destructor of a gtt bo is declared as
void amdgpu_amdkfd_free_gtt_mem(struct amdgpu_device *adev, void **mem_obj);
Which takes void** as the second parameter.
GCC allows passing void* to the function because void* can be implicitly
casted to any other types, so it can pass compiling.
However, passing this void* parameter into the function's
execution process(which expects void** and dereferencing void**)
will result in errors.
Lifecycle
Complete event history — 3 events, chronological
| Date | Event | Detail |
| December 29, 2024 | Reserved | Reserved by Linux |
| March 7, 2025 | Published | Published (CNA: Linux) |
| July 30, 2026 | RESCORED | RESCORED — CVE-2025-21842 (Linux). CVSS 7.8 → 5.5 (NVD). |
Affected
Affected products and packages — 2 rows
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| Linux | Linux | — | fb91065851cd5f2735348c5f3eddeeca3d7c2973 | — |
| Linux | Linux | — | 6.12 | 6.12.16 |
About this page
This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2025-21842 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.