CVE Catalog

CVE-2026-64008

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.13%

3th percentile - higher than 3% of all known CVEs

Summary

In the Linux kernel's rocket driver, a use-after-free (UAF) vulnerability was found due to a dangling GEM handle left after a failed buffer object creation. The bug occurs when rocket_ioctl_create_bo() creates a GEM handle before performing fallible operations, and on error frees the object without removing the handle from the IDR.

Risk Assessment

An attacker could exploit the dangling handle to access freed kernel memory, potentially leading to privilege escalation or information disclosure.

Recommendation

Immediately update the Linux kernel to a version containing the fix that moves GEM handle creation to the very end of the function, after all fallible operations succeed.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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]

Vulnerability data from NVD (NIST) · CISA KEV · EPSS