CVE-2026-64008·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: accel/rocket: fix UAF via dangling GEM handle in create_bo rocket_ioctl_create_bo() inserts a GEM handle into the file's IDR via drm_gem_handle_create() early on, then performs several operations that can fail (sgt allocation, drm_mm insert, iommu_map). If any fail after the handle is live, the error path calls drm_gem_shmem_object_free() which kfree's the object without removing the handle from the IDR. This leaves a dangling handle pointing to freed slab memory. Any subsequent ioctl using that handle (PREP_BO, FINI_BO, SUBMIT) calls drm_gem_object_lookup() and dereferences freed memory (UAF). Fix by moving drm_gem_handle_create() to after all fallible operations succeed, matching the pattern used by panfrost, lima, and etnaviv. Also fix drm_mm_insert_node_generic() whose return value was silently overwritten by iommu_map_sgtable() on the next line. Add the missing error check. [tomeu: Move handle creation to the very end]
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.0.12
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.17% — higher than 6% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-64008 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.17%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 7.0.12
Fixed in: 7.0.12
How to fix this CVE
Update your Linux kernel to version 7.0.12 or later to resolve a use-after-free vulnerability in the Rocket accelerator driver's memory object creation routine. The vulnerability occurs when GEM handle creation happens before resource allocation validation, potentially leaving dangling references to freed memory. Apply the kernel update and reboot your system to ensure the patch is active.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r
- Verify if accel/rocket module is loaded: lsmod | grep rocket
- Confirm vulnerability status: if kernel version is between 6.19 and 7.0.11, the system is vulnerable
- After applying patches, rerun uname -r to confirm kernel is at 7.0.12 or later and verify module loads cleanly with dmesg | grep rocket
FAQ
What is CVE-2026-64008?
This vulnerability is a use-after-free flaw in the Linux kernel's Rocket GPU accelerator driver where GEM object handles are exposed to userspace before resource allocation validations complete, allowing freed memory to be dereferenced through subsequent IOCTLs.
Is CVE-2026-64008 being actively exploited?
No, CVE-2026-64008 is not listed in the CISA Known Exploited Vulnerabilities catalog, and no public exploits are currently available.
What versions of Kernel are affected by CVE-2026-64008?
Linux kernel versions 6.19 through 7.0.11 are vulnerable; kernel 7.0.12 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-64008?
Run 'uname -r' and compare the kernel version against 7.0.12; if your version is 6.19-7.0.11, you are vulnerable. Additionally, check if the Rocket accelerator driver is in use with 'lsmod | grep rocket'.
Does Defensia detect CVE-2026-64008?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-64008 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-64008. Free for 1 server.
Get started free