✗ CI.checkpatch: warning for Some more xe_migrate_access_memory fixes

Patchwork patchwork at emeril.freedesktop.org
Wed Jul 30 17:11:41 UTC 2025


== Series Details ==

Series: Some more xe_migrate_access_memory fixes
URL   : https://patchwork.freedesktop.org/series/152297/
State : warning

== 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
c298eac5978c38dcc62a70c0d73c91765e7cc296
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit eb8898a9e95d2be6e59de098b06b85a0f43a669f
Author: Matthew Auld <matthew.auld at intel.com>
Date:   Wed Jul 30 15:33:39 2025 +0100

    drm/xe/migrate: prevent potential UAF
    
    If we hit the error path, the previous fence (if there is one) has
    already been put() prior to this, so doing a fence_wait could lead to
    UAF. Tweak the flow to do to the put() until after we do the wait.
    
    Fixes: 270172f64b11 ("drm/xe: Update xe_ttm_access_memory to use GPU for non-visible access")
    Signed-off-by: Matthew Auld <matthew.auld at intel.com>
    Cc: Maciej Patelczyk <maciej.patelczyk at intel.com>
    Cc: Matthew Brost <matthew.brost at intel.com>
+ /mt/dim checkpatch e1805ad9a7175457902ae453ea67b76194e7d796 drm-intel
7fc39d1a0182 drm/xe/migrate: prevent infinite recursion
98b5d3408d25 drm/xe/migrate: don't overflow max copy size
-:11: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#11: 
xe 0000:03:00.0: [drm] Assertion `size / pitch <= ((s16)(((u16)~0U) >> 1))` failed!

total: 0 errors, 1 warnings, 0 checks, 12 lines checked
eb8898a9e95d drm/xe/migrate: prevent potential UAF




More information about the Intel-xe mailing list