Hi Bilal,
On Sat, Nov 28, 2026 at 10:03:53PM +0800, Bilal Hashim wrote:
> Move `mm` and `mm_lock` from `struct rocket_file_priv` into the
> already-refcounted `struct rocket_iommu_domain` (which is held by every
> `rocket_gem_object` until `rocket_gem_bo_free()` finishes unmapping and
> removing the node), drop `bo->driver_priv`, and release `rkt_obj->domain`
> on the `rocket_ioctl_create_bo()` error path.
Both issues have already been fixed in drm-misc-fixes:
- commit c3fe8795ecd8 ("accel/rocket: Fix drm_mm UAF on close vs in-flight job")
https://patch.msgid.link/[email protected]
- commit 90035d3f26e0 ("accel/rocket: put IOMMU domain on BO creation failure")
https://patch.msgid.link/[email protected]
Thanks,
Sidong