VDB

CVE-2026-64008

CVE-2026-64008 PUBLISHED CVSS 7.8 HIGH

accel/rocket: fix UAF via dangling GEM handle in create_bo

Reported by linux · Published July 19, 2026

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]

EPSS 0.17% · 6.8th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux7.0.12, 6.18.35

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.17%
6.8th percentile

Affected products

VendorProductVersions
LinuxLinux658ebeac33517bd3169d4b65ed801e9065d0211a, 658ebeac33517bd3169d4b65ed801e9065d0211a, 658ebeac33517bd3169d4b65ed801e9065d0211a
LinuxLinux6.18, 0, 6.18.35
linuxlinux_kernel6.18, 6.18, 6.18
LinuxLinux658ebeac33517bd3169d4b65ed801e9065d0211a, 658ebeac33517bd3169d4b65ed801e9065d0211a, 658ebeac33517bd3169d4b65ed801e9065d0211a

Timeline

  • Jul 19, 2026 CVE Published
  • Jul 20, 2026 Coalition ESS Score
  • Jul 20, 2026 Security Advisory (31 in total, the first dated here)
  • Aug 7, 2026 EPSS Score (12 in total, the first dated here)
  • Aug 12, 2026 Distribution Patch (30 in total, the first dated here)
  • Oct 2, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-64008
vulnetix vdb fixes CVE-2026-64008

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64008/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›