✗ CI.checkpatch: warning for Some more xe_migrate_access_memory fixes (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Thu Jul 31 10:50:27 UTC 2025
== Series Details ==
Series: Some more xe_migrate_access_memory fixes (rev2)
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 93e348d767e58a20b3bfc784f534e4eb8482d109
Author: Matthew Auld <matthew.auld at intel.com>
Date: Thu Jul 31 10:38:11 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>
Reviewed-by: Stuart Summers <stuart.summers at intel.com>
+ /mt/dim checkpatch 7f74ca5c75dd28bc57d5ea1be165919bc70609d8 drm-intel
50aeca156e40 drm/xe/migrate: prevent infinite recursion
b028279263c7 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
93e348d767e5 drm/xe/migrate: prevent potential UAF
More information about the Intel-xe
mailing list