CVE-2026-64008
published high CVSS 3.1 · 7.8accel/rocket: fix UAF via dangling GEM handle in create_bo
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux658ebeac33517bd3169d4b65ed801e9065d0211a to < 18abd88d19ea195e2e1547fca0970c2f91d77a42 · 658ebeac33517bd3169d4b65ed801e9065d0211a to < 451f1ccbbdb7b65021646704b15902655f8d228a · 658ebeac33517bd3169d4b65ed801e9065d0211a to < f706e6a4ce75585af979aec3dcbdce68bc76306b · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.18 (affected) · 0 to < 6.18 (unaffected · semver) · 6.18.35 through 6.18.* (unaffected · semver) · 7.0.12 through 7.0.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | noble | linux-azure-7.0 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-azure-7.0-cloud-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-azure-7.0-headers-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-azure-7.0-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1016-nvidia | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1016-nvidia-64k | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-gcp-7.0 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-gcp-7.0-headers-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-gcp-7.0-tools-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-headers-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-headers-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-headers-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-headers-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-headers-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-headers-7.0.0-1016-nvidia | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-headers-7.0.0-1016-nvidia-64k | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1016-nvidia | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1016-nvidia-64k | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-modules-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-modules-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-modules-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-modules-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-modules-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-modules-7.0.0-1016-nvidia | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-modules-7.0.0-1016-nvidia-64k | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-modules-iwlwifi-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-modules-nvidia-fs-7.0.0-1016-nvidia | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-modules-nvidia-fs-7.0.0-1016-nvidia-64k | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-nvidia-7.0 | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-nvidia-7.0-headers-7.0.0-1016 | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-nvidia-7.0-tools-7.0.0-1016 | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-oracle-7.0 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-oracle-7.0-headers-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-oracle-7.0-tools-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-tools-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-tools-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-tools-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-tools-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-tools-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-tools-7.0.0-1016-nvidia | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-tools-7.0.0-1016-nvidia-64k | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | resolute | linux-aws | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-aws-cloud-tools-7.0.0-1009 | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-aws-headers-7.0.0-1009 | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-aws-tools-7.0.0-1009 | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-azure | Advisory build | 7.0.0-1010.10 | USN-8603-1 |
| Ubuntu | resolute | linux-azure-cloud-tools-7.0.0-1010 | Advisory build | 7.0.0-1010.10 | USN-8603-1 |
| Ubuntu | resolute | linux-azure-fde | Advisory build | 7.0.0-1009.9 | USN-8603-1 |
| Ubuntu | resolute | linux-azure-fde-cloud-tools-7.0.0-1009 | Advisory build | 7.0.0-1009.9 | USN-8603-1 |
| Ubuntu | resolute | linux-azure-fde-headers-7.0.0-1009 | Advisory build | 7.0.0-1009.9 | USN-8603-1 |
| Ubuntu | resolute | linux-azure-fde-tools-7.0.0-1009 | Advisory build | 7.0.0-1009.9 | USN-8603-1 |
| Ubuntu | resolute | linux-azure-headers-7.0.0-1010 | Advisory build | 7.0.0-1010.10 | USN-8603-1 |
| Ubuntu | resolute | linux-azure-tools-7.0.0-1010 | Advisory build | 7.0.0-1010.10 | USN-8603-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1008-oracle | Advisory build | 7.0.0-1008.8 | USN-8593-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1008-oracle-64k | Advisory build | 7.0.0-1008.8 | USN-8593-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1009-aws | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1009-aws-64k | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1009-azure-fde | Advisory build | 7.0.0-1009.9 | USN-8603-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1010-azure | Advisory build | 7.0.0-1010.10 | USN-8603-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1010-ibm | Advisory build | 7.0.0-1010.10 | USN-8593-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1015-raspi | Advisory build | 7.0.0-1015.15 | USN-8618-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1015-raspi-realtime | Advisory build | 7.0.0-1015.15 | USN-8618-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1016-nvidia | Advisory build | 7.0.0-1016.16 | USN-8663-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1016-nvidia-64k | Advisory build | 7.0.0-1016.16 | USN-8663-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-2016-nvidia-bos | Advisory build | 7.0.0-2016.16 | USN-8664-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-2016-nvidia-bos-64k | Advisory build | 7.0.0-2016.16 | USN-8664-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-1009-aws | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-1009-aws-64k | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-1009-azure-fde | Advisory build | 7.0.0-1009.9 | USN-8603-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-1010-azure | Advisory build | 7.0.0-1010.10 | USN-8603-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1008-oracle | Advisory build | 7.0.0-1008.8 | USN-8593-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1008-oracle-64k | Advisory build | 7.0.0-1008.8 | USN-8593-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1009-aws | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1009-aws-64k | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1009-azure-fde | Advisory build | 7.0.0-1009.9 | USN-8603-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1010-azure | Advisory build | 7.0.0-1010.10 | USN-8603-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1010-ibm | Advisory build | 7.0.0-1010.10 | USN-8593-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1015-raspi | Advisory build | 7.0.0-1015.15 | USN-8618-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1015-raspi-realtime | Advisory build | 7.0.0-1015.15 | USN-8618-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1016-nvidia | Advisory build | 7.0.0-1016.16 | USN-8663-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1016-nvidia-64k | Advisory build | 7.0.0-1016.16 | USN-8663-1 |
| Ubuntu | resolute | linux-headers-7.0.0-2016-nvidia-bos | Advisory build | 7.0.0-2016.16 | USN-8664-1 |
| Ubuntu | resolute | linux-headers-7.0.0-2016-nvidia-bos-64k | Advisory build | 7.0.0-2016.16 | USN-8664-1 |
| Ubuntu | resolute | linux-ibm | Advisory build | 7.0.0-1010.10 | USN-8593-1 |
| Ubuntu | resolute | linux-ibm-headers-7.0.0-1010 | Advisory build | 7.0.0-1010.10 | USN-8593-1 |
| Ubuntu | resolute | linux-ibm-tools-7.0.0-1010 | Advisory build | 7.0.0-1010.10 | USN-8593-1 |
| Ubuntu | resolute | linux-image-7.0.0-1015-raspi | Advisory build | 7.0.0-1015.15 | USN-8618-1 |
| Ubuntu | resolute | linux-image-7.0.0-1015-raspi-realtime | Advisory build | 7.0.0-1015.15 | USN-8618-1 |
| Ubuntu | resolute | linux-image-unsigned-7.0.0-1008-oracle | Advisory build | 7.0.0-1008.8 | USN-8593-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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]
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The bug is reached only through DRM ioctls on the local /dev/accel/accel* character device; there is no network, adjacent-wireless, or physical bus path to rocket_ioctl_create_bo(). AC:L - An attacker fully controls both steps—forcing CREATE_BO to fail after handle insertion (e.g., by exhausting the per-fd IOMMU drm_mm aperture or triggering sgt/iommu_map errors) and then issuing PREP_BO/FINI_BO/SUBMIT with the returned dangling handle—without depending on external timing or victim state. PR:L - All rocket ioctls are registered with DRM_IOCTL_DEF_DRV flags 0 (no DRM_ROOT_ONLY/DRM_AUTH/DRM_MASTER), requiring only the ability to open the accel device node, which is standard unprivileged local access on RK3588 edge-AI/embedded systems running ML workloads. UI:N - Exploitation requires no action from a separate victim; the attacker creates the dangling handle and triggers the UAF through their own ioctl sequence on a device they opened. S:U - Impact is kernel heap UAF leading to local privilege escalation or crash within the same kernel security authority; it is not a VM escape, IOMMU DMA-boundary bypass, or cross-hypervisor attack. C:H - The dangling GEM handle causes use-after-free of a kmalloc'd rocket_gem_object; subsequent lookups dereference freed slab memory (resv, sgt, mm node fields), enabling arbitrary kernel memory read via heap grooming. I:H - UAF on the GEM object structure allows heap spraying to corrupt kernel metadata and control flow; the SUBMIT ioctl path further processes corrupted BO pointers for NPU job scheduling, supporting arbitrary write and code execution primitives. A:H - UAF dereferences in PREP_BO/FINI_BO/SUBMIT reliably cause kernel oops/panic, and the dangling-handle condition is repeatable for sustained denial of service.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 658ebeac33517bd3169d4b65ed801e9065d0211a to < 18abd88d19ea195e2e1547fca0970c2f91d77a42 (affected · git)658ebeac33517bd3169d4b65ed801e9065d0211a to < 451f1ccbbdb7b65021646704b15902655f8d228a (affected · git)658ebeac33517bd3169d4b65ed801e9065d0211a to < f706e6a4ce75585af979aec3dcbdce68bc76306b (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.18 (affected)0 to < 6.18 (unaffected · semver)6.18.35 through 6.18.* (unaffected · semver)7.0.12 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
accel/rocket: fix UAF via dangling GEM handle in create_bo
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 81e66d211aebe6124ed0b6aad5def2f49034574d52f5297dbe00838d4daef767
- Ingested
- 23 Sep 2026, 09:25:47 UTC
- Source record
- Official CVE record