← All Advisories
Reported from OT-Advisories.com as of

Linux Kernel accel/rocket: Failure to Fix UAF via dangling GEM handle in create_bo

Last refreshed2026-11-16

Status: UPDATED  |  Advisory ID: CVE-2026-64008

Key Details

CVECVE-2026-64008
CVSS Score / Version
7.8 (High) / CVSS v3.1
Updated2026-10-02
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is local; attack complexity is low; privileges required is low; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
Linux Kernel
Classified as
CWE-416 (Use After Free)
Exploitation prediction (EPSS)
0.17% probability of exploitation in the next 30 days (7% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

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] (NVD)

What to Do

Monitor Linux's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-64008
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-64008
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.