✓ CI.checkpatch: success for drm/xe: fix UAF around queue destruction

Patchwork patchwork at emeril.freedesktop.org
Fri Sep 20 17:58:25 UTC 2024


== Series Details ==

Series: drm/xe: fix UAF around queue destruction
URL   : https://patchwork.freedesktop.org/series/138931/
State : success

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
30ab6715fc09baee6cc14cb3c89ad8858688d474
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit e829d87aff84b61259137ef67fafef25dd2d41e2
Author: Matthew Auld <matthew.auld at intel.com>
Date:   Fri Sep 20 18:26:00 2024 +0100

    drm/xe: fix UAF around queue destruction
    
    We currently do stuff like queuing the final destruction step on a
    random system wq, which will outlive the driver instance. With bad
    timing we can teardown the driver with one or more work workqueue still
    being alive leading to various UAF splats. Add a fini step to ensure
    user queues are properly torn down. At this point GuC should already be
    nuked so queue itself should no longer be referenced from hw pov.
    
    Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/2317
    Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
    Signed-off-by: Matthew Auld <matthew.auld at intel.com>
    Cc: Matthew Brost <matthew.brost at intel.com>
    Cc: <stable at vger.kernel.org> # v6.8+
+ /mt/dim checkpatch 128ccc5f71d7b9d84ce8f0651aa713ae490f4990 drm-intel
e829d87aff84 drm/xe: fix UAF around queue destruction




More information about the Intel-xe mailing list