جزئیات آسیب‌پذیری

CVE-2026-64008

Linux Linux

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

CVSS 3.1
7.8بالا

شرح رسمی (انگلیسی)

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]

امتیازهای CVSS

امتیازنسخهمنبعبردار
7.8بالا 3.1 CVEProject cvelistV5 (CNA) (Linux) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

محصولات آسیب‌پذیر

فروشندهمحصولنسخه‌هامنبع
Linux Linux 6.18 CVEProject cvelistV5 (CNA)
Linux Linux 658ebeac33517bd3169d4b65ed801e9065d0211a ≤ v < 18abd88d19ea195e2e1547fca0970c2f91d77a42 CVEProject cvelistV5 (CNA)
Linux Linux 658ebeac33517bd3169d4b65ed801e9065d0211a ≤ v < 451f1ccbbdb7b65021646704b15902655f8d228a CVEProject cvelistV5 (CNA)
Linux Linux 658ebeac33517bd3169d4b65ed801e9065d0211a ≤ v < f706e6a4ce75585af979aec3dcbdce68bc76306b CVEProject cvelistV5 (CNA)

منابع و راهنماها

۳
هشدار CVEهای بعدی این محصولمحصول را دنبال کنید تا آسیب‌پذیری‌های تازه را در تلگرام بگیرید.

اطلاعات

تاریخ انتشار
۱۴۰۵/۰۴/۲۸
آخرین به‌روزرسانی
۱۴۰۵/۰۵/۱۴
وضعیت
منتشرشده
صادرکننده (CNA)
Linux

پیش‌بینی بهره‌برداری (EPSS)

۰٫۱۷٪
احتمال بهره‌برداری در ۳۰ روز
۶٫۷٪
صدک (نسبت به همه‌ی CVEها)

ضعف‌ها (CWE)

  • —